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

Inconsistency in Violations Plugin (Checkstyle)

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • violations-plugin
    • None

      At the moment Violations plugin has an inconsistency in a representation of violations.

      Internally plugin has 5 Severities (Severity.java):

      • HIGH
      • MEDIUM_HIGH
      • MEDIUM
      • MEDIUM_LOW
      • LOW

      But these 5 levels are shown only in 3 Colors (SeverityTypeDataSet.java):

      • RED
      • VIOLET
      • YELLOW

      (The selection of colors is unusual too. Means violet better or worser as red?)

      As a result of mapping of 5 levels to 3 colors some critical information is lost.

      For example Checkstyle has errors (mapped to MEDIUM_HIGH) and warnings (mapped to MEDIUM).

      In a graph they are both red, therefore one can not distinguish between them.

          [JENKINS-10143] Inconsistency in Violations Plugin (Checkstyle)

          Gennadiy Litvinyuk created issue -
          Gennadiy Litvinyuk made changes -
          Description Original: At the moment has Violations an inconsistency in a representation of violations.

          Internally plugin has 5 Severities (Severity.java):
           * HIGH
           * MEDIUM_HIGH
           * MEDIUM
           * MEDIUM_LOW
           * LOW

          But these *5 levels* are shown only in *3 Colors* (SeverityTypeDataSet.java):

           * RED
           * VIOLET
           * YELLOW

          (The selection of colors is unusual too. Means violet better or worser as red?)

          As a result of mapping of 5 levels to 3 colors some critical information is lost.

          For example Checkstyle has *errors* (mapped to MEDIUM_HIGH) and warning (mapped to MEDIUM).

          In a graph they are both red, therefore one can not distinguish between them.
          New: At the moment Violations plugin has an inconsistency in a representation of violations.

          Internally plugin has 5 Severities (Severity.java):

           * HIGH
           * MEDIUM_HIGH
           * MEDIUM
           * MEDIUM_LOW
           * LOW

          But these *5 levels* are shown only in *3 Colors* (SeverityTypeDataSet.java):

           * RED
           * VIOLET
           * YELLOW

          (The selection of colors is unusual too. Means violet better or worser as red?)

          As a result of mapping of 5 levels to 3 colors some critical information is lost.

          For example Checkstyle has *errors* (mapped to MEDIUM_HIGH) and *warnings* (mapped to MEDIUM).

          In a graph they are both red, therefore one can not distinguish between them.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140331 ] New: JNJira + In-Review [ 175248 ]

          Mark Waite added a comment -

          The violations plugin is deprecated. It has an unresolved security vulnerability. The last commit to the source code repository was over 7 years ago. Closing the issue as "Won't fix"

          Mark Waite added a comment - The violations plugin is deprecated. It has an unresolved security vulnerability. The last commit to the source code repository was over 7 years ago. Closing the issue as "Won't fix"
          Mark Waite made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            peterkittreilly peterkittreilly
            gennadiylitvinyuk Gennadiy Litvinyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: