-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update several dependencies, improve safety, add test script (#119)
* Update several dependencies * Update badges * Various safety and lint improvements These are required to satisfy some new dependencies which exposed some safety and linting issues that were previously being overlooked * Update test expectations, add script to automate that
- Loading branch information
Showing
25 changed files
with
4,997 additions
and
3,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,142 @@ | ||
{ | ||
"summary": { | ||
"average": 58.93321508519464, | ||
"median": 58.93321508519464, | ||
"worst": 58.93321508519464 | ||
}, | ||
"resultsList": [ | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/good-code.ts", | ||
"filename": "good-code.ts", | ||
"shouldAnalyze": true, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"complexityReport": { | ||
"aggregate": { | ||
"cyclomatic": 11, | ||
"cyclomaticDensity": 37.931, | ||
"halstead": { | ||
"bugs": 0.217, | ||
"difficulty": 35.889, | ||
"effort": 23378.702, | ||
"length": 127, | ||
"time": 1298.817, | ||
"vocabulary": 35, | ||
"volume": 651.419, | ||
"operands": { "distinct": 18, "total": 76 }, | ||
"operators": { "distinct": 17, "total": 51 } | ||
}, | ||
"paramCount": 9, | ||
"sloc": { "logical": 29, "physical": 50 } | ||
}, | ||
"dependencies": [], | ||
"errors": [], | ||
"lineEnd": 50, | ||
"lineStart": 1, | ||
"maintainability": 108.234, | ||
"codehawkScore": 58.93321508519464, | ||
"coverage": "0" | ||
}, | ||
"timesDependedOn": 0 | ||
} | ||
], | ||
"fullResultsTree": [ | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/bad-code.ts", | ||
"filename": "bad-code.ts", | ||
"shouldAnalyze": true, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"complexityReport": null, | ||
"timesDependedOn": 0 | ||
}, | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/expected.json", | ||
"filename": "expected.json", | ||
"shouldAnalyze": false, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"complexityReport": null, | ||
"timesDependedOn": 0 | ||
}, | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/good-code.ts", | ||
"filename": "good-code.ts", | ||
"shouldAnalyze": true, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"complexityReport": { | ||
"aggregate": { | ||
"cyclomatic": 11, | ||
"cyclomaticDensity": 37.931, | ||
"halstead": { | ||
"bugs": 0.217, | ||
"difficulty": 35.889, | ||
"effort": 23378.702, | ||
"length": 127, | ||
"time": 1298.817, | ||
"vocabulary": 35, | ||
"volume": 651.419, | ||
"operands": { "distinct": 18, "total": 76 }, | ||
"operators": { "distinct": 17, "total": 51 } | ||
}, | ||
"paramCount": 9, | ||
"sloc": { "logical": 29, "physical": 50 } | ||
}, | ||
"dependencies": [], | ||
"errors": [], | ||
"lineEnd": 50, | ||
"lineStart": 1, | ||
"maintainability": 108.234, | ||
"codehawkScore": 58.93321508519464, | ||
"coverage": "0" | ||
}, | ||
"timesDependedOn": 0 | ||
} | ||
] | ||
} | ||
{ | ||
"options": { | ||
"badgesDirectory": [ | ||
"/generated" | ||
], | ||
"extensions": [ | ||
".js", | ||
".jsx", | ||
".ts", | ||
".tsx" | ||
], | ||
"excludeDirectories": [ | ||
"/dist", | ||
"/bin", | ||
"/build" | ||
], | ||
"excludeExact": [], | ||
"excludeFilenames": [ | ||
".d.ts", | ||
".min.js", | ||
".bundle.js" | ||
], | ||
"skipDirectories": [ | ||
"/node_modules", | ||
"/flow-typed", | ||
"/coverage" | ||
], | ||
"minimumThreshold": 10, | ||
"cliOutputLimit": 25 | ||
}, | ||
"summary": { | ||
"average": 60.8132766099468, | ||
"median": 60.8132766099468, | ||
"worst": 60.8132766099468 | ||
}, | ||
"resultsList": [ | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/good-code.ts", | ||
"filename": "good-code.ts", | ||
"shouldAnalyze": true, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"complexityReport": { | ||
"aggregate": { | ||
"cyclomatic": 11, | ||
"cyclomaticDensity": 37.931, | ||
"halstead": { | ||
"bugs": 0.217, | ||
"difficulty": 35.889, | ||
"effort": 23378.702, | ||
"length": 127, | ||
"time": 1298.817, | ||
"vocabulary": 35, | ||
"volume": 651.419, | ||
"operands": { | ||
"distinct": 18, | ||
"total": 76 | ||
}, | ||
"operators": { | ||
"distinct": 17, | ||
"total": 51 | ||
} | ||
}, | ||
"paramCount": 9, | ||
"sloc": { | ||
"logical": 29, | ||
"physical": 41 | ||
} | ||
}, | ||
"dependencies": [], | ||
"errors": [], | ||
"lineEnd": 41, | ||
"lineStart": 1, | ||
"maintainability": 108.234, | ||
"codehawkScore": 60.8132766099468, | ||
"coverage": "0" | ||
}, | ||
"timesDependedOn": 0 | ||
} | ||
], | ||
"fullResultsTree": [ | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/bad-code.ts", | ||
"filename": "bad-code.ts", | ||
"shouldAnalyze": true, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"timesDependedOn": 0 | ||
}, | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/expected.json", | ||
"filename": "expected.json", | ||
"shouldAnalyze": false, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"timesDependedOn": 0 | ||
}, | ||
{ | ||
"fullPath": "/samples/contains-some-bad-code/good-code.ts", | ||
"filename": "good-code.ts", | ||
"shouldAnalyze": true, | ||
"path": "/samples/contains-some-bad-code", | ||
"type": "file", | ||
"complexityReport": { | ||
"aggregate": { | ||
"cyclomatic": 11, | ||
"cyclomaticDensity": 37.931, | ||
"halstead": { | ||
"bugs": 0.217, | ||
"difficulty": 35.889, | ||
"effort": 23378.702, | ||
"length": 127, | ||
"time": 1298.817, | ||
"vocabulary": 35, | ||
"volume": 651.419, | ||
"operands": { | ||
"distinct": 18, | ||
"total": 76 | ||
}, | ||
"operators": { | ||
"distinct": 17, | ||
"total": 51 | ||
} | ||
}, | ||
"paramCount": 9, | ||
"sloc": { | ||
"logical": 29, | ||
"physical": 41 | ||
} | ||
}, | ||
"dependencies": [], | ||
"errors": [], | ||
"lineEnd": 41, | ||
"lineStart": 1, | ||
"maintainability": 108.234, | ||
"codehawkScore": 60.8132766099468, | ||
"coverage": "0" | ||
}, | ||
"timesDependedOn": 0 | ||
} | ||
] | ||
} |
Oops, something went wrong.