Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38557

Jenkins warning categories don't sum to the displayed total

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.656
      Warnings plugin 4.56
    • Similar Issues:

      Description

      At the current point, one of our builds shows the following warning statistics under Categories:

      • Cast: 194
      • Deprecation: 4953
      • Overloads: 3
      • Proprietary API: 19
      • Rawtypes: 480
      • Try: 74
      • Unchecked: 712
      • Varargs: 9
      • Total: 18298

      194 + 4953 + 3 + 19 + 480 + 74 + 712 + 9 ≠ 18298

        Attachments

          Activity

          Hide
          trejkaz trejkaz added a comment -

          I think it's probably fine. Something like (no category) would probably be ideal, but I don't know how Jenkins is for localisations.

          Show
          trejkaz trejkaz added a comment - I think it's probably fine. Something like (no category) would probably be ideal, but I don't know how Jenkins is for localisations.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java
          http://jenkins-ci.org/commit/analysis-core-plugin/f210dee1f6f77ca485bf695376f330e997dc3505
          Log:
          [FIXED JENKINS-38557] Don' use an empty category or type anymore.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java http://jenkins-ci.org/commit/analysis-core-plugin/f210dee1f6f77ca485bf695376f330e997dc3505 Log: [FIXED JENKINS-38557] Don' use an empty category or type anymore.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/test/java/hudson/plugins/warnings/parser/AbstractEclipseParserTest.java
          src/test/java/hudson/plugins/warnings/parser/AcuCobolParserTest.java
          src/test/java/hudson/plugins/warnings/parser/AjcParserTest.java
          src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java
          src/test/java/hudson/plugins/warnings/parser/Armcc5CompilerParserTest.java
          src/test/java/hudson/plugins/warnings/parser/ArmccCompilerParserTest.java
          src/test/java/hudson/plugins/warnings/parser/BuckminsterParserTest.java
          src/test/java/hudson/plugins/warnings/parser/ClangParserTest.java
          src/test/java/hudson/plugins/warnings/parser/CoolfluxChessccParserTest.java
          src/test/java/hudson/plugins/warnings/parser/DoxygenParserTest.java
          src/test/java/hudson/plugins/warnings/parser/EclipseParserTest.java
          src/test/java/hudson/plugins/warnings/parser/FlexSDKParserTest.java
          src/test/java/hudson/plugins/warnings/parser/GoLintParserTest.java
          src/test/java/hudson/plugins/warnings/parser/GoVetParserTest.java
          src/test/java/hudson/plugins/warnings/parser/JavaDocParserTest.java
          src/test/java/hudson/plugins/warnings/parser/JavacParserTest.java
          src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java
          src/test/java/hudson/plugins/warnings/parser/ParserTester.java
          src/test/java/hudson/plugins/warnings/parser/SbtScalacParserTest.java
          src/test/java/hudson/plugins/warnings/parser/SunCParserTest.java
          src/test/java/hudson/plugins/warnings/parser/TiCcsParserTest.java
          src/test/resources/hudson/plugins/warnings/parser/issue38557.txt
          warnings.iml
          http://jenkins-ci.org/commit/warnings-plugin/ec25a5f01a868eef89f43094d69578b50c69400e
          Log:
          [FIXED JENKINS-38557] Don' use an empty category or type anymore.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/test/java/hudson/plugins/warnings/parser/AbstractEclipseParserTest.java src/test/java/hudson/plugins/warnings/parser/AcuCobolParserTest.java src/test/java/hudson/plugins/warnings/parser/AjcParserTest.java src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java src/test/java/hudson/plugins/warnings/parser/Armcc5CompilerParserTest.java src/test/java/hudson/plugins/warnings/parser/ArmccCompilerParserTest.java src/test/java/hudson/plugins/warnings/parser/BuckminsterParserTest.java src/test/java/hudson/plugins/warnings/parser/ClangParserTest.java src/test/java/hudson/plugins/warnings/parser/CoolfluxChessccParserTest.java src/test/java/hudson/plugins/warnings/parser/DoxygenParserTest.java src/test/java/hudson/plugins/warnings/parser/EclipseParserTest.java src/test/java/hudson/plugins/warnings/parser/FlexSDKParserTest.java src/test/java/hudson/plugins/warnings/parser/GoLintParserTest.java src/test/java/hudson/plugins/warnings/parser/GoVetParserTest.java src/test/java/hudson/plugins/warnings/parser/JavaDocParserTest.java src/test/java/hudson/plugins/warnings/parser/JavacParserTest.java src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java src/test/java/hudson/plugins/warnings/parser/ParserTester.java src/test/java/hudson/plugins/warnings/parser/SbtScalacParserTest.java src/test/java/hudson/plugins/warnings/parser/SunCParserTest.java src/test/java/hudson/plugins/warnings/parser/TiCcsParserTest.java src/test/resources/hudson/plugins/warnings/parser/issue38557.txt warnings.iml http://jenkins-ci.org/commit/warnings-plugin/ec25a5f01a868eef89f43094d69578b50c69400e Log: [FIXED JENKINS-38557] Don' use an empty category or type anymore.
          Hide
          drulli Ulli Hafner added a comment - - edited

          This still can be localized in the UI. I'll add that later on.

          Show
          drulli Ulli Hafner added a comment - - edited This still can be localized in the UI. I'll add that later on.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/resources/hudson/plugins/analysis/views/TabDetail/categories.jelly
          src/main/resources/hudson/plugins/analysis/views/TabDetail/categories.properties
          src/main/resources/hudson/plugins/analysis/views/TabDetail/categories_de.properties
          src/main/resources/hudson/plugins/analysis/views/TabDetail/types.jelly
          src/main/resources/hudson/plugins/analysis/views/TabDetail/types.properties
          src/main/resources/hudson/plugins/analysis/views/TabDetail/types_de.properties
          http://jenkins-ci.org/commit/analysis-core-plugin/a2a98c51ce7e45f5ddffe5d773a7982bd53ddd43
          Log:
          JENKINS-38557 Localized empty category and type.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/resources/hudson/plugins/analysis/views/TabDetail/categories.jelly src/main/resources/hudson/plugins/analysis/views/TabDetail/categories.properties src/main/resources/hudson/plugins/analysis/views/TabDetail/categories_de.properties src/main/resources/hudson/plugins/analysis/views/TabDetail/types.jelly src/main/resources/hudson/plugins/analysis/views/TabDetail/types.properties src/main/resources/hudson/plugins/analysis/views/TabDetail/types_de.properties http://jenkins-ci.org/commit/analysis-core-plugin/a2a98c51ce7e45f5ddffe5d773a7982bd53ddd43 Log: JENKINS-38557 Localized empty category and type.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              trejkaz trejkaz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: