User forums > General (but related to Code::Blocks)

Gcov

(1/5) > >>

Diogenes:
Hello, is possible invocate gcov ( Code coverage ) from CodeBlocks ?

Thanks !

MortenMacFly:

--- Quote from: Diogenes on November 15, 2010, 05:53:01 pm ---Hello, is possible invocate gcov ( Code coverage ) from CodeBlocks ?

--- End quote ---
You can attach it as a "tool" in the tools menu using macros to point to the files as needed.

danselmi:
Not sure if this helps (since you have to build the attached plugin yourself)

It is a gcov plugin in a eary stage. The only thing it can do

* start gcov for all files of the active project and
* show the line coverage in source editor (see screenshot))

killerbot:
sounds very great.

I am looking forward for its expansion ;-)


Things from the top of my head :
- code in a library (for example : library X , and executable project Y [say a the unit tests for the library]) : how much of the library code was challenged in the unit tests
- overall percentage
- ...

oBFusCATed:
+1

danselmi: you could add a list with files sorted by coverage percentage, so someone can see which files are least used :)

Navigation

[0] Message Index

[#] Next page

Go to full version