| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.IOException' - details... | 29 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Collection' - details... | 35 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.distribute.RemoteFile' - details... | 40 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 131 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 246 |
| Avoid unused local variables such as 'theFoundIDs'. - details... | 348 |
| These nested if statements could be combined - details... | 565 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 302 |
| These nested if statements could be combined - details... | 554 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'index'. - details... | 122 |
| Violation | Line |
|---|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. - details... | 247 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'checkArgs(PageContext,String,String,String)'. - details... | 246 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.UnknownID' - details... | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.security.DigestInputStream' - details... | 9 |
| Avoid unused imports such as 'dk.netarkivet.common.CommonSettings' - details... | 13 |
| Avoid unused imports such as 'dk.netarkivet.common.utils.MD5' - details... | 17 |
| Avoid unused imports such as 'dk.netarkivet.common.utils.StreamUtils' - details... | 19 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package - details... | 37 |
| Avoid unused private fields such as 'log'. - details... | 52 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 175 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 229 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 29 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 30 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 330 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 32 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 30 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. - details... | 47 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'taskId'. - details... | 64 |
| Avoid unused private fields such as 'task'. - details... | 69 |
| Avoid unused private fields such as 'secondsBeforeFirstExec'. - details... | 75 |
| Avoid unused private fields such as 'secondsBetweenExec'. - details... | 80 |
| Avoid unused private fields such as 'future'. - details... | 85 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.PermissionDenied' - details... | 37 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 51 |
| These nested if statements could be combined - details... | 54 |
| Avoid unused local variables such as 'counter'. - details... | 75 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 65 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'newNode'. - details... | 144 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 31 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IllegalState' - details... | 32 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'MAX_EXCEPTIONS'. - details... | 335 |
| Violation | Line |
|---|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. - details... | 144 |
| Violation | Line |
|---|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. - details... | 118 |
| Violation | Line |
|---|---|
| Avoid empty finally blocks - details... | 79 |
| Violation | Line |
|---|---|
| An empty statement (semicolon) not part of a loop - details... | 1532 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.regex.Pattern' - details... | 27 |
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.HarvestDocumentation' - details... | 30 |
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.controller.BnfHeritrixController' - details... | 31 |
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.distribute.HarvesterReadyMessage' - details... | 32 |
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.frontier.TopTotalEnqueuesFilter' - details... | 33 |
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.report.HarvestReport' - details... | 34 |
| Avoid unused imports such as 'dk.netarkivet.harvester.scheduler.JobDispatcher' - details... | 35 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 36 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 36 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 31 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.UnknownID' - details... | 32 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 36 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.PermissionDenied' - details... | 62 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.UnknownID' - details... | 63 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IllegalState' - details... | 32 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.PermissionDenied' - details... | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 35 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'javax.servlet.jsp.PageContext' - details... | 27 |
| Avoid unused imports such as 'dk.netarkivet.common.utils.I18n' - details... | 52 |
| Avoid unused imports such as 'dk.netarkivet.harvester.HarvesterSettings' - details... | 53 |
| Avoid unused imports such as 'dk.netarkivet.harvester.webinterface.EventHarvestUtil' - details... | 54 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 36 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.frontier.FrontierReportFilter' - details... | 31 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.frontier.FrontierReportFilter' - details... | 55 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 29 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 30 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.PermissionDenied' - details... | 31 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.UnknownID' - details... | 32 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.datamodel.DBSpecifics' - details... | 43 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 135 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.datamodel.DBSpecifics' - details... | 43 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.datamodel.DBSpecifics' - details... | 40 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 32 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 234 |
| Avoid empty catch blocks - details... | 254 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 430 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'crawlDir'. - details... | 625 |
| Avoid unused private methods such as 'executeMBeanOperation(CrawlServiceOperation,String)'. - details... | 711 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.monitor.HarvestMonitor' - details... | 39 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'executeHeritrixCommand(String,String)'. - details... | 490 |
| Avoid unused private methods such as 'executeCrawlJobCommand(String,String)'. - details... | 504 |
| Avoid unused private methods such as 'getHeritrixAttribute(String)'. - details... | 515 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.HeritrixLauncher' - details... | 34 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.scheduler.JobDispatcher' - details... | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.scheduler.HarvestSchedulerMonitorServer' - details... | 35 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.harvesting.monitor.HarvestMonitor' - details... | 41 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'primaryKey'. - details... | 116 |
| Avoid unused private fields such as 'domainNameKey'. - details... | 119 |
| Avoid unused private fields such as 'totalSpendKey'. - details... | 122 |
| Avoid unused private fields such as 'currentSizeKey'. - details... | 125 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.archive.crawler.frontier.WorkQueue' - details... | 27 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 348 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.harvester.HarvesterSettings' - details... | 39 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 37 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 276 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'i18n'. - details... | 296 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 322 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 160 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 32 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 30 |
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 31 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks - details... | 107 |
| Avoid empty catch blocks - details... | 140 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.IOFailure' - details... | 32 |
| Violation | Line |
|---|---|
| These nested if statements could be combined - details... | 286 |
| These nested if statements could be combined - details... | 289 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'uri'. - details... | 49 |
| Avoid unused private fields such as 'responseCode'. - details... | 51 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'dk.netarkivet.common.exceptions.ArgumentNotValid' - details... | 31 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.mortbay.jetty.Handler' - details... | 37 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.FileNotFoundException' - details... | 29 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'SCHEMES_KEY'. - details... | 223 |
| These nested if statements could be combined - details... | 438 |
| Avoid empty if statements - details... | 644 |
| Avoid empty catch blocks - details... | 780 |