Code Coverage: Testwell CTC++ vs. GCovOften people ask us about the advantages of Testwell CTC++ Test Coverage Analyzer for C/C++ compared to the GNU coverage testing tool GCov.Below you will find a short and non-exhaustive comparaison of both tools. If you have comments, please feel free to contact us: quality(AT)verifysoft.com Your experience is important to us and might be published here to improve this page.
Code Coverage LevelTestwell CTC++ supports all coverage levels up to Modified Condition Coverage (including MC/DC coverage as requested for critical projects) and can be used to get certifications, i.e. DO-178B or other.On some GCov related web sites is claimed that GCov supports Decision Coverage, but there is some danger(!) and finally we do not agree with this statements. Have a look to the following: As GCov makes the instrumentation at a late step, it has no control which branch of source condition has been mapped to that intermediate code. Let´s have a look to the outputs taken from prime example. First the CTC++ report:
You see, "if" was 2 times true and 7 times false. Now have a look to the GCov report:
The if() statement has been executed 9 times, but how ofter was it "true" and how often was it "false"? If you compile our example project with -O2 optimisation (which is the default optimisation in most projects) you will get the following with GCov:
... only two branches remaining. How to map them into our "CTC++ truth table"???
Compiler SupportGCov supports gcc compiler.Testwell CTC++ works with any compiler and btw with any target (even very small targets) when used with embedded systems.
Supported LanguagesGCov supports C and C++.Testwell CTC++ supports C and C++ as well as Java and C#. To extend the "basic"CTC++ to Java and C# only a small "CTC++ for Java and C# add-on" is needed. As a result you have one tool for several languages.
| ||
| ||
|
Price vs. CostGCov is "free".Testwell CTC++ is a professional commercial tool. Both floating and machine locked licenses are available at very reasonable prices. Although you have to pay for Testwell CTC++, you will most likely save money thanks to CTC++ features and benefits. Depending on your projects the cost of Testwell CTC++ is probably much lower than the cost of GCov usage. You will find some information below. But please try yourself: professional developers can ask us for a free time limited license (with full functionalities) to evaluate Testwell CTC++ and to learn about its advantages. | ||
|
last updated: 18.02.2009 © 2009 Verifysoft Technology GmbH |
