<< Back to previous view |
![]() |
[QB-2678] Branch coverage is always 0 when publishing lcov coverage report generated by LCOV
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | 6.1.10 |
Type: | Improvement | Priority: | Major |
Reporter: | Steve Luo | Assigned To: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
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. |
Comments |
Comment by 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. |