Back to CWE list
CWE-1116
Inaccurate Source Code Comments
Base
Incomplete
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.
{"xhtml:p":["",""]}
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Other
Impact
Reduce Maintainability
Scope
Other
Impact
Increase Analytical Complexity
Potential Mitigations
Implementation
Verify that each comment accurately reflects what is intended to happen during execution of the code.
Applicable Platforms
Not Language-Specific
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now