History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2678
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Steve Luo
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Branch coverage is always 0 when publishing lcov coverage report generated by LCOV

Created: 30/Mar/16 01:37 AM   Updated: 03/Apr/16 03:08 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.10

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The coverage report is generated by following steps:

# generate coverage.info file using lcov
$LCOV_BIN_PATH/lcov -rc lcov_branch_coverage=1 -b $GCOV_PREFIX --directory $GCOV_PREFIX -c -o $GCOV_PREFIX/coverage.info
 
# gnerate xml file using the open source script lcov to cobertura
lcov_cobertura.py $GCOV_PREFIX/coverage.info --demangle -b $GCOV_PREFIX -o $GCOV_PREFIX/cobertura_coverage.xml
 
and if we publish the generated cobertura reports, branch coverage is always 0.

 All   Comments   Work Log   Change History      Sort Order:
Steve Luo [30/Mar/16 01:40 AM]
As the branch coverage information in /package/class/method element in this type of report is not sufficient, even we improve the cobertura plugin, the branch coverage information still can't be accurate in By Method tab view.

Change by PMEase JIRA Administrator [03/Apr/16 03:08 PM]
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Steve Luo [ steve ]
Resolution Fixed [ 1 ]

Change by PMEase JIRA Administrator [03/Apr/16 03:08 PM]
Fix Version/s 6.1.10 [ 11648 ]