PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/commons/feedparser/AtomFeedParser.java

Violation Line
Avoid unused private methods such as 'selectSingleElement(String,org.jdom.Document)'. 360

org/apache/commons/feedparser/ContentDetector.java

Violation Line
Avoid empty try blocks 136 - 140

org/apache/commons/feedparser/FeedParserImpl.java

Violation Line
Avoid unused private fields such as 'log'. 40

org/apache/commons/feedparser/FOAFFeedParser.java

Violation Line
Avoid unused private methods such as 'doParseKnows(FeedParserListener,FeedParserState)'. 160 - 161
Avoid unused method parameters such as 'listener'. 160 - 163
Avoid unused method parameters such as 'state'. 160 - 163

org/apache/commons/feedparser/locate/blogservice/Blosxom.java

Violation Line
Avoid unused imports such as 'java.net.MalformedURLException' 19

org/apache/commons/feedparser/locate/FeedReference.java

Violation Line
Ensure you override both equals() and hashCode() 85

org/apache/commons/feedparser/locate/LinkLocator.java

Violation Line
These nested if statements could be combined 194 - 199

org/apache/commons/feedparser/locate/ResourceExpander.java

Violation Line
Avoid unused local variables such as 'firstIndex'. 229

org/apache/commons/feedparser/MetaFeedParser.java

Violation Line
Avoid empty catch blocks 248 - 250

org/apache/commons/feedparser/network/BlockingResourceRequest.java

Violation Line
Avoid unused local variables such as 'resource'. 41
Avoid empty try blocks 71 - 73

org/apache/commons/feedparser/network/ResourceRequestFactory.java

Violation Line
Avoid unused private fields such as 'log'. 35

org/apache/commons/feedparser/network/URLCookieManager.java

Violation Line
Avoid unused local variables such as 'cookies'. 90
Avoid unused local variables such as 'site'. 92

org/apache/commons/feedparser/network/URLResourceRequest.java

Violation Line
Avoid unused local variables such as 'resource'. 94
Avoid unused local variables such as 'resource'. 140

org/apache/commons/feedparser/output/RSS10_OutputFeedParserListener.java

Violation Line
Avoid unused private fields such as 'out'. 33

org/apache/commons/feedparser/post/MetaWeblogPostAgent.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 51
Avoid unused local variables such as 'v'. 53

org/apache/commons/feedparser/test/DebugPerformance.java

Violation Line
Avoid unused local variables such as 'test'. 110

org/apache/commons/feedparser/test/TestPerformance.java

Violation Line
Avoid unused local variables such as 'test'. 116

org/apache/commons/feedparser/test/TestProbeLocator.java

Violation Line
Avoid unused method parameters such as 'hasRSSFeed'. 579 - 605
Avoid unused method parameters such as 'atomFeedURL'. 579 - 605
Avoid unused method parameters such as 'hasAtomFeed'. 579 - 605
Avoid unused method parameters such as 'rssFeedURL'. 579 - 605
Avoid unused method parameters such as 'numberOfFeeds'. 607 - 637
Avoid unused method parameters such as 'feedType'. 607 - 637
Avoid unused method parameters such as 'correctBlogService'. 607 - 637
Avoid unused method parameters such as 'feedURL'. 607 - 637