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: 24/Jul/14 01:15 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:
No work has yet been logged on this issue.