views:

2917

answers:

5

AFAIK, there isn't a free code coverage tool for C++.

+8  A: 

gcov from the gnu-compiler works very well for me...

Nils Pipenbrinck
Is it available on Windows?
all2one
A: 

Btw - since I've been asked in the comments: Yes, gcov it's also availabe for windows.

You just have to install the "unix like environment" called cygwin. The gnu-compiler is part of that. It works fine and will compile windows-applications as well.

You may have to write a makefile though.

www.cygwin.com

Nils Pipenbrinck
A: 

You may also want to look at specific tools or options for the testing framework that is being used.

Is there a specific framework you are already using?

Kris Kumler
No, we are just using visual studio professional.
all2one
+3  A: 

Where I work, we are using a customized version of Covtool.

Fred Larson
+1 for letting me know a new tool :)
neuro
A: 

I want Free code coveage tool in cpp with linux as a platform ( tool should suuport shared library) plz ans me

Balaji Kotalwar