jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Cobertura Plugin
  • MCOBERTURA-100

Add metrics to the xml report generated by the goal dump-datafile

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.3
  • Labels:
    None

Description

Cobertura 1.9.1 generates new metrics that can be added to the xml report : lines-covered, lines-valid, branches-covered and branches-valid.

Issue Links

depends upon

Wish - General wishlist item MCOBERTURA-94 Update to Cobertura 1.9.1

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 02/Jun/09 2:25 PM

Example of report :

<?xml version="1.0"?>
<coverage line-rate="7%" branch-rate="0%" lines-covered="14" lines-valid="210" branches-covered="0" branches-valid="64" version="1.9.1.1" timestamp="1243970595338">
  <package name="" line-rate="0%" branch-rate="100%" lines-covered="0" lines-valid="4" branches-covered="0" branches-valid="0" />
  <package name="a.b.c" line-rate="28%" branch-rate="100%" lines-covered="14" lines-valid="50" branches-covered="0" branches-valid="0" />
  <package name="a.b" line-rate="0%" branch-rate="100%" lines-covered="0" lines-valid="33" branches-covered="0" branches-valid="0" />
</coverage>
Show
Simon Brandhof added a comment - 02/Jun/09 2:25 PM Example of report :
<?xml version="1.0"?>
<coverage line-rate="7%" branch-rate="0%" lines-covered="14" lines-valid="210" branches-covered="0" branches-valid="64" version="1.9.1.1" timestamp="1243970595338">
  <package name="" line-rate="0%" branch-rate="100%" lines-covered="0" lines-valid="4" branches-covered="0" branches-valid="0" />
  <package name="a.b.c" line-rate="28%" branch-rate="100%" lines-covered="14" lines-valid="50" branches-covered="0" branches-valid="0" />
  <package name="a.b" line-rate="0%" branch-rate="100%" lines-covered="0" lines-valid="33" branches-covered="0" branches-valid="0" />
</coverage>

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Simon Brandhof
Vote (0)
Watch (0)

Dates

  • Created:
    01/Jun/09 3:19 PM
    Updated:
    02/Jun/09 2:30 PM
    Resolved:
    02/Jun/09 2:30 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.