PMD Results

The following document contains the results of PMD 4.2.2.

Files

com/octo/captcha/component/image/backgroundgenerator/FileReaderRandomBackgroundGenerator.java

Violation Line
Avoid empty catch blocks 148 - 150

com/octo/captcha/component/image/deformation/PuzzleImageDeformation.java

Violation Line
Avoid unused imports such as 'com.octo.captcha.component.image.utils.ToolkitFactory' 10
Avoid unused imports such as 'java.awt.image.ImageFilter' 15
Avoid unused local variables such as 'filtered'. 85
Avoid unused local variables such as 'filter'. 92

com/octo/captcha/component/image/fontgenerator/RandomFontGenerator.java

Violation Line
These nested if statements could be combined 201 - 205

com/octo/captcha/component/image/textpaster/AbstractTextPaster.java

Violation Line
Avoid unused imports such as 'java.text.AttributedString' 17

com/octo/captcha/component/image/textpaster/Glyphs.java

Violation Line
Avoid unused local variables such as 'RSS'. 233

com/octo/captcha/component/image/textpaster/glyphsdecorator/BaffleGlyphsDecorator.java

Violation Line
Avoid unused imports such as 'com.octo.captcha.component.image.textpaster.MutableAttributedString' 11
Avoid unused imports such as 'com.octo.captcha.component.image.textpaster.textdecorator.TextDecorator' 13

com/octo/captcha/component/image/textpaster/textdecorator/BaffleTextDecorator.java

Violation Line
Avoid unused imports such as 'java.text.AttributedString' 17

com/octo/captcha/component/image/textpaster/textdecorator/LineTextDecorator.java

Violation Line
Avoid unused imports such as 'java.text.AttributedString' 18

com/octo/captcha/component/image/textpaster/textdecorator/TextDecorator.java

Violation Line
Avoid unused imports such as 'java.text.AttributedString' 12

com/octo/captcha/engine/image/gimpy/BaffleListGimpyEngine.java

Violation Line
Avoid unused imports such as 'com.sun.jndi.ldap.Ber' 33

com/octo/captcha/engine/image/gimpy/DefaultGimpyEngine.java

Violation Line
Avoid unused imports such as 'com.octo.captcha.component.image.backgroundgenerator.BackgroundGenerator' 21
Avoid unused imports such as 'com.octo.captcha.component.image.backgroundgenerator.UniColorBackgroundGenerator' 22
Avoid unused imports such as 'com.octo.captcha.component.image.color.SingleColorGenerator' 23
Avoid unused imports such as 'com.octo.captcha.component.image.deformation.ImageDeformation' 24
Avoid unused imports such as 'com.octo.captcha.component.image.deformation.ImageDeformationByFilters' 25
Avoid unused imports such as 'com.octo.captcha.component.image.deformation.ImageDeformationByBufferedImageOp' 26
Avoid unused imports such as 'com.octo.captcha.component.image.fontgenerator.FontGenerator' 27
Avoid unused imports such as 'com.octo.captcha.component.image.fontgenerator.RandomFontGenerator' 28
Avoid unused imports such as 'com.octo.captcha.component.image.textpaster.TextPaster' 29
Avoid unused imports such as 'com.octo.captcha.component.image.textpaster.DecoratedRandomTextPaster' 30
Avoid unused imports such as 'com.octo.captcha.component.image.textpaster.textdecorator.BaffleTextDecorator' 31
Avoid unused imports such as 'com.octo.captcha.component.image.textpaster.textdecorator.TextDecorator' 32
Avoid unused imports such as 'com.octo.captcha.component.image.wordtoimage.DeformedComposedWordToImage' 33
Avoid unused imports such as 'com.octo.captcha.engine.image.ListImageCaptchaEngine' 34
Avoid unused imports such as 'java.awt.image.ImageFilter' 37
Avoid unused imports such as 'java.util.ArrayList' 38

com/octo/captcha/engine/image/gimpy/DeformedBaffleListGimpyEngine.java

Violation Line
Avoid unused local variables such as 'emboss'. 54

com/octo/captcha/engine/image/gimpy/HotmailEngine2008.java

Violation Line
Avoid unused imports such as 'com.jhlabs.image.PinchFilter' 22