PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
38128

Files

FilesViolations
org/astrogrid/dataservice/impl/sec/EgsoQuerierPlugin.java 4
org/astrogrid/dataservice/impl/sec/SECBindingStub.java 4
org/astrogrid/dataservice/impl/ukssdc/TraceTriServer.java 2
org/astrogrid/dataservice/metadata/StdDataTypes.java 1
org/astrogrid/dataservice/metadata/UrlResourcePlugin.java 6
org/astrogrid/dataservice/metadata/queryable/ConeConfigQueryableResource.java 1
org/astrogrid/dataservice/metadata/v0_10/ProxyResourceSupport.java 6
org/astrogrid/dataservice/metadata/v0_10/VoResourceSupport.java 4
org/astrogrid/dataservice/queriers/QuerierManager.java 2
org/astrogrid/dataservice/queriers/QuerierPluginFactory.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/service/DataServer.java 9
org/astrogrid/dataservice/service/DataServiceStatus.java 1
org/astrogrid/dataservice/service/InstallationPropertiesCheck.java 1
org/astrogrid/dataservice/service/InstallationSelfCheck.java 9
org/astrogrid/dataservice/service/InstallationSyntaxCheck.java 2
org/astrogrid/dataservice/service/cea/DatacenterApplication.java 5
org/astrogrid/dataservice/service/cone/SubmitCone.java 3
org/astrogrid/dataservice/service/servlet/ContainerListener.java 2
org/astrogrid/dataservice/service/servlet/Register.java 5
org/astrogrid/dataservice/service/servlet/SubmitQuery.java 2
org/astrogrid/dataservice/service/skynode/v074/SkyNodeService.java 2
org/astrogrid/dataservice/service/sol/SolarImageQuery.java 1
org/astrogrid/monitor/Monitor.java 3
org/astrogrid/tableserver/jdbc/AdqlSqlMaker.java 15
org/astrogrid/tableserver/jdbc/JdbcPlugin.java 2
org/astrogrid/tableserver/jdbc/SqlResults.java 3
org/astrogrid/tableserver/metadata/TableMetaDocInterpreter.java 3
org/astrogrid/tableserver/metadata/TableMetaDocRenderer.java 4
org/astrogrid/tableserver/metadata/TabularDbResources.java 4
org/astrogrid/tableserver/metadata/TabularSkyServiceResources.java 6
org/astrogrid/tableserver/out/VoTableWriter.java 1
org/astrogrid/tableserver/test/PrecannedResults.java 1
org/astrogrid/tableserver/test/SampleStarsPlugin.java 3
org/astrogrid/webapp/FileServer.java 1
org/astrogrid/webapp/SetProperties.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' 94

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/ukssdc/TraceTriServer.java

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

org/astrogrid/dataservice/metadata/StdDataTypes.java

ViolationLine
Avoid unused imports such as 'VoTableWriter' 19

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/queryable/ConeConfigQueryableResource.java

ViolationLine
Avoid duplicate imports such as 'org.astrogrid.cfg.ConfigFactory' 14

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 imports such as 'Calendar' 11
Avoid unused imports such as 'GregorianCalendar' 13
Avoid unused imports such as 'Locale' 14
Avoid unused imports such as 'TimeZone' 15

org/astrogrid/dataservice/queriers/QuerierManager.java

ViolationLine
Avoid unused private fields such as 'managerId' 36
Avoid empty catch blocks 338

org/astrogrid/dataservice/queriers/QuerierPluginFactory.java

ViolationLine
Avoid unused private fields such as 'log' 27

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/service/DataServer.java

ViolationLine
Avoid unused imports such as 'ReturnSpec' 24
An empty statement (semicolon) not part of a loop 122
Avoid empty catch blocks 122
An empty statement (semicolon) not part of a loop 162
Avoid empty catch blocks 162
An empty statement (semicolon) not part of a loop 197
Avoid empty catch blocks 197
An empty statement (semicolon) not part of a loop 229
Avoid empty catch blocks 229

org/astrogrid/dataservice/service/DataServiceStatus.java

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

org/astrogrid/dataservice/service/InstallationPropertiesCheck.java

