views:

78

answers:

2

Is Callgrind, which is part of valgrind suite a good candidate for C++ code coverage??

A: 

Valgrind is not suitable for code coverage analysis. Use Gcov for that.

Let_Me_Be
A: 

Callgrind is useful when optimizing your code, as it gives you performance info (time spent in each function) and call trees. Results can be seen in a visual way through KCacheGrind, if you want to check it out.

I Do not think it is best for code coverage analysis, though

Grim Fandango