England Flag France Flag China Flag German Flag
Bookmark and Share

Ask an Embedded Testing Expert

1-877-221-3069

How Code Coverage Analysis Tools Improve Confidence in Your Testing

Before submitting final code for certification, how confident is a developer they completely exercised the application under all situations, or did those final tests only run the application under a best-case scenario ("happy path")?

Code coverage is a flexible method used from simple developer testing, all the way to full Q/A and unit testing. Benefits of code coverage analysis

  • More confidence for repeatability when testing mission and safety-critical applications (e.g. military, aerospace, railway, automotive)
  • Save time and money with future projects - if 20% of the code is never exercised, it may be conceivable to remove it and eliminate overhead on the next project.

Automated code coverage analysis tools are necessary

Highly-regulated industries such as transportation require repeatability, and if it isn't automated, it isn't repeatable. VectorCAST/Cover provides a convenient way to analyze the completeness of your system tests, ensuring that applications are not released with untested code.

VectorCAST/Cover allows you to gauge the effectiveness of your test efforts by identifying which areas of an application were exercised during a test run. VectorCAST/Cover allows you to analyze any portion of your application, or the entire application at once.

VectorCAST/Cover Code Coverage Analyzer Key Features

  • Identifies Tested and Untested Source
  • Supports Statement, Branch, and MC/DC Coverage Reporting
  • Supports Structural Coverage Levels A, B, and C for DO-178B
  • Shows Aggregate Coverage Across any Subset of Test Cases
  • Includes Code Complexity Metrics
  • Supports Windows, Unix and Linux Platforms
  • Supports Development, Integration, and System Testing
  • Computes Basis Path Information for Test Case Building
  • Supports Ada83/95, C, C++
  • Compiler and RTOS independent - supports all major compilers
  • Supports Code Coverage on host, simulator, or embedded target

Code Coverage Reports in VectorCAST/Cover

For each file that is analyzed, VectorCAST/Cover creates a multi-tabbed source-viewer widget containing the following information:

Coverage Summary - provides a color-coded report identifying source code which is completely covered, partially covered, or uncovered.

VectorCAST/Cover

Metrics Summary - provides a tabular list of code complexity and currently achieved source-code coverage for each subprogram.

Metrics Summary

Basis Path Analysis - shows all basis paths for each subprogram.

VectorCAST/Cover

See the benefits of VectorCAST for yourself - for free

Increase confidence you will pass certification the first time, and eliminate costs on your next project by putting VectorCAST/Cover to work for your team. If you would like to see how VectorCAST code coverage for C, C++, and Ada improves performance in your exact testing environment, register today for a 30-day, fully-functional version.

You may also download the data sheet, or arrange a demo specific to your project.