• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • analysis-model
    • None
    • Jenkins ver. 2.176.3
      Warnings Next Generation Plugin 6.0.4
      Spotbugs 3.1.9
      Maven

      All Spotbugs bug is report as low priority bug but actually it is high priority bug

      Attach image is capture from spotbugsXml.xml is show that bug has priority = 1 mean high

       

        1. 99.PNG
          99.PNG
          116 kB
        2. 100.PNG
          100.PNG
          77 kB
        3. Untitled.png
          Untitled.png
          209 kB

          [JENKINS-59426] Spotbugs analyzer reports incorrect priority

          Ngoc Do Minh created issue -
          Ngoc Do Minh made changes -
          Attachment New: 100.PNG [ 48779 ]
          Ngoc Do Minh made changes -
          Description Original: All Spotbugs bug is report as low priority bug but actually it is high priority bug

          Attach image is capture from spotbugsXml.xml is show that bug has priority = 1 mean high.

          Bellow is my spotbug pom.xml setting
          {quote}            <plugin>            <plugin>                <groupId>com.github.spotbugs</groupId>                <artifactId>spotbugs-maven-plugin</artifactId>                <version>3.1.9</version>                <configuration>                 <effort>Max</effort>                 <threshold>Low</threshold>                 <failOnError>true</failOnError>                 <plugins>                     <plugin>                         <groupId>com.h3xstream.findsecbugs</groupId>                         <artifactId>findsecbugs-plugin</artifactId>                         <version>LATEST</version> <!-- Auto-update to the latest stable -->                     </plugin> <plugin> <groupId>com.mebigfatguy.sb-contrib</groupId> <artifactId>sb-contrib</artifactId> <version>7.4.6</version> </plugin>                 </plugins>            </configuration>            </plugin>
          {quote}
          New: All Spotbugs bug is report as low priority bug but actually it is high priority bug

          Attach image is capture from spotbugsXml.xml is show that bug has priority = 1 mean high

           
          Ngoc Do Minh made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Ulli Hafner made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ngoc Do Minh made changes -
          Attachment New: Untitled.png [ 48800 ]

            drulli Ulli Hafner
            robot9xvt Ngoc Do Minh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: