Your browser does not support JavaScript! Skip to main content
Free 30-day trial Customer portal Careers DO-178C Handbook
 
Rapita Systems
 

Industry leading verification tools & services

Rapita Verification Suite (RVS)

  RapiTest - Unit/system testing   RapiCover - Structural coverage analysis   RapiTime - Timing analysis (inc. WCET)   RapiTask - Scheduling visualization   RapiCoverZero - Zero footprint coverage analysis   RapiTimeZero - Zero footprint timing analysis   RapiTaskZero - Zero footprint scheduling analysis

Multicore verification

  MACH178   Multicore Timing Solution   RapiDaemons

Services

  V & V Services   Qualification   Training   Tool Integration  Support

Industries

  Aerospace (DO-178C)   Automotive (ISO 26262)   Space

Other

  RTBx   Mx-Suite   Software licensing   Product life cycle policy  RVS development roadmap

Latest from Rapita HQ

Latest news

Danlaw Acquires Maspatechnologies - Expanding Rapita Systems to Spain
Rapita co-authored paper wins ERTS22 Best paper award
A look back on Rapita's Multicore DO-178C training in Huntsville
RVS 3.17 Launched
View News

Latest from the Rapita blog

Why mitigating interference alone isn’t enough to verify timing performance for multicore DO-178C projects
There are how many sources of interference in a multicore system?
Supporting modern development methodologies for verification of safety-critical software
Flexible licensing software fit for modern working
View Blog

Latest discovery pages

do178c DO-178C Guidance: Introduction to RTCA DO-178 certification
matlab_simulink MATLAB® Simulink® MCDC coverage and WCET analysis
code_coverage_ada Code coverage for Ada, C and C++
amc-20-193 AMC 20-193
View Discovery pages

Upcoming events

Aerospace Tech Week Europe 2023
2023-03-29
Certification Together International Conference
2023-05-10
View Events

Technical resources for industry professionals

Latest White papers

DO178C Handbook
Efficient Verification Through the DO-178C Life Cycle
A Commercial Solution for Safety-Critical Multicore Timing Analysis
Compliance with the Future Airborne Capability Environment (FACE) standard
View White papers

Latest Videos

Efficient DO-178C verification - WCET analysis
Efficient DO-178C verification - Code coverage
Efficient DO-178C verification - Functional testing
SCADE Test video thumbnail
Complementary DO-178C verification with Ansys(R) SCADE Test(TM) and RVS
View Videos

Latest Case studies

Supporting ISO 26262 ASIL D software verification for EasyMile
RapiCover’s advanced features accelerate the certification of military UAV Engine Control
Front cover of whitepaper collins
Delivering world-class tool support to Collins Aerospace
View Case studies

Other Downloads

 Webinars

 Brochures

 Product briefs

 Technical notes

 Research projects

Discover Rapita

Who we are

The company menu

  • About us
  • Customers
  • Distributors
  • Locations
  • Partners
  • Research projects
  • Contact us

US office

+1 248-957-9801
info@rapitasystems.com
Rapita Systems, Inc.
41131 Vincenti Ct.
Novi
MI 48375
USA

UK office

+44 (0)1904 413945
info@rapitasystems.com
Rapita Systems Ltd.
Atlas House
Osbaldwick Link Road
York, YO10 3JB
UK

Spain office

+34 930 46 42 72
info@rapitasystems.com
Rapita Systems S.L.
Parc UPC, Edificio K2M
c/ Jordi Girona, 1-3, Office 306-307
Barcelona 08034
Spain

Working at Rapita

Careers

Careers menu

  • Current opportunities & application process
  • Working at Rapita
Back to Top

Does DO-178C require object code structural coverage?

Breadcrumb

  1. Home
  2. Blog
  3. Does DO-178C require object code structural coverage?
2014-11-21

If you are developing software to Level A for DO-178B/C, your code has to undergo extremely rigorous structural coverage analysis for the purposes of certification. This includes examining both source and object code.

Code coverage testing aims to ensure that all of your source code can be traced back to requirements. You can achieve this by running your tests (which should be derived from requirements), and showing that you have achieved complete code coverage. For DAL A DO-178B/C projects, this is slightly complicated by an additional requirement: the need to identify and test any object code that may have been generated by the compiler and isn’t directly traceable to the source code.

