CWE-1085—Invokable Control Element with Excessive Volume of Commented-out Code
PUBLISHEDweakness record
released 2019-01-03 · last modified 2025-12-11
Metadata
名称
Invokable Control Element with Excessive Volume of Commented-out Code
描述
A function, method, procedure, etc. contains an excessive amount of code that has been commented out within its body.
While the interpretation of "excessive volume" may vary for each product or developer, CISQ recommends a default threshold of 2% of commented code.