Skip to main content
  1. Posts/

Code Coverage tools of C/C++

·168 words·1 min· ·
Xianpeng Shen
Author
Xianpeng Shen
DevOps & Build Engineer | Python Enthusiast | Open Source Maintainer

Code Coverage is a measurement of how many lines, statements, or blocks of your code are tested using your suite of automated tests. It’s an essential metric to understand the quality of your QA efforts.

Code coverage shows you how much of your application is not covered by automated tests and is therefore vulnerable to defects. it is typically measured in percentage values – the closer to 100%, the better.

When you’re trying to demonstrate test coverage to your higher-ups, code coverage tools (and other tools of the trade, of course) come in quite useful.

List of Code Coverage Tools

ToolsSupport LanguageCostPartners
Squish CocoC, C++, C#, SystemC, Tcl and QMLNot disclosedBotom of this page Selected Clients
BullseyeCoverageC, C++$800 for 1-year license and up
TestwellC, C++, C#, JavaNot disclosed
Parasoft C/C++testC, C++Not disclosedpartners
VECTOR Code CoverageC, C++Not disclosed (free trial available)partners
JaCoCoJavaOpen SourceMost famous code coverage tool in Java area

Related

A Code Coverage Tool - Squish Coco use examples
·699 words·4 mins
introduction to Squish Coco, a code coverage tool, with examples of how to set it up and use it in Visual Studio for C++ projects.
Jenkins Linux agent configuration
·298 words·2 mins
Provides a step-by-step guide on how to configure a Jenkins Linux agent, including setting up the Java runtime, creating the node, and troubleshooting common issues.
Jenkins Windows agent configuration
·544 words·3 mins
Provides a step-by-step guide on how to configure a Jenkins Windows agent, including setting up the Java runtime, creating the node, and troubleshooting common issues.
Why I Switched from Testing to Development After 9 Years
·322 words·2 mins
This article documents my experience and insights from transitioning from testing to development. I share my learning and work arrangements during paternity leave, including reading books, participating in open-source projects, and physical exercise, emphasizing how to maintain learning and growth while caring for a family.
My Perspective on Senior Test Engineers
·357 words·2 mins
This article outlines the skills and experience required for a senior test engineer, including testing theories, business acumen, tool proficiency, and coding abilities, helping readers understand how to become an excellent senior test engineer.