Understanding and Measuring Data Coupling & Control Coupling
Modular software is often seen as a feature of high quality software, but that assertion only holds true if the modules interact as expected. That is why DO-178C [1] & ED-12C [2] (henceforth referenced collectively as “DO-178C”) require that both data coupling and control coupling are shown to be in accordance with requirements.
Section 6.4.4.2.c of DO-178C requires “analysis to confirm that the requirements-based testing has exercised the data and control coupling [DCCC] between code components”. This directive is designed to ensure that design, integration, and test objectives are met. The document outlines how measuring control and data coupling can be achieved via a combination of control and data flow analysis, and how that process can be made more efficient using software tools.
This document explains these related coupling concepts in the general case, discusses the metrics used to measure them, and compares the available approaches to automate those analyses. It closes by considering the additional considerations implied by the specific case of multicore processor adoption.
Click to view