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

Coverage table doesn't show methods with the same name

    XMLWordPrintable

Details

    Description

      When covering a class that has multiple methods with the same name but a different set of parameters, only one of the methods is ever shown in the table and can be accessed via URL.

      For example, two methods

      void doX(String something);
      void doX(String something, boolean else);
      

      will only show one of the methods on the summary for the class, going to the link will likewise show only one of the methods highlighted at all.

      Attachments

        Activity

          bauer Marcus Bauer added a comment -

          Pullrequest #34

          bauer Marcus Bauer added a comment - Pullrequest #34

          Code changed in jenkins
          User: Marcus Bauer
          Path:
          src/main/java/hudson/plugins/jacoco/report/CoverageReport.java
          src/main/resources/hudson/plugins/jacoco/tags/breakdownMethodsTable.jelly
          http://jenkins-ci.org/commit/jacoco-plugin/6fce428c4d0f8d075400df1007c92009e06c5fd6
          Log:
          JENKINS-19789 Method parameters in the class summary table

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marcus Bauer Path: src/main/java/hudson/plugins/jacoco/report/CoverageReport.java src/main/resources/hudson/plugins/jacoco/tags/breakdownMethodsTable.jelly http://jenkins-ci.org/commit/jacoco-plugin/6fce428c4d0f8d075400df1007c92009e06c5fd6 Log: JENKINS-19789 Method parameters in the class summary table

          Code changed in jenkins
          User: ognjenb
          Path:
          src/main/java/hudson/plugins/jacoco/report/CoverageReport.java
          src/main/java/hudson/plugins/jacoco/report/MethodReport.java
          src/main/resources/hudson/plugins/jacoco/tags/breakdownMethodsTable.jelly
          http://jenkins-ci.org/commit/jacoco-plugin/d283469943f562cbf85ccf12b5986bf7aff5de21
          Log:
          Merge pull request #34 from mabako/summary-table-params

          JENKINS-19789 Method parameters in the class summary table

          Compare: https://github.com/jenkinsci/jacoco-plugin/compare/2e4186cc9638...d283469943f5

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ognjenb Path: src/main/java/hudson/plugins/jacoco/report/CoverageReport.java src/main/java/hudson/plugins/jacoco/report/MethodReport.java src/main/resources/hudson/plugins/jacoco/tags/breakdownMethodsTable.jelly http://jenkins-ci.org/commit/jacoco-plugin/d283469943f562cbf85ccf12b5986bf7aff5de21 Log: Merge pull request #34 from mabako/summary-table-params JENKINS-19789 Method parameters in the class summary table Compare: https://github.com/jenkinsci/jacoco-plugin/compare/2e4186cc9638...d283469943f5

          Code changed in jenkins
          User: Marcus Bauer
          Path:
          src/main/java/hudson/plugins/jacoco/report/CoverageReport.java
          src/main/resources/hudson/plugins/jacoco/tags/breakdownMethodsTable.jelly
          http://jenkins-ci.org/commit/jacoco-plugin/393ff1edf50613875d223de2313222e7522e5e33
          Log:
          JENKINS-19789 Method parameters in the class summary table

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marcus Bauer Path: src/main/java/hudson/plugins/jacoco/report/CoverageReport.java src/main/resources/hudson/plugins/jacoco/tags/breakdownMethodsTable.jelly http://jenkins-ci.org/commit/jacoco-plugin/393ff1edf50613875d223de2313222e7522e5e33 Log: JENKINS-19789 Method parameters in the class summary table

          People

            ognjenb Ognjen Bubalo
            bauer Marcus Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: