BaseIncomplete

CWE-1085Invokable Control Element with Excessive Volume of Commented-out Code

Category: other

Description

A function, method, procedure, etc. contains an excessive amount of code that has been commented out within its body.

Common consequences· 1

  • Other — Reduce Maintainability
    This issue makes it more difficult to maintain the product, 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.

References

  1. https://cwe.mitre.org/data/definitions/1085.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Invokable Control Element with Excessive File or Data Access Operations
CWE
Invokable Control Element with Signature Containing an Excessive Number of Parameters
CWE
Invokable Control Element with Large Number of Outward Calls
CWE
Inaccurate Source Code Comments
CWE
Inappropriate Comment Style
CWE
Excessively Deep Nesting
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.