Package edu.umd.cs.findbugs.cwe
Class WeaknessCatalog
java.lang.Object
edu.umd.cs.findbugs.cwe.WeaknessCatalog
The weakness catalog contains a number of weaknesses
- Author:
- Jeremias Eppler
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic WeaknessCatalog
getName()
getWeaknessByCweIdOrNull
(int cweid) Get the a weakness by CWE ID
-
Method Details
-
getInstance
- Returns:
- a weakness catalog instance
-
getVersion
- Returns:
- CWE Version
-
getName
- Returns:
- name of the weakness catalog (usually: CWE)
-
getReleaseDate
- Returns:
- the release date of the CWE version
-
getWeaknessByCweIdOrNull
Get the a weakness by CWE ID- Parameters:
cweid
- the CWE ID of the weakness- Returns:
- a copy of the weakness or null
-