Umbra Wiki weakness weakness/CWE-1116
Back to wiki

CWE-1116 — Inaccurate Source Code Comments

provenance: imported · CWE: CWE-1116

CWE-1116: Inaccurate Source Code Comments

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit —

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.

Common consequences

  • Other: Reduce Maintainability
  • Other: Increase Analytical Complexity

Mitigations

Implementation — Verify that each comment accurately reflects what is intended to happen during execution of the code.

References

  • CWE page: https://cwe.mitre.org/data/definitions/1116.html
  • CWE list: https://cwe.mitre.org/data/index.html

See all 1,245 pages under Weakness classes (CWE) →

Related pages