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

Coverage report source view - lines incorrectly shaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • jacoco-plugin
    • None

      In the coverage report's compilation unit source view, executed lines are shaded in green whereas non-executed lines have no background shading. This is contrary to the (more useful) presentation used by the jacoco:report Ant task and the EclEmma source file rendering, where:

      • executed lines have green shading
      • partially executed lines have amber shading (JaCoCo plug-in uses green)
      • non-executed lines have red shading (JaCoCo plug-in uses white)

      In addition, the jacoco:report Ant task and EclEmma both provide a tool-tip summarizing branch coverage for lines which contain control flow constructs; the JaCoCo plug-in does not.

            ognjenb Ognjen Bubalo
            adrianp Adrian Price
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: