1955
The lack of a prologue can make it more difficult to accurately and quickly understand the
associated code. Standard prologues or headers may contain information such as module name,
version number, author, date, purpose, function, assumptions, limitations, accuracy considerations,
etc.
This issue makes it more difficult to maintain the product due to insufficient analyzability,
which indirectly affects security by making it more difficult or time-consuming to find and/or fix
vulnerabilities. It also might make it easier to introduce vulnerabilities.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 1078 Inappropriate Source Code Style or Formatting 1918
Relevant to the view "Software Development" (CWE-699)
Nature Type ID Name Page
MemberOf 1006 Bad Coding Practices 2422
Weakness Ordinalities
Indirect :
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 1412 Comprehensive Categorization: Poor Coding Practices 1400 2538
References
[REF-963]Robert A. Martin and Lawrence H. Shafer. "Providing a Framework for
Effective Software Quality Assessment". 1996 July. < https://www.researchgate.net/
publication/285403022_PROVIDING_A_FRAMEWORK_FOR_EFFECTIVE_SOFTWARE_QUALITY_MEASUREMENT_>.2023-04-07.
CWE-1116: Inaccurate Comments
Weakness ID : 1116
Structure : Simple
Abstraction : Base
Description
The source code contains comments that do not accurately describe or explain aspects of the
portion of the code with which the comment is associated.
Extended Description
When a comment does not accurately reflect the associated code elements, this can introduce
confusion to a reviewer (due to inconsistencies) or make it more difficult and less efficient to
validate that the code is implementing the intended behavior correctly.
CWE Version 4.14
CWE-1116: Inaccurate Comments
CWE-1116: Inaccurate Comments