• 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.local_imports", "fileName": ".\\vibe-d\\core\\vibe\\core\\concurrency.d", "line": 49, "column": 9, "message": "Local imports should specify the symbols being imported to avoid hiding local symbols." }

      ,

      { "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?

       

       

          [JENKINS-55051] Support for D-Scanner format

          Andre Pany created issue -
          Andre Pany made changes -
          Component/s New: warnings-ng-plugin [ 24526 ]
          Component/s Original: warnings-plugin [ 15513 ]

          Ulli Hafner added a comment -

          Typically, new parsers are added by volunteers. Interesting in providing one on your own?

          Ulli Hafner added a comment - Typically, new parsers are added by volunteers. Interesting in providing one on your own?
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Assignee Original: Ulli Hafner [ drulli ]
          Issue Type Original: Improvement [ 4 ] New: New Feature [ 2 ]
          Labels New: PR-appreciated
          Ulli Hafner made changes -
          Labels Original: PR-appreciated New: help-wanted newbie-friendly
          Ulli Hafner made changes -
          Resolution New: Postponed [ 6 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Ulli Hafner made changes -
          Resolution Original: Postponed [ 6 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Ulli Hafner made changes -
          Assignee New: Andre Pany [ andre2007 ]

          Ulli Hafner added a comment - - edited

          I released analysis-model 5.2.0. You can reference it now in the warnings-ng plugin. You still need to provide a model class in the style of Detekt.

          Ulli Hafner added a comment - - edited I released analysis-model 5.2.0. You can reference it now in the warnings-ng plugin. You still need to provide a model class in the style of Detekt .
          Ulli Hafner made changes -
          Released As New: analysis-model 5.2.0

            andre2007 Andre Pany
            andre2007 Andre Pany
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: