LLVM development trunk - code coverage - branch coverage missing

Hi ,

I could see the LLVM code coverage info at the below links

http://lab.llvm.org:8080/coverage/coverage-reports/clang/index.html

http://llvm.org/reports/coverage/

I am interested in the branch coverage metric. I could not find the branch coverage related info .

Can anyone let me know how to find it.

If it is not available , I am happy to work on it, if I can get some details on why currently branch coverage metric is not available

Thanks,

Ravi

is generated using lcov (on top of LLVM’s gcov emulation, I think?). lcov has support for something it calls “branch coverage”, but it’s buggy; when I tried to generate a report with it enabled, it hung. is generated using LLVM source-based code coverage (). Currently, it doesn’t have any support for decision coverage. -Eli

Hi Eli , Vedant ,

lcov has support for something it calls “branch coverage”, but it’s buggy; when I tried to generate a report with it enabled, it hung.

Thanks for your reply.

Even I observed the same behavior with Lcov.

Vedant pointed out that “region coverage metric in the coverage summary” will have some info related to branch coverage.

I am planning to explore it , I will get back with details.

–Ravi