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

          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).

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

              Created:
              Updated:
              Resolved: