PMD Results
The following document contains the results of PMD 5.0.2.
Files
org/paneris/bibliomania/Author.java
Violation | Line |
---|
Useless parentheses. | 127 |
Useless parentheses. | 154 |
org/paneris/bibliomania/BatchImporter.java
Violation | Line |
---|
Avoid empty catch blocks | 285 - 286 |
org/paneris/bibliomania/Bib.java
Violation | Line |
---|
These nested if statements could be combined | 128 - 129 |
org/paneris/bibliomania/BibliomaniaDatabase.java
Violation | Line |
---|
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
Violation | Line |
---|
Useless parentheses. | 25 |
Useless parentheses. | 25 |
org/paneris/bibliomania/Book.java
Violation | Line |
---|
Useless parentheses. | 154 |
Useless parentheses. | 159 - 161 |
Useless parentheses. | 186 |
Avoid empty catch blocks | 248 - 249 |
org/paneris/bibliomania/Chapter.java
Violation | Line |
---|
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 combined | 221 - 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
Violation | Line |
---|
Do not hard code the IP address | 41 |
Useless parentheses. | 45 - 46 |
Avoid empty catch blocks | 199 |
Avoid empty catch blocks | 200 |
org/paneris/bibliomania/DownloadFile.java
Violation | Line |
---|
Useless parentheses. | 76 |
Useless parentheses. | 99 |
Useless parentheses. | 171 |
org/paneris/bibliomania/OldUrlRedirect.java
Violation | Line |
---|
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
Violation | Line |
---|
Avoid unnecessary temporaries when converting primitives to Strings | 58 |
org/paneris/bibliomania/Section.java
Violation | Line |
---|
Useless parentheses. | 37 |
org/paneris/bibliomania/ShowNotIndexed.java
Violation | Line |
---|
Avoid empty catch blocks | 34 |
org/paneris/bibliomania/Unit.java
Violation | Line |
---|
Avoid empty catch blocks | 179 |
Avoid empty catch blocks | 197 |
Avoid empty catch blocks | 210 |
org/paneris/bibliomania/fti/AnchorFinder.java
Violation | Line |
---|
Useless parentheses. | 20 |
Avoid empty catch blocks | 46 |
org/paneris/bibliomania/fti/ContextSearchResults.java
Violation | Line |
---|
Useless parentheses. | 89 |
Avoid empty catch blocks | 112 - 113 |
Avoid empty catch blocks | 192 - 193 |
org/paneris/bibliomania/fti/IndexCursor.java
Violation | Line |
---|
Avoid empty catch blocks | 40 |
org/paneris/bibliomania/fti/IndexOther.java
Violation | Line |
---|
Avoid empty catch blocks | 339 |
Avoid empty catch blocks | 401 |
org/paneris/bibliomania/fti/IndexTokenizer.java
Violation | Line |
---|
Useless parentheses. | 134 |
Avoid empty while statements | 161 |
org/paneris/bibliomania/fti/StringDbHash.java
Violation | Line |
---|
Do not start a literal by 0 unless its an octal value | 40 |
org/paneris/bibliomania/fti/TextStream.java
Violation | Line |
---|
Avoid empty catch blocks | 105 |
org/paneris/bibliomania/loadtest/LoadTest.java
Violation | Line |
---|
Avoid empty while statements | 76 |
org/paneris/bibliomania/logs/LogAnalysis.java
Violation | Line |
---|
Useless parentheses. | 141 |
Useless parentheses. | 141 |
Useless parentheses. | 141 |
These nested if statements could be combined | 163 |
Avoid empty catch blocks | 338 |
org/paneris/bibliomania/metasearch/Metasearch.java
Violation | Line |
---|
Avoid empty catch blocks | 58 - 59 |
Avoid empty catch blocks | 139 - 140 |
org/paneris/bibliomania/metasearch/amazon/Backend.java
Violation | Line |
---|
Avoid empty catch blocks | 53 - 54 |
org/paneris/bibliomania/metasearch/amazon/BookPage.java
Violation | Line |
---|
Useless parentheses. | 31 |
Avoid empty catch blocks | 33 - 34 |
org/paneris/bibliomania/metasearch/bob/BookPage.java
Violation | Line |
---|
Avoid empty catch blocks | 31 - 32 |
Avoid empty catch blocks | 33 - 34 |
org/paneris/bibliomania/metasearch/bob/SearchResults.java
Violation | Line |
---|
Avoid empty catch blocks | 52 - 54 |
Avoid empty catch blocks | 57 - 58 |
Avoid empty catch blocks | 59 - 60 |
org/paneris/bibliomania/metasearch/bob/Session.java
Violation | Line |
---|
Avoid empty catch blocks | 179 - 180 |
org/paneris/bibliomania/metasearch/bol/BookPage.java
Violation | Line |
---|
Avoid empty catch blocks | 31 - 32 |
Avoid empty catch blocks | 33 - 34 |
org/paneris/bibliomania/metasearch/bol/SearchResults.java
Violation | Line |
---|
Avoid empty catch blocks | 27 |
Avoid empty catch blocks | 69 - 71 |
Avoid empty catch blocks | 74 - 75 |
Avoid empty catch blocks | 76 - 77 |
org/paneris/bibliomania/metasearch/util/HackParser.java
Violation | Line |
---|
Avoid empty while statements | 35 |
org/paneris/bibliomania/pagination/Pagination.java
Violation | Line |
---|
Useless parentheses. | 242 |
Avoid empty if statements | 474 - 475 |
Avoid empty while statements | 954 |
Avoid empty if statements | 966 - 967 |
Avoid empty catch blocks | 1045 - 1046 |
Avoid empty catch blocks | 1049 - 1050 |
Avoid empty catch blocks | 1053 - 1054 |
org/paneris/bibliomania/poem/dbms/Postgresql.java
Violation | Line |
---|
Overriding method merely calls super | 30 - 32 |
org/paneris/bibliomania/population/KeyDotTxtFilter.java
Violation | Line |
---|
Avoid empty if statements | 114 |
org/paneris/bibliomania/shopping/BibliomaniaShoppingTrolley.java
Violation | Line |
---|
Useless parentheses. | 402 |
org/paneris/bibliomania/shopping/BibliomaniaShoppingTrolleyItem.java
Violation | Line |
---|
Useless parentheses. | 50 |