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

Unable to remove unused Coverage Metric Targets from Cobertura Report Graph

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Ubuntu 12.10
      Python 2.7
      Jenkins 1.527
      Cobertura Plugin 1.9.2
    • Similar Issues:

      Description

      I'm trying to obtain code coverage using python. I obtain this through Ned Batchelder's coverage.py, converting it to xml so that it can be displayed with the Cobertura plugin on Jenkins.

      It is my understanding that the only relevant metric is Lines, which is fine, however I'd like to remove Packages, Files, Classes, and Conditionals from the graph and I can't seem to do this. (Coverage.jpg)

      Only Lines is present under Publish Cobertura Coverage Report's advanced options (config.jpg)

      Is this possible? Am I just missing something?

        Attachments

        1. config.jpg
          config.jpg
          139 kB
        2. Coverage.jpg
          Coverage.jpg
          47 kB

          Activity

          Hide
          jprosevear JP Rosevear added a comment -

          Latest versions of createcoverage allow for branch coverage (--branch) structure the xml output for packages, classes. Methods seem to get an empty xml node, but its present.

          Show
          jprosevear JP Rosevear added a comment - Latest versions of createcoverage allow for branch coverage (--branch) structure the xml output for packages, classes. Methods seem to get an empty xml node, but its present.
          Hide
          stephenconnolly Stephen Connolly added a comment -

          Last two releases (separated by over a year) were by Oliver Gondža so looks like the maintainer

          Show
          stephenconnolly Stephen Connolly added a comment - Last two releases (separated by over a year) were by Oliver Gondža so looks like the maintainer

            People

            • Assignee:
              Unassigned
              Reporter:
              zonkey Neal Storey
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: