FindBugs Results

The following document contains the results of FindBugs.

Summary

FilesErrors
933

Files

FilesViolations
org.w3c.tidy.Tidy 3
org.w3c.tidy.Configuration 2
org.w3c.tidy.Node 3
org.w3c.tidy.Report 2
org.w3c.tidy.Clean 1
org.w3c.tidy.ValidUTF8Sequence 2
org.w3c.tidy.PPrint 1
org.w3c.tidy.AttributeTable 18
org.w3c.tidy.Lexer$W3CVersionInfo 1

org.w3c.tidy.Tidy

ViolationLine
Se: Class org.w3c.tidy.Tidy defines non-transient non-serializable instance field org.w3c.tidy.Tidy.errout 0
Se: Class org.w3c.tidy.Tidy defines non-transient non-serializable instance field org.w3c.tidy.Tidy.stderr 0
Se: Class org.w3c.tidy.Tidy defines non-transient non-serializable instance field org.w3c.tidy.Tidy.report 0

org.w3c.tidy.Configuration

ViolationLine
Se: Class org.w3c.tidy.Configuration defines non-transient non-serializable instance field org.w3c.tidy.Configuration.tt 0
Se: Class org.w3c.tidy.Configuration defines non-transient non-serializable instance field org.w3c.tidy.Configuration.report 0

org.w3c.tidy.Node

ViolationLine
EI2: org.w3c.tidy.Node.<init>(short,byte[],int,int) may expose internal representation by storing an externally mutable object into org/w3c/tidy/Node.textarray 266
EI2: org.w3c.tidy.Node.<init>(short,byte[],int,int,String,TagTable) may expose internal representation by storing an externally mutable object into org/w3c/tidy/Node.textarray 297
NP: Possible null pointer dereference in org.w3c.tidy.Node.findBody(TagTable) 1085

org.w3c.tidy.Report

ViolationLine
BIT: Incompatible bit masks yield a constant result in org.w3c.tidy.Report.encodingError(Lexer,int,int) 923
BIT: Incompatible bit masks yield a constant result in org.w3c.tidy.Report.encodingError(Lexer,int,int) 944

org.w3c.tidy.Clean

ViolationLine
RCN: Redundant comparison to null in org.w3c.tidy.Clean.cleanWord2000(Lexer,Node) 2152

org.w3c.tidy.ValidUTF8Sequence

ViolationLine
EI2: org.w3c.tidy.ValidUTF8Sequence.<init>(int,int,int,char[]) may expose internal representation by storing an externally mutable object into org/w3c/tidy/ValidUTF8Sequence.validBytes 95
UrF: Unread field: org.w3c.tidy.ValidUTF8Sequence.numBytes 0

org.w3c.tidy.PPrint

ViolationLine
UCF: Useless control flow in org.w3c.tidy.PPrint.printScriptStyle(Out,short,int,Lexer,Node) 1871

org.w3c.tidy.AttributeTable

ViolationLine
MS: org.w3c.tidy.AttributeTable.attrHref should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrSrc should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrId should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrName should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrSummary should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrAlt should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrLongdesc should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrUsemap should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrIsmap should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrLanguage should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrType should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrTitle should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrXmlns should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrValue should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrContent should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrDatafld should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrWidth should be package protected 0
MS: org.w3c.tidy.AttributeTable.attrHeight should be package protected 0

org.w3c.tidy.Lexer$W3CVersionInfo

ViolationLine
UrF: Unread field: org.w3c.tidy.Lexer$W3CVersionInfo.profile 0