CWE-1041: Use of Redundant Code
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product has multiple functions, methods, procedures, macros, etc. that contain the same code.
常见后果
影响范围: Other
技术影响: Reduce Maintainability
潜在缓解措施
阶段: Implementation
描述: Merge common functionality into a single function and then call that function from across the entire code base.
适用平台
编程语言
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| OMG ASCMM | ASCMM-MNT-19 | - |