ViolationLine
Avoid unused local variables such as 'test' 35

org/astrogrid/dataservice/service/InstallationSelfCheck.java

ViolationLine
Avoid unused imports such as 'ByteArrayInputStream' 14
Avoid unused imports such as 'TestCase' 21
Avoid unused imports such as 'PropertyNotFoundException' 23
Avoid unused imports such as 'NullTarget' 33
Avoid unused imports such as 'InputStreamReader' 45
Avoid unused imports such as 'Piper' 46
Avoid unused local variables such as 'ibytes' 181
Avoid unused local variables such as 'imult' 182
Avoid unused local variables such as 'read' 183

org/astrogrid/dataservice/service/InstallationSyntaxCheck.java

ViolationLine
Avoid unused imports such as 'ByteArrayInputStream' 13
Avoid empty catch blocks 92

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

ViolationLine
Avoid unused imports such as 'URL' 17
Avoid unused imports such as 'HomespaceSourceTarget' 38
Avoid unused imports such as 'SAXException' 43
Avoid unused imports such as 'IVORN' 45
Avoid unused local variables such as 'slashIdx' 195

org/astrogrid/dataservice/service/cone/SubmitCone.java

ViolationLine
Avoid unused imports such as 'ConeConfigQueryableResource' 12
Avoid unused imports such as 'SearchGroup' 13
Avoid unused imports such as 'DatabaseAccessException' 23

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
Avoid unused imports such as 'RegistryService' 20
Avoid unused imports such as 'VoResourceSupport' 21
Avoid unused imports such as 'Document' 23
Avoid unused imports such as 'DomHelper' 24

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

ViolationLine
Avoid unused imports such as 'URL' 8
Avoid unused local variables such as 'user' 67

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

ViolationLine
Avoid empty catch blocks 139
Avoid empty catch blocks 140

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

ViolationLine
Avoid unused local variables such as 'date' 39

org/astrogrid/monitor/Monitor.java

ViolationLine
Avoid unused local variables such as 'in' 101
Avoid unused local variables such as 'status' 116
Avoid unused local variables such as 'response' 139

org/astrogrid/tableserver/jdbc/AdqlSqlMaker.java

ViolationLine
Avoid unused imports such as 'IOException' 15
Avoid unused imports such as 'StringWriter' 18
Avoid unused imports such as 'ParserConfigurationException' 19
Avoid unused imports such as 'Transformer' 20
Avoid unused imports such as 'TransformerConfigurationException' 21
Avoid unused imports such as 'TransformerException' 22
Avoid unused imports such as 'TransformerFactory' 23
Avoid unused imports such as 'DOMSource' 24
Avoid unused imports such as 'StreamResult' 25
Avoid unused imports such as 'StreamSource' 26
Avoid unused imports such as 'DomHelper' 32
Avoid unused imports such as 'Document' 33
Avoid unused imports such as 'Element' 34
Avoid unused imports such as 'SAXException' 35
Avoid empty catch blocks 86

org/astrogrid/tableserver/jdbc/JdbcPlugin.java

ViolationLine
Avoid empty catch blocks 172
Avoid empty catch blocks 232

org/astrogrid/tableserver/jdbc/SqlResults.java

ViolationLine
Avoid unused local variables such as 'dummyColIndex' 102
Avoid unused local variables such as 'colDefs' 119
Avoid empty catch blocks 169

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
Avoid duplicate imports such as 'org.astrogrid.cfg.ConfigFactory' 26

org/astrogrid/tableserver/metadata/TableMetaDocRenderer.java

ViolationLine
No need to import a type that's in the same package 10
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 local variables such as 'metadoc' 49

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
Avoid unused imports such as 'UcdException' 19

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/out/VoTableWriter.java

ViolationLine
Avoid unused imports such as 'UcdException' 21

org/astrogrid/tableserver/test/PrecannedResults.java

ViolationLine
Avoid unused private fields such as 'id' 19

org/astrogrid/tableserver/test/SampleStarsPlugin.java

ViolationLine
Avoid unused imports such as 'TabularSkyServiceResources' 25
Avoid unused private fields such as 'sqlDateFormat' 39
Avoid empty catch blocks 163

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