froglogic logo

Squish Coco

froglogic’s Squish Coco is a complete, cross-platform, multi-language code coverage tool supporting C/C++, C#, Tcl and QML.  Squish Coco’s code coverage toolchain provides wrappers for standard compilers to build instrumented versions of applications – with no source code changes necessary.

Tests executed against the instrumented application produce data which Squish Coco analyzes to measure test coverage of statements, branches and conditions. This analysis can be used to determine how much of the source code has been exercised by the tests, which additional tests need to be written, how the test coverage changed over time and more.

Code coverage is not a final activity, but rather a continual activity toward a reliable system. The earlier it is employed the better. It provides scope to add tests, improve tests, remove redundant tests, and cover more code, ensuring higher quality and more reliable systems.

Squish Coco Features

Code Coverage Levels

Squish Coco supports the following code coverage levels:

For more complex, safety critical, systems a more complex metric based on function coverage and branch coverage known as Modified Condition/Decision Coverage (MC/DC) is used which stipulates that each entry and exit point is invoked, each decision takes every possible outcome, each condition in a decision takes every possible outcome and each condition in a decision is shown to independently affect the outcome of the decision.

Advanced Analysis

While other code coverage tools typically just accumulate coverage data Squish Coco stores information per individual test. With an optional name and a FAIL vs. PASS status assigned.  This way various types of analysis can be performed in the post-processing phase:

  • Calculation of the optimal order of test execution that will most quickly maximise the overall coverage.
  • Comparison of coverage between test executions.
  • Comparison of coverage between different software builds.
  • Analysis of test coverage for source code patches in the review process.
  • Determines minimal set of tests to cover a source code patch.

About froglogic

froglogic was founded to create a best-of-breed cross-platform test automation tools. The froglogic Squish Testing Suite consists of the cross-platform and multi-language code coverage analysis tool Squish Coco and the GUI Test Automation Tool Squish GUI Tester. More details…

Find out more…

For more information on how Squish Coco can generate the code coverage metrics you require please complete the form below.

Full Name (required):

Company Name (required):

Your Email (required)