]> source.dussan.org Git - sonarqube.git/commit
SONAR-6827 now formula init. on other than FILE and PROJECT_VIEW
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 2 Oct 2015 15:08:40 +0000 (17:08 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 6 Oct 2015 07:46:04 +0000 (09:46 +0200)
commit6e5e545113a0aa7d8c6296e5fa8edfef65dec639
tree6183345469a5a6ebe7372d832997a5fd54ba6d32
parentc19116e2b378845ec91805ad60a880e8032fb586
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
server/sonar-server/src/main/java/org/sonar/server/computation/formula/FormulaExecutorComponentVisitor.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/ElementsAndCoveredElementsCounter.java
server/sonar-server/src/main/java/org/sonar/server/computation/formula/coverage/ElementsAndCoveredElementsVariationCounter.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/ReportFormulaExecutorComponentVisitorTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/ViewsFormulaExecutorComponentVisitorTest.java