PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
43130

Files

FilesViolations
org/astrogrid/dataservice/impl/sec/EgsoQuerierPlugin.java 4
org/astrogrid/dataservice/impl/sec/SECBindingStub.java 4
org/astrogrid/dataservice/impl/trace/initialiser/Initialise.java 1
org/astrogrid/dataservice/impl/ukssdc/TraceTriServer.java 2
org/astrogrid/dataservice/metadata/UrlResourcePlugin.java 6
org/astrogrid/dataservice/metadata/v0_10/ProxyResourceSupport.java 6
org/astrogrid/dataservice/metadata/v0_10/VoResourceSupport.java 4
org/astrogrid/dataservice/queriers/DefaultPlugin.java 1
org/astrogrid/dataservice/queriers/QuerierManager.java 4
org/astrogrid/dataservice/queriers/QuerierPluginFactory.java 1
org/astrogrid/dataservice/queriers/RawPipeResults.java 1
org/astrogrid/dataservice/queriers/UrlListResults.java 5
org/astrogrid/dataservice/queriers/VotableDomResults.java 1
org/astrogrid/dataservice/queriers/VotableInResults.java 1
org/astrogrid/dataservice/queriers/pal/PalProxyPlugin.java 5
org/astrogrid/dataservice/service/DataServer.java 8
org/astrogrid/dataservice/service/DataServiceStatus.java 1
org/astrogrid/dataservice/service/InstallationSelfCheck.java 2
org/astrogrid/dataservice/service/ServletHelper.java 1
org/astrogrid/dataservice/service/cea/DatacenterApplication.java 2
org/astrogrid/dataservice/service/servlet/ContainerListener.java 2
org/astrogrid/dataservice/service/servlet/Register.java 1
org/astrogrid/dataservice/service/skynode/v074/SkyNodeService.java 2
org/astrogrid/dataservice/service/soap/AxisDataService_v06.java 1
org/astrogrid/dataservice/service/sol/SolarImageQuery.java 1
org/astrogrid/fitsserver/fits/FitsQuerierPlugin.java 10
org/astrogrid/fitsserver/fits/FitsWCS.java 2
org/astrogrid/fitsserver/setup/IndexGenerator.java 17
org/astrogrid/tableserver/jdbc/AdqlSqlMaker.java 2
org/astrogrid/tableserver/jdbc/JdbcPlugin.java 2
org/astrogrid/tableserver/jdbc/StdSqlMaker.java 2
org/astrogrid/tableserver/jdbc/StdSqlWriter.java 1
org/astrogrid/tableserver/jdbc/sqlserver/MicrosoftSqlWriter.java 1
org/astrogrid/tableserver/metadata/TableMetaDocInterpreter.java 2
org/astrogrid/tableserver/metadata/TableMetaDocRenderer.java 6
org/astrogrid/tableserver/metadata/TabularDbResources.java 3
org/astrogrid/tableserver/metadata/TabularSkyServiceResources.java 6
org/astrogrid/tableserver/test/PrecannedResults.java 1
org/astrogrid/tableserver/test/SampleStarsPlugin.java 2
org/astrogrid/webapp/FileServer.java 1
org/astrogrid/webapp/SetProperties.java 2
org/astrogrid/xdbserver/xql/ExistPlugin.java 1
org/astrogrid/xdbserver/xql/XqlMaker.java 2

org/astrogrid/dataservice/impl/sec/EgsoQuerierPlugin.java

ViolationLine
No need to import a type that's in the same package 20
No need to import a type that's in the same package 21
No need to import a type that's in the same package 22
Avoid unused local variables such as 'results' 90

org/astrogrid/dataservice/impl/sec/SECBindingStub.java

ViolationLine
Avoid unused private fields such as 'cachedSerClasses' 11
Avoid unused private fields such as 'cachedSerQNames' 12
Avoid unused private fields such as 'cachedSerFactories' 13
Avoid unused private fields such as 'cachedDeserFactories' 14

org/astrogrid/dataservice/impl/trace/initialiser/Initialise.java

ViolationLine
Avoid unused imports such as 'OutputStreamWriter' 14

org/astrogrid/dataservice/impl/ukssdc/TraceTriServer.java

ViolationLine
Avoid unused imports such as 'Date' 13
Avoid empty catch blocks 140

