Rule Definition
Each implementation file should always include a header file having the same name. E.g.: 'FileA.C' should at least include 'FileA.H'. This helps developers to organize application source files and to quickly identify files that must be taken into consideration when doing modifications.
Remediation
Rename the header file associated to the implementation file or create one with functions, classes, and.or global variables exclusively used by the implementation file.
Related Technologies
C++
Technical Criterion
Programming Practices - File Organization Conformity
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.