PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
820

Files

FilesViolations
com/sun/syndication/fetcher/FetcherEvent.java 3
com/sun/syndication/fetcher/impl/AbstractFeedFetcher.java 2
com/sun/syndication/fetcher/impl/HashMapFeedInfoCache.java 1
com/sun/syndication/fetcher/impl/HttpClientFeedFetcher.java 6
com/sun/syndication/fetcher/impl/HttpURLFeedFetcher.java 4
com/sun/syndication/fetcher/impl/ResponseHandler.java 2
com/sun/syndication/fetcher/samples/FeedAggregator.java 1
com/sun/syndication/fetcher/samples/FeedReader.java 1

com/sun/syndication/fetcher/FetcherEvent.java

ViolationLine
Avoid calls to overridable methods during construction 33
Avoid calls to overridable methods during construction 34
Avoid calls to overridable methods during construction 39

com/sun/syndication/fetcher/impl/AbstractFeedFetcher.java

ViolationLine
Avoid if (x != y) ..; else ..; 52
Avoid calls to overridable methods during construction 65

com/sun/syndication/fetcher/impl/HashMapFeedInfoCache.java

ViolationLine
Avoid calls to overridable methods during construction 51

com/sun/syndication/fetcher/impl/HttpClientFeedFetcher.java

ViolationLine
Avoid calls to overridable methods during construction 58
Avoid calls to overridable methods during construction 64
Avoid if (x != y) ..; else ..; 118
Avoid reassigning parameters such as 'feed' 185
Avoid unused formal parameters such as 'urlStr' 234
Avoid if (x != y) ..; else ..; 244

com/sun/syndication/fetcher/impl/HttpURLFeedFetcher.java

ViolationLine
Avoid calls to overridable methods during construction 83
Avoid if (x != y) ..; else ..; 109
Avoid if (x != y) ..; else ..; 123
Avoid if (x != y) ..; else ..; 263

com/sun/syndication/fetcher/impl/ResponseHandler.java

ViolationLine
Avoid if (x != y) ..; else ..; 51
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor to silence this warning. 57

com/sun/syndication/fetcher/samples/FeedAggregator.java

ViolationLine
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor to silence this warning. 92

com/sun/syndication/fetcher/samples/FeedReader.java

ViolationLine
Avoid unused local variables such as 'feed2' 61