-
New Feature
-
Resolution: Fixed
-
Minor
-
-
analysis-model 5.2.0, warnings-ng 5.3.0
D-Scanner is a tool for analyzing D source code (https://github.com/dlang-community/D-Scanner).
It generates a dscanner-report.json file with following format
{
"issues": [
,
{ "key": "dscanner.suspicious.unmodified", "fileName": ".\\vibe-d\\core\\vibe\\core\\concurrency.d", "line": 69, "column": 9, "message": "Variable itm is never modified and could have been declared const or immutable." }],
"interfaceCount": 130,
"classCount": 269,
"functionCount": 3975,
"templateCount": 157,
"structCount": 411,
"statementCount": 25621,
"lineOfCodeCount": 34700,
"undocumentedPublicSymbols": 0
}
To generate the json you execute d-scanner with following command:
dscanner --report . > dscanner-report.json
I also attached a complete dscanner-report.json for package vibe.d.
Could you check whether you can add support for D-Scanner json files?
Typically, new parsers are added by volunteers. Interesting in providing one on your own?