Klaudio Sinani
a3d88ea27c
SONAR-15631 - Refactor UTs to stop using ExpectedException
2 years ago
Wouter Admiraal
0f33764b53
Update license headers for 2021 [update headers]
3 years ago
Wouter Admiraal
3f6f549627
Format all headers for 2020
4 years ago
Duarte Meneses
d1fd889554
Fix code quality issues and reduce dependency on Guava
4 years ago
Duarte Meneses
f8242a14c8
SONAR-11464 Only load files from Scanner Report
5 years ago
Duarte Meneses
6cb9e95dcb
Fix license headers for 2019
5 years ago
Duarte Meneses
59be49ed6f
Replace guava optional with java.util.Optional
5 years ago
Duarte Meneses
500ded18cf
SONAR-11151 Use changed lines in the Scanner report to calculate metrics concerning new code
5 years ago
Sébastien Lesaint
119cacc37e
rename to package org.sonar.ce.task.projectanalysis
from package org.sonar.server.computation.task.projectanalysis
6 years ago
Sébastien Lesaint
25b60cdab5
create module sonar-ce-task-projectanalysis from sonar-server
6 years ago
Julien Lancelot
d13e2d9a08
SONAR-9384 Fix computation of project without src but with test measures
6 years ago
Simon Brandhof
d55f047c44
Cleanup code based on Intellij inspections
6 years ago
Simon Brandhof
c0d2705e61
Fix license headers for 2018
6 years ago
Teryk Bellahsene
cfa372a57a
SONAR-8637 Update POM parent version
7 years ago
Julien Lancelot
979b2d2685
SONAR-8743 Rename PeriodsHolder to PeriodHolder
7 years ago
Julien Lancelot
ac37b5725a
SONAR-8743 Remove useless methods from PeriodHolder
7 years ago
Julien Lancelot
444a92e271
SONAR-8743 Remove MeasureVariations from XXXVariationValue classes
7 years ago
Julien Lancelot
16fde3e774
SONAR-8282 Clean up code related to removal of IT/overall coverage
7 years ago
Sébastien Lesaint
fd7a43bbe2
refactor computation package to make clean split between CE and task
7 years ago
Simon Brandhof
129eab1c1e
SONAR-7780 Stop using PROJECT_MEASURES.SNAPSHOT_ID
8 years ago
Simon Brandhof
f5d3461ffd
Fix project title in copyright headers
8 years ago
Simon Brandhof
6be98b208a
Upgrade to parent 26 and new copyright headers
8 years ago
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
8 years ago
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)
8 years ago
Sébastien Lesaint
3af6ce9f5d
make Formulas support Views Component tree
8 years ago
Sébastien Lesaint
df279e84e4
rename FileAggregateContext to LeafAggregateContext
8 years ago
Sébastien Lesaint
b9807f7322
finish splitting Crawler and Visitor of CE Component trees
8 years ago
Sébastien Lesaint
a1feea20dd
rename DumbComponent to ReportComponent
8 years ago
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
8 years ago
Julien Lancelot
5adcb11906
Rename Visitor to Crawler
8 years ago
Julien Lancelot
f8751f55b5
Re-introduce usage of toEntries() and entryOf()
8 years ago
Julien Lancelot
476bdc68a0
Rename getNewMeasureXXX by getAddedMeasureXXX
8 years ago
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.
8 years ago
Sébastien Lesaint
e6b5914226
extend Formula to be able to generate more than one measure
8 years ago
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
9 years ago
Sébastien Lesaint
7c7c9b5047
fix VariationValue, avoid the int index pitfall by using the Period class directly
9 years ago
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
9 years ago