PMD Results
The following document contains the results of PMD 6.33.0.
Violations By Priority
Priority 3
Oversigt Core - com/hlag/oversigt/connect/jira/UnlimitedJiraClient.java
Oversigt Core - com/hlag/oversigt/connect/ssh/SshConnection.java
Oversigt Core - com/hlag/oversigt/controller/DashboardController.java
Oversigt Core - com/hlag/oversigt/controller/EventSourceDescriptorController.java
Oversigt Core - com/hlag/oversigt/controller/EventSourceInstanceController.java
Oversigt Core - com/hlag/oversigt/core/HttpHandlers.java
Oversigt Core - com/hlag/oversigt/core/configuration/OversigtConfiguration.java
Oversigt Core - com/hlag/oversigt/properties/SerializableProperty.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'static' on annotation 'Member': nested annotation types are implicitly static |
69–75 |
UnnecessaryModifier |
Unnecessary modifier 'static' on annotation 'Description': nested annotation types are implicitly static |
85–92 |
Oversigt Core - com/hlag/oversigt/security/LdapAuthenticator.java
Oversigt Core - com/hlag/oversigt/sources/InternetTextExtractionEventSource.java
Oversigt Core - com/hlag/oversigt/sources/TimelineEventSource.java
Oversigt Core - com/hlag/oversigt/storage/JdbcDatabase.java
Oversigt Core - com/hlag/oversigt/util/ImageUtil.java
Oversigt Core - com/hlag/oversigt/util/JsonUtils.java
Oversigt Core - com/hlag/oversigt/util/TypeUtils.java
Oversigt Core - com/hlag/oversigt/validate/UserId.java
Oversigt Core - com/hlag/oversigt/web/resources/Authentication.java
Oversigt Core - com/hlag/oversigt/web/resources/DashboardResource.java
Oversigt Core - com/hlag/oversigt/web/resources/SystemResource.java
Priority 4
Oversigt Core - com/hlag/oversigt/connect/exchange/UnlimitedExchangeClient.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
213 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
228 |
Oversigt Core - com/hlag/oversigt/connect/ssh/SshConnectionWithPassword.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' |
23 |
Oversigt Core - com/hlag/oversigt/core/HttpHandlers.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
261 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Servlets.defaultContainer' due to existing static import 'io.undertow.servlet.Servlets.defaultContainer' |
472 |
Oversigt Core - com/hlag/oversigt/sources/SqlGraphEventSource.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
71 |
Oversigt Core - com/hlag/oversigt/storage/JdbcDatabase.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
150 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
364 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
455 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
518 |
Oversigt Core - com/hlag/oversigt/storage/SqliteDialect.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
38 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
60 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
76 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
92 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
99 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
129 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
147 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
153 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
161 |
Oversigt Core - com/hlag/oversigt/util/FileUtils.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
47 |
Oversigt Core - com/hlag/oversigt/util/SSLUtils.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.security.cert.X509Certificate' due to existing import 'java.security.cert.X509Certificate' |
76 |
Oversigt Core - com/hlag/oversigt/web/resources/DashboardResource.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toSet' due to existing static import 'java.util.stream.Collectors.toSet' |
346 |
Oversigt Core - com/hlag/oversigt/web/resources/SerializablePropertyResource.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Response.ok' due to existing static import 'javax.ws.rs.core.Response.ok' |
259 |
Oversigt Core - com/hlag/oversigt/web/resources/SystemResource.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
167 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
197 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
199 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
226 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
283 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'ErrorResponse.notFound' due to existing static import 'com.hlag.oversigt.web.api.ErrorResponse.notFound' |
315 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
416 |
Files
Oversigt Core - com/hlag/oversigt/connect/exchange/UnlimitedExchangeClient.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
213 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
228 |
Oversigt Core - com/hlag/oversigt/connect/jira/UnlimitedJiraClient.java
Oversigt Core - com/hlag/oversigt/connect/ssh/SshConnection.java
Oversigt Core - com/hlag/oversigt/connect/ssh/SshConnectionWithPassword.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' |
4 |
23 |
Oversigt Core - com/hlag/oversigt/controller/DashboardController.java
Oversigt Core - com/hlag/oversigt/controller/EventSourceDescriptorController.java
Oversigt Core - com/hlag/oversigt/controller/EventSourceInstanceController.java
Oversigt Core - com/hlag/oversigt/core/HttpHandlers.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
1–577 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
261 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Servlets.defaultContainer' due to existing static import 'io.undertow.servlet.Servlets.defaultContainer' |
4 |
472 |
Oversigt Core - com/hlag/oversigt/core/configuration/OversigtConfiguration.java
Oversigt Core - com/hlag/oversigt/properties/SerializableProperty.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'static' on annotation 'Member': nested annotation types are implicitly static |
3 |
69–75 |
UnnecessaryModifier |
Unnecessary modifier 'static' on annotation 'Description': nested annotation types are implicitly static |
3 |
85–92 |
Oversigt Core - com/hlag/oversigt/security/LdapAuthenticator.java
Oversigt Core - com/hlag/oversigt/sources/InternetTextExtractionEventSource.java
Oversigt Core - com/hlag/oversigt/sources/SqlGraphEventSource.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
71 |
Oversigt Core - com/hlag/oversigt/sources/TimelineEventSource.java
Oversigt Core - com/hlag/oversigt/storage/JdbcDatabase.java
Oversigt Core - com/hlag/oversigt/storage/SqliteDialect.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
38 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
60 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
76 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
92 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
99 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
129 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
147 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
153 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.joining' due to existing static import 'java.util.stream.Collectors.joining' |
4 |
161 |
Oversigt Core - com/hlag/oversigt/util/FileUtils.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
47 |
Oversigt Core - com/hlag/oversigt/util/ImageUtil.java
Oversigt Core - com/hlag/oversigt/util/JsonUtils.java
Oversigt Core - com/hlag/oversigt/util/SSLUtils.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.security.cert.X509Certificate' due to existing import 'java.security.cert.X509Certificate' |
4 |
76 |
Oversigt Core - com/hlag/oversigt/util/TypeUtils.java
Oversigt Core - com/hlag/oversigt/validate/UserId.java
Oversigt Core - com/hlag/oversigt/web/resources/Authentication.java
Oversigt Core - com/hlag/oversigt/web/resources/DashboardResource.java
Oversigt Core - com/hlag/oversigt/web/resources/SerializablePropertyResource.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Response.ok' due to existing static import 'javax.ws.rs.core.Response.ok' |
4 |
259 |
Oversigt Core - com/hlag/oversigt/web/resources/SystemResource.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
126–128 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
167 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
197 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
199 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
226 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
283 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'ErrorResponse.notFound' due to existing static import 'com.hlag.oversigt.web.api.ErrorResponse.notFound' |
4 |
315 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Collectors.toList' due to existing static import 'java.util.stream.Collectors.toList' |
4 |
416 |