PMD Results

The following document contains the results of PMD 5.0.2.

Files

org/paneris/bibliomania/Author.java

ViolationLine
Useless parentheses.127
Useless parentheses.154

org/paneris/bibliomania/BatchImporter.java

ViolationLine
Avoid empty catch blocks285 - 286

org/paneris/bibliomania/Bib.java

ViolationLine
These nested if statements could be combined128 - 129

org/paneris/bibliomania/BibliomaniaDatabase.java

ViolationLine
Useless parentheses.902
Useless parentheses.905
Double checked locking is not thread safe in Java.960 - 976
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.1478

org/paneris/bibliomania/Board.java

ViolationLine
Useless parentheses.25
Useless parentheses.25

org/paneris/bibliomania/Book.java

ViolationLine
Useless parentheses.154
Useless parentheses.159 - 161
Useless parentheses.186
Avoid empty catch blocks248 - 249

org/paneris/bibliomania/Chapter.java

ViolationLine
Useless parentheses.178
Useless parentheses.180
Useless parentheses.181
Useless parentheses.183
Useless parentheses.184
Useless parentheses.185
Useless parentheses.211
These nested if statements could be combined221 - 229
Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped.284

org/paneris/bibliomania/CommandServer.java

ViolationLine
Do not hard code the IP address 41
Useless parentheses.45 - 46
Avoid empty catch blocks199
Avoid empty catch blocks200

org/paneris/bibliomania/DownloadFile.java

ViolationLine
Useless parentheses.76
Useless parentheses.99
Useless parentheses.171

org/paneris/bibliomania/OldUrlRedirect.java

ViolationLine
Avoid using a branching statement as the last in a loop.36
Avoid using a branching statement as the last in a loop.40
Avoid using a branching statement as the last in a loop.44
Avoid using a branching statement as the last in a loop.48

org/paneris/bibliomania/ResetAuthorSequence.java

ViolationLine
Avoid unnecessary temporaries when converting primitives to Strings58

org/paneris/bibliomania/Section.java

ViolationLine
Useless parentheses.37

org/paneris/bibliomania/ShowNotIndexed.java

ViolationLine
Avoid empty catch blocks34

org/paneris/bibliomania/Unit.java

ViolationLine
Avoid empty catch blocks179
Avoid empty catch blocks197
Avoid empty catch blocks210

org/paneris/bibliomania/fti/AnchorFinder.java

ViolationLine
Useless parentheses.20
Avoid empty catch blocks46

org/paneris/bibliomania/fti/ContextSearchResults.java

ViolationLine
Useless parentheses.89
Avoid empty catch blocks112 - 113
Avoid empty catch blocks192 - 193

org/paneris/bibliomania/fti/IndexCursor.java

ViolationLine
Avoid empty catch blocks40

org/paneris/bibliomania/fti/IndexOther.java

ViolationLine
Avoid empty catch blocks339
Avoid empty catch blocks401

org/paneris/bibliomania/fti/IndexTokenizer.java

ViolationLine
Useless parentheses.134
Avoid empty while statements161

org/paneris/bibliomania/fti/StringDbHash.java

ViolationLine
Do not start a literal by 0 unless its an octal value40

org/paneris/bibliomania/fti/TextStream.java

ViolationLine
Avoid empty catch blocks105

org/paneris/bibliomania/loadtest/LoadTest.java

ViolationLine
Avoid empty while statements76

org/paneris/bibliomania/logs/LogAnalysis.java

ViolationLine
Useless parentheses.141
Useless parentheses.141
Useless parentheses.141
These nested if statements could be combined163
Avoid empty catch blocks338

org/paneris/bibliomania/metasearch/Metasearch.java

ViolationLine
Avoid empty catch blocks58 - 59
Avoid empty catch blocks139 - 140

org/paneris/bibliomania/metasearch/amazon/Backend.java

ViolationLine
Avoid empty catch blocks53 - 54

org/paneris/bibliomania/metasearch/amazon/BookPage.java

ViolationLine
Useless parentheses.31
Avoid empty catch blocks33 - 34

org/paneris/bibliomania/metasearch/bob/BookPage.java

ViolationLine
Avoid empty catch blocks31 - 32
Avoid empty catch blocks33 - 34

org/paneris/bibliomania/metasearch/bob/SearchResults.java

ViolationLine
Avoid empty catch blocks52 - 54
Avoid empty catch blocks57 - 58
Avoid empty catch blocks59 - 60

org/paneris/bibliomania/metasearch/bob/Session.java

ViolationLine
Avoid empty catch blocks179 - 180

org/paneris/bibliomania/metasearch/bol/BookPage.java

ViolationLine
Avoid empty catch blocks31 - 32
Avoid empty catch blocks33 - 34

org/paneris/bibliomania/metasearch/bol/SearchResults.java

ViolationLine
Avoid empty catch blocks27
Avoid empty catch blocks69 - 71
Avoid empty catch blocks74 - 75
Avoid empty catch blocks76 - 77

org/paneris/bibliomania/metasearch/util/HackParser.java

ViolationLine
Avoid empty while statements35

org/paneris/bibliomania/pagination/Pagination.java

ViolationLine
Useless parentheses.242
Avoid empty if statements474 - 475
Avoid empty while statements954
Avoid empty if statements966 - 967
Avoid empty catch blocks1045 - 1046
Avoid empty catch blocks1049 - 1050
Avoid empty catch blocks1053 - 1054

org/paneris/bibliomania/poem/dbms/Postgresql.java

ViolationLine
Overriding method merely calls super30 - 32

org/paneris/bibliomania/population/KeyDotTxtFilter.java

ViolationLine
Avoid empty if statements114

org/paneris/bibliomania/shopping/BibliomaniaShoppingTrolley.java

ViolationLine
Useless parentheses.402

org/paneris/bibliomania/shopping/BibliomaniaShoppingTrolleyItem.java

ViolationLine
Useless parentheses.50