|
| 1 | +{ |
| 2 | + "summary": { |
| 3 | + "average": 58.93321508519464, |
| 4 | + "median": 58.93321508519464, |
| 5 | + "worst": 58.93321508519464 |
| 6 | + }, |
| 7 | + "resultsList": [ |
| 8 | + { |
| 9 | + "fullPath": "/samples/contains-some-bad-code/good-code.ts", |
| 10 | + "filename": "good-code.ts", |
| 11 | + "shouldAnalyze": true, |
| 12 | + "path": "/samples/contains-some-bad-code", |
| 13 | + "type": "file", |
| 14 | + "complexityReport": { |
| 15 | + "aggregate": { |
| 16 | + "cyclomatic": 11, |
| 17 | + "cyclomaticDensity": 37.931, |
| 18 | + "halstead": { |
| 19 | + "bugs": 0.217, |
| 20 | + "difficulty": 35.889, |
| 21 | + "effort": 23378.702, |
| 22 | + "length": 127, |
| 23 | + "time": 1298.817, |
| 24 | + "vocabulary": 35, |
| 25 | + "volume": 651.419, |
| 26 | + "operands": { "distinct": 18, "total": 76 }, |
| 27 | + "operators": { "distinct": 17, "total": 51 } |
| 28 | + }, |
| 29 | + "paramCount": 9, |
| 30 | + "sloc": { "logical": 29, "physical": 50 } |
| 31 | + }, |
| 32 | + "dependencies": [], |
| 33 | + "errors": [], |
| 34 | + "lineEnd": 50, |
| 35 | + "lineStart": 1, |
| 36 | + "maintainability": 108.234, |
| 37 | + "codehawkScore": 58.93321508519464, |
| 38 | + "coverage": "0" |
| 39 | + }, |
| 40 | + "timesDependedOn": 0 |
| 41 | + } |
| 42 | + ], |
| 43 | + "fullResultsTree": [ |
| 44 | + { |
| 45 | + "fullPath": "/samples/contains-some-bad-code/bad-code.ts", |
| 46 | + "filename": "bad-code.ts", |
| 47 | + "shouldAnalyze": true, |
| 48 | + "path": "/samples/contains-some-bad-code", |
| 49 | + "type": "file", |
| 50 | + "complexityReport": null, |
| 51 | + "timesDependedOn": 0 |
| 52 | + }, |
| 53 | + { |
| 54 | + "fullPath": "/samples/contains-some-bad-code/expected.json", |
| 55 | + "filename": "expected.json", |
| 56 | + "shouldAnalyze": false, |
| 57 | + "path": "/samples/contains-some-bad-code", |
| 58 | + "type": "file", |
| 59 | + "complexityReport": null, |
| 60 | + "timesDependedOn": 0 |
| 61 | + }, |
| 62 | + { |
| 63 | + "fullPath": "/samples/contains-some-bad-code/good-code.ts", |
| 64 | + "filename": "good-code.ts", |
| 65 | + "shouldAnalyze": true, |
| 66 | + "path": "/samples/contains-some-bad-code", |
| 67 | + "type": "file", |
| 68 | + "complexityReport": { |
| 69 | + "aggregate": { |
| 70 | + "cyclomatic": 11, |
| 71 | + "cyclomaticDensity": 37.931, |
| 72 | + "halstead": { |
| 73 | + "bugs": 0.217, |
| 74 | + "difficulty": 35.889, |
| 75 | + "effort": 23378.702, |
| 76 | + "length": 127, |
| 77 | + "time": 1298.817, |
| 78 | + "vocabulary": 35, |
| 79 | + "volume": 651.419, |
| 80 | + "operands": { "distinct": 18, "total": 76 }, |
| 81 | + "operators": { "distinct": 17, "total": 51 } |
| 82 | + }, |
| 83 | + "paramCount": 9, |
| 84 | + "sloc": { "logical": 29, "physical": 50 } |
| 85 | + }, |
| 86 | + "dependencies": [], |
| 87 | + "errors": [], |
| 88 | + "lineEnd": 50, |
| 89 | + "lineStart": 1, |
| 90 | + "maintainability": 108.234, |
| 91 | + "codehawkScore": 58.93321508519464, |
| 92 | + "coverage": "0" |
| 93 | + }, |
| 94 | + "timesDependedOn": 0 |
| 95 | + } |
| 96 | + ] |
| 97 | +} |
0 commit comments