complexity-report
Advanced tools
Comparing version 1.1.0 to 1.1.1
# Complexity report, Saturday, December 27, 2014 | ||
* Mean per-function logical LOC: 4.191244239631336% | ||
* Mean per-function parameter count: 2.2211981566820276% | ||
* Mean per-function cyclomatic complexity: 2.1059907834101383% | ||
* Mean per-function Halstead effort: 802.4973507353953% | ||
* Mean per-module maintainability index: 125.24778532321781% | ||
* Mean per-function logical LOC: 4.191244239631336 | ||
* Mean per-function parameter count: 2.2211981566820276 | ||
* Mean per-function cyclomatic complexity: 2.1059907834101383 | ||
* Mean per-function Halstead effort: 802.4973507353953 | ||
* Mean per-module maintainability index: 125.24778532321781 | ||
* First-order density: 18.75% | ||
@@ -9,0 +9,0 @@ * Change cost: 43.75% |
{ | ||
"name": "complexity-report", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Software complexity analysis for JavaScript projects", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/philbooth/complexity-report", |
@@ -16,7 +16,7 @@ /*globals exports */ | ||
'# Complexity report, ', (new Date()).toLocaleDateString(), '\n\n', | ||
'* Mean per-function logical LOC: ', result.loc, '%\n', | ||
'* Mean per-function parameter count: ', result.params, '%\n', | ||
'* Mean per-function cyclomatic complexity: ', result.cyclomatic, '%\n', | ||
'* Mean per-function Halstead effort: ', result.effort, '%\n', | ||
'* Mean per-module maintainability index: ', result.maintainability, '%\n', | ||
'* Mean per-function logical LOC: ', result.loc, '\n', | ||
'* Mean per-function parameter count: ', result.params, '\n', | ||
'* Mean per-function cyclomatic complexity: ', result.cyclomatic, '\n', | ||
'* Mean per-function Halstead effort: ', result.effort, '\n', | ||
'* Mean per-module maintainability index: ', result.maintainability, '\n', | ||
'* First-order density: ', result.firstOrderDensity, '%\n', | ||
@@ -23,0 +23,0 @@ '* Change cost: ', result.changeCost, '%\n', |
@@ -15,7 +15,7 @@ /*globals exports */ | ||
return [ | ||
'Mean per-function logical LOC: ', result.loc, '%\n', | ||
'Mean per-function parameter count: ', result.params, '%\n', | ||
'Mean per-function cyclomatic complexity: ', result.cyclomatic, '%\n', | ||
'Mean per-function Halstead effort: ', result.effort, '%\n', | ||
'Mean per-module maintainability index: ', result.maintainability, '%\n', | ||
'Mean per-function logical LOC: ', result.loc, '\n', | ||
'Mean per-function parameter count: ', result.params, '\n', | ||
'Mean per-function cyclomatic complexity: ', result.cyclomatic, '\n', | ||
'Mean per-function Halstead effort: ', result.effort, '\n', | ||
'Mean per-module maintainability index: ', result.maintainability, '\n', | ||
'First-order density: ', result.firstOrderDensity, '%\n', | ||
@@ -22,0 +22,0 @@ 'Change cost: ', result.changeCost, '%\n', |
56532