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

Add the possibility to fetch the Branch Coverage from Clover

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

        Attachments

          Activity

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

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

            People

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

              Dates

              Created:
              Updated:
              Resolved: