• Support
  • Contact
  • Blog
  • Français
    • English
    • Deutsch
    • Italiano
    • Português
    • Español
    • 简体中文
  • Outils
    • Analyse Statique Intégrée
      • QA-MISRA
        Analyse détaillée de code C/C++ à l’échelle industrielle
      • Cantata Test Architect
        Comprenez, concevez et controlez l’architecture logicielle
      • Métriques de Qualité du Code Source
        Automatisation des métriques de qualité du code source C/C++
      • Get a demo
    • TEST LOGICIELS
      • Cantata
        Tests unitaires et d’intégration automatisés pour le C/C++
      • Cantata Team Reporting
        Module de pilotage centralisé des données de test
      • AdaTEST 95
        Tests unitaires et d’intégration automatisés pour l’Ada
      • Why Pay for Unit Test Tool?
  • Solutions
    • SECTEURS
      • Automotive
      • Energie
      • Systèmes Médicaux
      • Automatisation Industrielle
      • Ferroviaire
      • Aéronautique et Défense
      • Systèmes d’information critiques
      • E
      • E
      • Get a demo
    • NORMES DE SÛRETÉ
      • ISO 26262
      • IEC 60880
      • IEC 62304
      • IEC 61508
      • EN 50128
      • DO-178C
      • MISRA
      • AUTOSAR
      • CERT
      • Why bother to unit test?
  • Academie
    • Séminaires
    • Formations
    • Webinaires
    • Intervenants
    • Formulaire d’Inscription
  • Societe
    • A propos de nous
    • Equipe managériale
    • Partenaires
    • Bulletins et communiqués de presse
    • Evénements
    • Emplois
    • Get a demo
  • Ressources
  • Porsche
  • Français
    • Anglais
    • Allemand
    • Italien
    • Portugais – du Portugal
    • Espagnol
    • Chinois simplifié
  • Outils
    • Analyse Statique
      • QA-MISRA
      • Cantata Test Architect
      • Métriques de Qualité du Code Source
    • Test Logiciels
      • Cantata Team Reporting
      • Cantata
      • Adatest 95
  • Solutions
    • Secteurs
      • Automotive
      • Energie
      • Systèmes Médicaux
      • Automatisation Industrielle
      • Ferroviaire
      • Aéronautique et Défense
      • Systèmes d’information critiques
    • NORMES DE SÛRETÉ
      • ISO 26262
      • IEC 60880
      • IEC 62304
      • IEC 61508
      • EN 50128 / 50657
      • DO 178
      • Misra
      • Autosar
      • Cert
  • Academie
    • SEMINAIRES
    • Webinaires
    • Intervenants
    • Témoignages
  • Societe
    • A propos de nous
    • Equipe managériale
    • Partenaires
    • Bulletins et communiqués de presse
    • Evénements
    • Emplois
  • Ressources
  • Blog
Code coverage
Code Coverage
Dynamic Analysis

Objective measurement of how much of the code has been executed by your tests

START TRIAL
Code coverage
Code Coverage
Dynamic Analysis

Objective measurement of how much of the code has been executed by your tests

START TRIAL
QA Systems > Outils de tests logiciels pour C/C++ > Cantata > Code Coverage

Cantata code coverage capabilities can be used integrated with Cantata tests, or with any external test driver.

It provides an objective measurement of test execution completeness, to supplement requirements based and robustness tests.

Cantata code coverage makes it easy to:

  • Set how required coverage is measured
  • Diagnose coverage results 
  • Understand build variants
  • Filter coverage results
  • Generate reports and certification evidence

What is Code Coverage?

Code Coverage is a dynamic analysis technique to measure which parts of the code have been executed by tests. The logic structure within the code can be identified by individual constructs (syntax elements). The measurement of these individual constructs is recorded using structural code coverage metrics.

Code coverage analysis is used to identify testing gaps where code is not exercised by requirements driven and robustness driven testing approaches.

Coverage analysis is required for compliance with all international software safety standards, with higher safety levels requiring achievement of more rigorous coverage metrics.

“Using coverage helped us to really think about whether certain functions and blocks were needed. We confirmed great confidence in our software as everything had been tested to 100% decision coverage"