org/astrogrid/dataservice/metadata/UrlResourcePlugin.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 14
Avoid unused imports such as 'Log' 15
Avoid unused imports such as 'LogFactory' 16
Avoid unused imports such as 'DomHelper' 20
Avoid unused imports such as 'Document' 21
Avoid unused imports such as 'SAXException' 22

org/astrogrid/dataservice/metadata/v0_10/ProxyResourceSupport.java

ViolationLine
Avoid unused imports such as 'FileNotFoundException' 9
Avoid unused imports such as 'URLConnection' 12
Avoid unused imports such as 'ParserConfigurationException' 14
Avoid unused imports such as 'ConfigFactory' 15
No need to import a type that's in the same package 17
Avoid empty catch blocks 53

org/astrogrid/dataservice/metadata/v0_10/VoResourceSupport.java

ViolationLine
Avoid unused local variables such as 'offset' 146
Avoid unused local variables such as 'localZone' 152
Avoid unused local variables such as 'ukcalender' 153
Avoid unused local variables such as 'gmtZone' 154

org/astrogrid/dataservice/queriers/DefaultPlugin.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 13

org/astrogrid/dataservice/queriers/QuerierManager.java

ViolationLine
Avoid unused imports such as 'StatusLogger' 21
Avoid unused imports such as 'TaskStatus' 22
Avoid unused private fields such as 'managerId' 37
Avoid empty catch blocks 336

org/astrogrid/dataservice/queriers/QuerierPluginFactory.java

ViolationLine
Avoid unused private fields such as 'log' 27

org/astrogrid/dataservice/queriers/RawPipeResults.java

ViolationLine
No need to import a type that's in the same package 17

org/astrogrid/dataservice/queriers/UrlListResults.java

ViolationLine
No need to import a type that's in the same package 11
No need to import a type that's in the same package 12
Avoid unused imports such as 'HtmlTableWriter' 17
Avoid unused imports such as 'VoTableWriter' 20
Avoid unused imports such as 'XsvTableWriter' 21

org/astrogrid/dataservice/queriers/VotableDomResults.java

ViolationLine
No need to import a type that's in the same package 15

org/astrogrid/dataservice/queriers/VotableInResults.java

ViolationLine
No need to import a type that's in the same package 15

org/astrogrid/dataservice/queriers/pal/PalProxyPlugin.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 17
Avoid unused imports such as 'DomHelper' 28
Avoid unused imports such as 'Document' 29
Avoid unused imports such as 'Element' 30
Avoid unused imports such as 'SAXException' 31

org/astrogrid/dataservice/service/DataServer.java

ViolationLine
An empty statement (semicolon) not part of a loop 126
Avoid empty catch blocks 126
An empty statement (semicolon) not part of a loop 165
Avoid empty catch blocks 165
An empty statement (semicolon) not part of a loop 199
Avoid empty catch blocks 199
An empty statement (semicolon) not part of a loop 231
Avoid empty catch blocks 231

org/astrogrid/dataservice/service/DataServiceStatus.java

ViolationLine
No need to import a type that's in the same package 18

org/astrogrid/dataservice/service/InstallationSelfCheck.java

ViolationLine
Avoid unused imports such as 'URL' 19
Avoid unused local variables such as 'count' 119

org/astrogrid/dataservice/service/ServletHelper.java

ViolationLine
Avoid unused imports such as 'MalformedURLException' 12

org/astrogrid/dataservice/service/cea/DatacenterApplication.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 18
Avoid empty catch blocks 199

org/astrogrid/dataservice/service/servlet/ContainerListener.java

ViolationLine
Avoid unused imports such as 'MalformedURLException' 7
Avoid unused imports such as 'ServletHelper' 13

org/astrogrid/dataservice/service/servlet/Register.java

ViolationLine
Avoid unused imports such as 'ServletHelper' 17

org/astrogrid/dataservice/service/skynode/v074/SkyNodeService.java

ViolationLine
Avoid empty catch blocks 138
Avoid empty catch blocks 139

org/astrogrid/dataservice/service/soap/AxisDataService_v06.java

ViolationLine
Avoid unused local variables such as 'secontext' 50

org/astrogrid/dataservice/service/sol/SolarImageQuery.java

ViolationLine
Avoid unused local variables such as 'date' 39

org/astrogrid/fitsserver/fits/FitsQuerierPlugin.java

