|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
net.objectlab.qalab.parser.BaseStatMerge
net.objectlab.qalab.parser.CheckstyleOrPMDBaseMerge
net.objectlab.qalab.parser.FindBugsStatMerge
public class FindBugsStatMerge
This class is able to read the XDOC output from FindBugs and integrate the violation results into our qalab.xml format.
| Constructor Summary | |
|---|---|
FindBugsStatMerge()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getFileNameAttribute()
|
protected java.lang.String |
getFileTag()
|
java.lang.String |
getType()
|
protected java.lang.String |
getViolationTag()
|
protected void |
setFileName(org.xml.sax.Attributes att)
Given the different ways that files can be stored on file system, this method will remove anything part of the path up to the 'srcDir' given, it should only retain the package name in java. |
| Methods inherited from class net.objectlab.qalab.parser.CheckstyleOrPMDBaseMerge |
|---|
endElement, startElement |
| Methods inherited from class net.objectlab.qalab.parser.BaseStatMerge |
|---|
addFileStatistics, addNewResults, addTotalStatistics, getFileCount, getFileStatistics, getMergerTimeStamp, getSrcDir, getTaskLogger, getTotalStatistics, incrementFileCount, isQuiet, mergeStats, preProcessSource, resetFileStatistics, setCurrentFile, setMergerTimeStamp, setQuiet, setSrcDir, setTaskLogger, setTotalStatistics |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindBugsStatMerge()
| Method Detail |
|---|
protected final java.lang.String getFileTag()
getFileTag in class CheckstyleOrPMDBaseMergeprotected final java.lang.String getFileNameAttribute()
getFileNameAttribute in class CheckstyleOrPMDBaseMergeprotected final java.lang.String getViolationTag()
getViolationTag in class CheckstyleOrPMDBaseMergepublic final java.lang.String getType()
protected final void setFileName(org.xml.sax.Attributes att)
setFileName in class CheckstyleOrPMDBaseMergeatt - the XML attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||