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

Show source highlighting on the whole class

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When browsing coverage reports in Jenkins, it is not possible to show hightlighting on the whole class. Coverage is only highlighted at method scope.
      IT would be easier to highlight coverage at the class level rather than at the method level

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          src/main/java/hudson/plugins/jacoco/report/ClassReport.java
          src/main/java/hudson/plugins/jacoco/report/CoverageReport.java
          src/main/java/hudson/plugins/jacoco/report/MethodReport.java
          src/main/java/hudson/plugins/jacoco/report/SourceAnnotator.java
          src/main/resources/hudson/plugins/jacoco/report/ClassReport/index.jelly
          http://jenkins-ci.org/commit/jacoco-plugin/f778bc07de88008fe9862930ba8723da4ea087c1
          Log:
          [FIXED JENKINS-15538] added whole class coverage highlighting

          The code is refactored a bit so that the same line-by-line annotation code can be used by multiple callers.

          For the time being, the class coverage highlight is rendered along with the per-method break down, but one might prefer some tweak to this, such as using tabs.

          Compare: https://github.com/jenkinsci/jacoco-plugin/compare/b7985928f638...f778bc07de88


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/hudson/plugins/jacoco/report/ClassReport.java src/main/java/hudson/plugins/jacoco/report/CoverageReport.java src/main/java/hudson/plugins/jacoco/report/MethodReport.java src/main/java/hudson/plugins/jacoco/report/SourceAnnotator.java src/main/resources/hudson/plugins/jacoco/report/ClassReport/index.jelly http://jenkins-ci.org/commit/jacoco-plugin/f778bc07de88008fe9862930ba8723da4ea087c1 Log: [FIXED JENKINS-15538] added whole class coverage highlighting The code is refactored a bit so that the same line-by-line annotation code can be used by multiple callers. For the time being, the class coverage highlight is rendered along with the per-method break down, but one might prefer some tweak to this, such as using tabs. Compare: https://github.com/jenkinsci/jacoco-plugin/compare/b7985928f638...f778bc07de88 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

            • Assignee:
              ognjenb Ognjen Bubalo
              Reporter:
              mickael_istria Mickael Istria
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: