Klaudio Sinani
a3d88ea27c
SONAR-15631 - Refactor UTs to stop using ExpectedException
il y a 2 ans
Wouter Admiraal
0f33764b53
Update license headers for 2021 [update headers]
il y a 3 ans
Wouter Admiraal
3f6f549627
Format all headers for 2020
il y a 4 ans
Duarte Meneses
d1fd889554
Fix code quality issues and reduce dependency on Guava
il y a 4 ans
Duarte Meneses
f8242a14c8
SONAR-11464 Only load files from Scanner Report
il y a 5 ans
Duarte Meneses
6cb9e95dcb
Fix license headers for 2019
il y a 5 ans
Duarte Meneses
59be49ed6f
Replace guava optional with java.util.Optional
il y a 5 ans
Duarte Meneses
500ded18cf
SONAR-11151 Use changed lines in the Scanner report to calculate metrics concerning new code
il y a 5 ans
Sébastien Lesaint
119cacc37e
rename to package org.sonar.ce.task.projectanalysis
from package org.sonar.server.computation.task.projectanalysis
il y a 6 ans
Sébastien Lesaint
25b60cdab5
create module sonar-ce-task-projectanalysis from sonar-server
il y a 6 ans
Julien Lancelot
d13e2d9a08
SONAR-9384 Fix computation of project without src but with test measures
il y a 6 ans
Simon Brandhof
d55f047c44
Cleanup code based on Intellij inspections
il y a 6 ans
Simon Brandhof
c0d2705e61
Fix license headers for 2018
il y a 6 ans
Teryk Bellahsene
cfa372a57a
SONAR-8637 Update POM parent version
il y a 7 ans
Julien Lancelot
979b2d2685
SONAR-8743 Rename PeriodsHolder to PeriodHolder
il y a 7 ans
Julien Lancelot
ac37b5725a
SONAR-8743 Remove useless methods from PeriodHolder
il y a 7 ans
Julien Lancelot
444a92e271
SONAR-8743 Remove MeasureVariations from XXXVariationValue classes
il y a 7 ans
Julien Lancelot
16fde3e774
SONAR-8282 Clean up code related to removal of IT/overall coverage
il y a 7 ans
Sébastien Lesaint
fd7a43bbe2
refactor computation package to make clean split between CE and task
il y a 7 ans
Simon Brandhof
129eab1c1e
SONAR-7780 Stop using PROJECT_MEASURES.SNAPSHOT_ID
il y a 8 ans
Simon Brandhof
f5d3461ffd
Fix project title in copyright headers
il y a 8 ans
Simon Brandhof
6be98b208a
Upgrade to parent 26 and new copyright headers
il y a 8 ans
Sébastien Lesaint
6e5e545113
SONAR-6827 now formula init. on other than FILE and PROJECT_VIEW
they now will be initialized on Component which have no child, usually FILE and PROJECT_VIEW, but also empty VIEW or SUB_VIEW
il y a 8 ans
Sébastien Lesaint
fa8f525260
rename Counter#aggregate(LeafContext) to initialize(InitContext)
this emphasis that this is really an initialization method and that it can be called on FILE or PROJECT_VIEW component but also, in the futur on a SUBVIEW (case of processing of partial trees of Views Components)
il y a 8 ans
Sébastien Lesaint
3af6ce9f5d
make Formulas support Views Component tree
il y a 8 ans
Sébastien Lesaint
df279e84e4
rename FileAggregateContext to LeafAggregateContext
il y a 8 ans
Sébastien Lesaint
b9807f7322
finish splitting Crawler and Visitor of CE Component trees
il y a 8 ans
Sébastien Lesaint
a1feea20dd
rename DumbComponent to ReportComponent
il y a 8 ans
Sébastien Lesaint
3bc9089b44
add Component#getReportAttributes()
this is a preparatory change to add support for Views components in CE's Component interface
remove Component#getRef and Component#getVersion
il y a 8 ans
Julien Lancelot
5adcb11906
Rename Visitor to Crawler
il y a 8 ans
Julien Lancelot
f8751f55b5
Re-introduce usage of toEntries() and entryOf()
il y a 9 ans
Julien Lancelot
476bdc68a0
Rename getNewMeasureXXX by getAddedMeasureXXX
il y a 9 ans
Julien Lancelot
e3cdda4101
Update tests that were badly based on Measure.equals()
As Measure.equals()/hashcode() does not contains values, variations, etc., tests should do assertion directly on what they want to check : int value, double value, data, variations, etc.
il y a 9 ans
Sébastien Lesaint
e6b5914226
extend Formula to be able to generate more than one measure
il y a 9 ans
Sébastien Lesaint
a90d9e4497
add Component to contexts in Formula API
also rename context to be more specific
add Component to the API make it more versatile
il y a 9 ans
Sébastien Lesaint
7c7c9b5047
fix VariationValue, avoid the int index pitfall by using the Period class directly
il y a 9 ans
Sébastien Lesaint
d603b0e328
add FormulaExecutorComponentVisitor + variation aggregation support
FormulaExecutorComponentVisitor allows having any step execute Formula
Formula can now do aggregation of MeasureVariation values
also renamed FormulaRepository to CoreFormulaRepository and ComputeFormulaMeasuresStep to CoreMetricFormulaExecutorStep
il y a 9 ans