@@ -9,50 +9,50 @@ class SummaryWriter extends SummaryProvider
99 public function getReport ()
1010 {
1111 $ out = <<<EOT
12- LOC
13- Lines of code {$ this ->sum ->loc }
14- Logical lines of code {$ this ->sum ->lloc }
15- Comment lines of code {$ this ->sum ->cloc }
16- Average volume {$ this ->avg ->volume }
17- Average comment weight {$ this ->avg ->commentWeight }
18- Average intelligent content {$ this ->avg ->commentWeight }
19- Logical lines of code by class {$ this ->locByClass }
20- Logical lines of code by method {$ this ->locByMethod }
21- Object oriented programming
22- Classes {$ this ->sum ->nbClasses }
23- Interface {$ this ->sum ->nbInterfaces }
24- Methods {$ this ->sum ->nbMethods }
25- Methods by class {$ this ->methodsByClass }
26- Lack of cohesion of methods {$ this ->avg ->lcom }
12+ LOC
13+ Lines of code {$ this ->sum ->loc }
14+ Logical lines of code {$ this ->sum ->lloc }
15+ Comment lines of code {$ this ->sum ->cloc }
16+ Average volume {$ this ->avg ->volume }
17+ Average comment weight {$ this ->avg ->commentWeight }
18+ Average intelligent content {$ this ->avg ->commentWeight }
19+ Logical lines of code by class {$ this ->locByClass }
20+ Logical lines of code by method {$ this ->locByMethod }
21+ Object oriented programming
22+ Classes {$ this ->sum ->nbClasses }
23+ Interface {$ this ->sum ->nbInterfaces }
24+ Methods {$ this ->sum ->nbMethods }
25+ Methods by class {$ this ->methodsByClass }
26+ Lack of cohesion of methods {$ this ->avg ->lcom }
2727
28- Coupling
29- Average afferent coupling {$ this ->avg ->afferentCoupling }
30- Average efferent coupling {$ this ->avg ->efferentCoupling }
31- Average instability {$ this ->avg ->instability }
32- Depth of Inheritance Tree {$ this ->treeInheritenceDepth }
28+ Coupling
29+ Average afferent coupling {$ this ->avg ->afferentCoupling }
30+ Average efferent coupling {$ this ->avg ->efferentCoupling }
31+ Average instability {$ this ->avg ->instability }
32+ Depth of Inheritance Tree {$ this ->treeInheritenceDepth }
3333
34- Package
35- Packages {$ this ->sum ->nbPackages }
36- Average classes per package {$ this ->avg ->classesPerPackage }
37- Average distance {$ this ->avg ->distance }
38- Average incoming class dependencies {$ this ->avg ->incomingCDep }
39- Average outgoing class dependencies {$ this ->avg ->outgoingCDep }
40- Average incoming package dependencies {$ this ->avg ->incomingPDep }
41- Average outgoing package dependencies {$ this ->avg ->outgoingPDep }
42- Complexity
43- Average Cyclomatic complexity by class {$ this ->avg ->ccn }
44- Average Weighted method count by class {$ this ->avg ->wmc }
45- Average Relative system complexity {$ this ->avg ->relativeSystemComplexity }
46- Average Difficulty {$ this ->avg ->difficulty }
34+ Package
35+ Packages {$ this ->sum ->nbPackages }
36+ Average classes per package {$ this ->avg ->classesPerPackage }
37+ Average distance {$ this ->avg ->distance }
38+ Average incoming class dependencies {$ this ->avg ->incomingCDep }
39+ Average outgoing class dependencies {$ this ->avg ->outgoingCDep }
40+ Average incoming package dependencies {$ this ->avg ->incomingPDep }
41+ Average outgoing package dependencies {$ this ->avg ->outgoingPDep }
42+ Complexity
43+ Average Cyclomatic complexity by class {$ this ->avg ->ccn }
44+ Average Weighted method count by class {$ this ->avg ->wmc }
45+ Average Relative system complexity {$ this ->avg ->relativeSystemComplexity }
46+ Average Difficulty {$ this ->avg ->difficulty }
4747
48- Bugs
49- Average bugs by class {$ this ->avg ->bugs }
50- Average defects by class (Kan) {$ this ->avg ->kanDefect }
51- Violations
52- Critical {$ this ->sum ->violations ->critical }
53- Error {$ this ->sum ->violations ->error }
54- Warning {$ this ->sum ->violations ->warning }
55- Information {$ this ->sum ->violations ->information }
48+ Bugs
49+ Average bugs by class {$ this ->avg ->bugs }
50+ Average defects by class (Kan) {$ this ->avg ->kanDefect }
51+ Violations
52+ Critical {$ this ->sum ->violations ->critical }
53+ Error {$ this ->sum ->violations ->error }
54+ Warning {$ this ->sum ->violations ->warning }
55+ Information {$ this ->sum ->violations ->information }
5656EOT ;
5757
5858 // git
@@ -78,10 +78,10 @@ public function getReport()
7878 if ($ this ->config ->has ('junit ' )) {
7979 $ out .= <<<EOT
8080
81- Unit testing
82- Number of unit tests {$ this ->metrics ->get ('unitTesting ' )->get ('nbSuites ' )}
83- Classes called by tests {$ this ->metrics ->get ('unitTesting ' )->get ('nbCoveredClasses ' )}
84- Classes called by tests (percent) {$ this ->metrics ->get ('unitTesting ' )->get ('percentCoveredClasses ' )} %
81+ Unit testing
82+ Number of unit tests {$ this ->metrics ->get ('unitTesting ' )->get ('nbSuites ' )}
83+ Classes called by tests {$ this ->metrics ->get ('unitTesting ' )->get ('nbCoveredClasses ' )}
84+ Classes called by tests (percent) {$ this ->metrics ->get ('unitTesting ' )->get ('percentCoveredClasses ' )} %
8585EOT ;
8686 }
8787
0 commit comments