ViolationLine
Avoid unused imports such as 'Ellipse2D' 10
Avoid unused imports such as 'File' 12
Avoid unused imports such as 'URL' 14
Avoid unused imports such as 'Hashtable' 16
Avoid unused imports such as 'ParserConfigurationException' 17
Avoid unused imports such as 'ConfigException' 18
Avoid unused imports such as 'ConfigFactory' 19
Avoid unused imports such as 'XMLResource' 36
Avoid unused local variables such as 'beginQ' 109
Avoid unnecessary return statements 223

org/astrogrid/fitsserver/fits/FitsWCS.java

ViolationLine
Avoid unused local variables such as 'w' 158
Avoid unused local variables such as 'wc' 186

org/astrogrid/fitsserver/setup/IndexGenerator.java

ViolationLine
Avoid unused imports such as 'HttpURLConnection' 19
Avoid unused imports such as 'ParserConfigurationException' 28
Avoid unused imports such as 'HeaderCard' 32
Avoid unused imports such as 'BasicHDU' 33
Avoid unused imports such as 'QuerierPluginException' 37
Avoid unused imports such as 'SAXException' 40
Avoid unused imports such as 'QueryService' 43
Avoid unused imports such as 'ResourceSet' 46
Avoid unused imports such as 'XMLResource' 47
Avoid unused imports such as 'Resource' 48
Avoid unused imports such as 'XMLDBException' 50
Avoid unused local variables such as 'eolComment' 142
Avoid empty 'if' statements 157
Avoid empty catch blocks 175
Avoid unused local variables such as 'fileNamePattern' 366
Avoid unused formal parameters such as 'question' 463
Avoid unused local variables such as 'indexDoc' 482

org/astrogrid/tableserver/jdbc/AdqlSqlMaker.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 19
Avoid empty catch blocks 182

org/astrogrid/tableserver/jdbc/JdbcPlugin.java

ViolationLine
Avoid empty catch blocks 121
Avoid empty catch blocks 179

org/astrogrid/tableserver/jdbc/StdSqlMaker.java

ViolationLine
No need to import a type that's in the same package 16
Avoid unused private fields such as 'log' 25

org/astrogrid/tableserver/jdbc/StdSqlWriter.java

ViolationLine
Avoid unused imports such as 'QueryableResourceReader' 18

org/astrogrid/tableserver/jdbc/sqlserver/MicrosoftSqlWriter.java

ViolationLine
Avoid unused imports such as 'QueryException' 9

org/astrogrid/tableserver/metadata/TableMetaDocInterpreter.java

ViolationLine
No need to import a type that's in the same package 16
No need to import a type that's in the same package 17

org/astrogrid/tableserver/metadata/TableMetaDocRenderer.java

ViolationLine
No need to import a type that's in the same package 7
No need to import a type that's in the same package 8
No need to import a type that's in the same package 9
Avoid unused imports such as 'DomHelper' 14
Avoid unused imports such as 'NodeList' 16
Avoid unused local variables such as 'metadoc' 33

org/astrogrid/tableserver/metadata/TabularDbResources.java

ViolationLine
No need to import a type that's in the same package 15
No need to import a type that's in the same package 16
No need to import a type that's in the same package 17

org/astrogrid/tableserver/metadata/TabularSkyServiceResources.java

ViolationLine
Avoid unused imports such as 'ColumnInfo' 11
No need to import a type that's in the same package 11
Avoid unused imports such as 'TableInfo' 12
No need to import a type that's in the same package 12
No need to import a type that's in the same package 13
Avoid unused local variables such as 'reader' 27

org/astrogrid/tableserver/test/PrecannedResults.java

ViolationLine
Avoid unused private fields such as 'id' 19

org/astrogrid/tableserver/test/SampleStarsPlugin.java

ViolationLine
Avoid unused private fields such as 'sqlDateFormat' 39
Avoid empty catch blocks 141

org/astrogrid/webapp/FileServer.java

ViolationLine
No need to import a type that's in the same package 15

org/astrogrid/webapp/SetProperties.java

ViolationLine
Avoid unused imports such as 'URL' 10
Avoid empty 'if' statements 56

org/astrogrid/xdbserver/xql/ExistPlugin.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 15

org/astrogrid/xdbserver/xql/XqlMaker.java

ViolationLine
Avoid unused imports such as 'ParserConfigurationException' 16
Avoid empty catch blocks 131