Class FindBugsParser
java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.parser.findbugs.FindBugsParser
- All Implemented Interfaces:
Serializable
A parser for the native FindBugs XML files.
- Author:
- Ullrich Hafner
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFindBugs 2 and 3 classifies issues using the bug rank and priority (now renamed confidence).static classJava Bean to create the mapping of hash codes to messages using the Digester XML parser. -
Constructor Summary
ConstructorsConstructorDescriptionFindBugsParser(FindBugsParser.PriorityProperty priorityProperty) Creates a new instance ofFindBugsParser. -
Method Summary
Modifier and TypeMethodDescriptionparse(ReaderFactory readerFactory) Parses the specified file for issues.Methods inherited from class edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
Constructor Details
-
FindBugsParser
Creates a new instance ofFindBugsParser.- Parameters:
priorityProperty- determines whether to use the rank or confidence when evaluation theSeverity
-
-
Method Details
-
parse
Description copied from class:IssueParserParses the specified file for issues.- Specified by:
parsein classIssueParser- Parameters:
readerFactory- provides a reader to the reports- Returns:
- the issues
- Throws:
ParsingException- Signals that during parsing a non recoverable error has been occurred
-