The wording of DO-178B for Level A structural coverage testing can lead to the impression that the best way to both comply with the standard and get adequate coverage results is to perform your structural coverage analysis directly on the object code. However, DO-178C and the CAST-12 paper [1] on the subject makes it clear that this is a misconception: object code analysis is not a simple replacement for source code coverage analysis.

In fact, neither structural analysis at the source or object code level will, on their own, provide you with a full solution for Level A. You will always need some analysis at both source and object code levels. However, you can choose to perform structural coverage testing on either source or object code. It is important to be aware that the choice you make leads to different additional material being needed to make a certification case. We’ve summarized these below:

  1. When performing coverage testing on source code, up to and including MC/DC, you will need to analyze any object code that cannot be traced to the source (e.g. processor specific instructions inserted by the compiler). Analysis of the source code has the advantage of clear visibility of the source code coverage with faster results, that can be run and rerun earlier in the design process, but a safety case for the use of source code instrumentation is needed. If data to make this case can be supplied by the coverage analysis tool provider, this can reduce the cost of making such a case significantly.
  2. When performing coverage testing on the compiled object code, you will need to analyze the mappings from the object code to source code decisions and show that the test suite exercises all the original source code. This is necessary, as although full object code coverage may have been achieved, if the compiler has optimized the original source, this may not ensure that all source code has a related test case (see the simplified diagram below). If a mapping from the object code to source code can’t be provided, you will need to perform additional MC/DC testing.

object to source code mappingIn summary, the certification criteria for Level A code coverage testing can be met by either source code or object code analysis, with source code coverage analysis offering advantages as it supports faster analysis and easier traceability between source code and results. Using either type of analysis, a certification case must be made by providing evidence to support the analysis. For source code analysis, you may be able to obtain some of this evidence from the tool provider, potentially reducing the cost of certification.

Looking to verify your DO-178C code to meet objectives relating to structural coverage analysis and additional code introduced by your compiler? Rapita Systems can help by providing automated verification tools for structural coverage analysis of both source code (RapiCover) and object code (RapiCoverZero), and by providing a Compiler Verification service.

[1] Position Paper CAST-12: Guidelines for Approving Source Code to Object Code Traceability 2002 (no longer available publicly).

DO-178C webinars

DO178C webinars

White papers

DO178C Handbook Efficient Verification Through the DO-178C Life Cycle
A Commercial Solution for Safety-Critical Multicore Timing Analysis
Compliance with the Future Airborne Capability Environment (FACE) standard
5 key factors to consider when selecting an embedded testing tool

Related blog posts

False positive and false negative in software testing

.
2019-05-22

1000 conditions per decision ought to be enough for anybody

.
2019-01-28

Code coverage without instrumentation

.
2018-10-18

Merging coverage data from multiple test runs

.
2017-01-31

Pagination

  • Current page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Next page Next ›
  • Last page Last »
  • Solutions
    • Rapita Verification Suite
    • RapiTest
    • RapiCover
    • RapiTime
    • RapiTask
    • MACH178

    • Verification and Validation Services
    • Qualification
    • Training
    • Integration
  • Latest
  • Latest menu

    • News
    • Blog
    • Events
    • Videos
  • Downloads
  • Downloads menu

    • Brochures
    • Webinars
    • White Papers
    • Case Studies
    • Product briefs
    • Technical notes
    • Software licensing
  • Company
  • Company menu

    • About Rapita
    • Careers
    • Customers
    • Distributors
    • Industries
    • Locations
    • Partners
    • Research projects
    • Contact
  • Discover
    • AMC 20-193
    • What is CAST-32A?
    • Multicore Timing Analysis
    • MC/DC Coverage
    • Code coverage for Ada, C & C++
    • Embedded Software Testing Tools
    • Aerospace Software Testing
    • Automotive Software Testing
    • Certifying eVTOL
    • DO-178C
    • WCET Tools
    • Worst Case Execution Time
    • Timing analysis (WCET) & Code coverage for MATLAB® Simulink®

All materials © Rapita Systems Ltd. 2023 - All rights reserved | Privacy information | Trademark notice Subscribe to our newsletter