We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa36b7 commit b92adf5Copy full SHA for b92adf5
src/analyse.js
@@ -32,7 +32,8 @@ module.exports = function analyse (fileRef){
32
path : fileRef,
33
escapedPath : fileRef.replace(/\\/g, '\\'), // windows use
34
complexity : report.aggregate.cyclomatic,
35
- lineNumber : report.aggregate.sloc.logical,
+ lineCount : report.aggregate.sloc.logical,
36
+ functionCount : report.functions.length,
37
maintainability : Math.round(report.aggregate.halstead.effort),
38
halstead : {
39
length : report.aggregate.halstead.length,
@@ -46,4 +47,4 @@ module.exports = function analyse (fileRef){
46
47
48
;
49
-};
50
+};
0 commit comments