CWE-1042: Static Member Data Element outside of a Singleton Class Element

Variant Incomplete Simple

CWE版本: 4.18

更新日期: 2025-09-09

弱点描述

The code contains a member element that is declared as static (but not final), in which its parent class element is not a singleton class - that is, a class element that can be used only once in the 'to' association of a Create action.

常见后果

影响范围: Other

技术影响: Reduce Performance

分类映射

分类名称 条目ID 条目名称 映射适配度
OMG ASCPEM ASCPEM-PRF-3 -
关键信息

CWE ID: CWE-1042

抽象级别: Variant

结构: Simple

状态: Incomplete

相关弱点