Rolf Keller, Software Engineer,

“Cantata automatically generates test reports that prove what has been tested and how extensive the test coverage was for each test case”

Johnny Johansson, Global Validation & Verification Tools Manager, SAAB

What does Cantata Code Coverage help me do?

MEASURE COVERAGE

Code coverage is measured using the following metrics, with standard specific Rule Sets for integrated checking of required code coverage levels.

  • Function Entry Points
  • Function Call-Returns
  • Basic Blocks
  • Statements
  • Decisions (branches)
  • Loops
  • Relational Operators
  • Boolean Operators
  • Conditions
  • MC/DC (Unique-cause and Masking variants)

DIAGNOSE COVERAGE RESULTS

Cantata diagnostics present coverage from complete project code-trees, drilling down to individual code constructs within each line of code helping you to pin-point gaps and direct test effort efficiently.

Automatic test case coverage optimisation aids test case vector selection from large data sets, and reduces regression testing overhead.

UNDERSTAND BUILD VARIANT COVERAGE

Build Variant Coverage understands source code executed over more than one build variant. Cantata uses pre-compiled defines (#defines) to separately identify the different build variants. Cantata Coverage Viewer displays aggregated data for multiple build variants, of the same source code.

FILTER COVERAGE RESULTS

Cantata provides unparalleled filtering of code coverage data by selection of:

  • Coverage Metrics
  • Projects
  • Test Cases
  • Inheritance Contexts
  • User-defined Contexts
  • Build Variants
  • Coverage Files

Cantata can also trace code coverage throughout the execution of individual test cases.

GENERATE REPORTS

In addition to the powerful diagnostics of code coverage results within the Eclipse® GUI, Cantata generates flexible user configurable reports in XML, HTML and safety standards certification ready ASCII and HTML text reports.

Build Variant Coverage reports aggregate coverage data across all defines, which is suitable as certification evidence for all build variants of the source code.

Reports and certification evidence embed the integrated checks on the achievement of the required coverage metric targets.

How does Cantata Code Coverage Work

Cantata Coverage uses instrumentation (via the GUI or CLI) on a copy of the source code, and coverage data is recorded for both graphical diagnosis and certification ready evidence.

Coverage analysis can be used integrated with Cantata tests or used to measure execution from other tests, and data from multiple tests can be easily combined.

Analysis is made simpler by customisable coverage Rule Sets, which automate all the code instrumentation, data reporting and required coverage checking, for all the main software safety standards.

START TRIAL
GET A DEMO
BACK TO CANTATA

QA Systems GmbH
Roggenstrasse 11
71334 Waiblingen | Germany

© 2021 QA SYSTEMS GMBH

Phone: +49 (0)711 138183 -0
Fax: +49 (0)711 138183 -10
[email protected]

  • Mentions légales
  • Politique de confidentialité
  • Contact
  • Resources

Newsletter

Get the latest technology news updates, product releases plus tips and tricks:

subscribe to newsletter
  • Suivre
  • Suivre

Newsletter

Get the latest technology news updates, product releases plus tips and tricks:

subscribe to newsletter
  • Suivre
  • Suivre

Phone: +49 (0)711 138183 -0
Fax: +49 (0)711 138183 -10
[email protected]

  • Mentions légales
  • Politique de confidentialité
  • Contact
  • Resources

QA Systems GmbH
Roggenstrasse 11
71334 Waiblingen Stuttgart | Germany

© 2020 QA SYSTEMS GMBH

Start
Trial
×

Login

Mot de passe oublié?

Or

 

Create an Account

Sign up for access to premium content
Register for full access to our extensive resources library.
  • Ce champ n’est utilisé qu’à des fins de validation et devrait rester inchangé.

×

Code Coverage

Academy Registration Form

  • Contact details attendee

  • QA Systems arranges a block booking of rooms for seminar participants at the respective hotels, usually with special rates. The participants are responsible for their own reservation, payment, etc. If you wish to receive the hotel information, please tick:
  • Ce champ n’est utilisé qu’à des fins de validation et devrait rester inchangé.