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

Add the possibility to fetch the Branch Coverage from Clover

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • clover-plugin
    • None

      Currently there is no possibility to get the Branch Coverage from the clover plug-in. The coverage is calculated by Clover and can be accessed like BlockMetrics.getPcCoveredBranches()

          [JENKINS-14165] Add the possibility to fetch the Branch Coverage from Clover

          Michael Polinovskiy created issue -
          Stephen Connolly made changes -
          Assignee Original: Stephen Connolly [ stephenconnolly ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144796 ] New: JNJira + In-Review [ 176198 ]

          The 'branch coverage' is named 'conditional coverage' in the plugin code. So the com.atlassian.clover.api.registry.BlockMetrics#getPcCoveredBranches
          should be accessible by hudson.plugins.clover.CloverBuildAction#getConditionalCoverage.

          Feel free to reopen the issue if you want something different (and give more details please).

          Marek Parfianowicz added a comment - The 'branch coverage' is named 'conditional coverage' in the plugin code. So the com.atlassian.clover.api.registry.BlockMetrics#getPcCoveredBranches should be accessible by hudson.plugins.clover.CloverBuildAction#getConditionalCoverage. Feel free to reopen the issue if you want something different (and give more details please).
          Marek Parfianowicz made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Marek Parfianowicz made changes -
          Assignee New: Marek Parfianowicz [ marekparf ]

            marekparf Marek Parfianowicz
            mpolino Michael Polinovskiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: