Hi,
I am trying to collect code coverage with uVision with Ulink pro connected to processor.
I am able to get the Lines coverage with "COVERAGE GCOV * DETAILS" command at uVision. (Using Client Interface (UVSC) to control uVision )
But not able to get Branch and function coverage in Gcov report, Can anyone please explain is anything I am missing ?
Kindly help.
Thanks,
Vinod
Hi Vinod,
sorry, but the uVision "COVERAGE GCOV * DETAILS" command can't generate the branch coverage, like gcov command with option -b, if it is this what you want. Output with DETAILS switch is something different.
Thank you Andreas for reply.Is there any command or way to get branch or function coverage with uVision command ?
Unfortunately, no, not for C/high level language code. The execution profiling feature only has branch information on Assembler instruction level. And this is also what is output using the "DETAILS" switch in the COVERAGE GCOV command.