Accepts all files with the given file name (default: spotbugs.xml or findbugs.xml) or being in a directory named 'spotbugs' or 'findbugs' and end with '.xml'.
Note that the structure of SpotBugs and FindBugs XML files differ. So e.g. there are no sourceline, method or class XML elements in SpotBugs. Hence, there are also no such nodes in the SpotBugs graph.
Name | Description |
---|---|
jqassistant.plugin.spotbugs.filename |
Optional: file name of the FindBugs XML report file. Default: spotbugs.xml |
jqassistant.plugin.spotbugs.dirname |
Optional: name of the directory containing an XML. Default: Default: spotbugs |
Represents a SpotBugs or FindBugs report file.
Name | Description |
---|---|
name |
The file name. |
fileName |
The absolute file name. |
version |
SpotBugs/FindBugs version number. |
analysisTimestamp |
Epoch time stamp of analysis run. |
Name | Target label(s) | Cardinality | Description |
---|---|---|---|
CONTAINS |
0..n |
A SpotBugs or FindBugs issue |
Represents a SpotBugs or FindBugs issue. Has all fields of a [:FindBugs:SourceLine].
Name | Description |
---|---|
type |
FindBugs keyword for the bug type, e.g. UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD |
priority |
Bug priority, e.g. 1 |
abbrev |
Abbreviation of the keyword, e.g. UwF |
category |
Bug category, e.g. STYLE |
Name | Target label(s) | Cardinality | Description |
---|---|---|---|
HAS_SOURCELINE |
[:FindBugs:SourceLine] |
0..n |
The the source line for a FindBugs issue |
HAS_CLASS |
[:FindBugs:BugInstanceClass] |
0..n |
The class of a FindBugs issue |
HAS_METHOD |
[:FindBugs:BugInstanceMethod] |
0..n |
The method of a FindBugs issue |
HAS_FIELD |
[:FindBugs:BugInstanceField] |
0..n |
The field of a FindBugs issue |
Represents the class for a FindBugs issue. Has all fields of a [:FindBugs:SourceLine].
Name | Description |
---|---|
fqn |
The class' fully qualified name. |
Represents the method for a FindBugs issue. Has all fields of a [:FindBugs:SourceLine].
Name | Description |
---|---|
name |
The method name. |
signature |
Text representation of the method signature. |
isStatic |
true if the method is static, false otherwise. |
Represents the field for a FindBugs issue. Has all fields of a [:FindBugs:SourceLine].
Name | Description |
---|---|
name |
The field name. |
signature |
Text representation of the field signature. |
isStatic |
true if the field is static, false otherwise. |