PMD Results

The following document contains the results of PMD 6.33.0.

Violations By Priority

Priority 3

com/hcl/domino/admin/Group.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on enum 'GroupType': the enum is declared in an interface type 3768

com/hcl/domino/keep/dbfunctions/DocumentFunctions.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 6668

com/hcl/domino/keep/dbrequests/AsyncDominoJNX.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'dtc': resource specifications are implicitly final 367
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'session': resource specifications are implicitly final 368
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 493
EmptyIfStmt Avoid empty if statements 829831

com/hcl/domino/keep/dbrequests/KeepJnxSession.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'key'. 224
UselessQualifiedThis Useless qualified this usage in the same class. 350

com/hcl/domino/keep/dbrequests/admin/UpdateKeepConfig.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'dc'. 65

com/hcl/domino/keep/dbrequests/data/FetchOdataList.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 42

com/hcl/domino/keep/dbrequests/data/GetOdataMetadata.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'fields'. 73

com/hcl/domino/keep/dbrequests/data/GetOpenAPI.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'db'. 582

com/hcl/domino/keep/dbrequests/designcode/ExecuteJavaScriptWithContext.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scriptCode': resource specifications are implicitly final 65

com/hcl/domino/keep/dbrequests/designcode/FetchDesignType.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 109

com/hcl/domino/keep/dbrequests/identity/AuthLogin.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'authenticatedClient': resource specifications are implicitly final 117118

com/hcl/domino/keep/dbrequests/pim/CreateCalendarEntry.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 7678

com/hcl/domino/keep/dbrequests/pim/DeleteOneCalendar.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 8283

com/hcl/domino/keep/dbrequests/pim/GetCalendars.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 98

com/hcl/domino/keep/dbrequests/pim/GetMailboxInfo.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDb': resource specifications are implicitly final 334335

com/hcl/domino/keep/dbrequests/pim/GetMessageBody.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 101102

com/hcl/domino/keep/dbrequests/pim/GetMimeMessage.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'writer': resource specifications are implicitly final 67

com/hcl/domino/keep/dbrequests/pim/LabelHelper.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDb': resource specifications are implicitly final 159
EmptyCatchBlock Avoid empty catch blocks 188190

com/hcl/domino/keep/dbrequests/pim/ModifyCalendarEntry.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 315317

com/hcl/domino/keep/dbrequests/pim/MoveLabel.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 's'. 118
UnusedFormalParameter Avoid unused method parameters such as 's'. 158

com/hcl/domino/keep/dbrequests/pim/mapper/CalendarMapper.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'startDateTime'. 597
UnusedLocalVariable Avoid unused local variables such as 'relativeTo'. 638
UnusedLocalVariable Avoid unused local variables such as 'action'. 645

com/hcl/domino/keep/eventbus/EventBusTracker.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9698

com/hcl/domino/keep/eventbus/KeepEventBusRequestObservable.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'incomingHeaders'. 177

com/hcl/domino/keep/info/KeepApiInfo.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'raw'. 395

com/hcl/domino/keep/metrics/KeepStatistics.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on enum 'StatisticAction': the enum is declared in an interface type 3862
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'StatisticAction(Double)': enum constructors are implicitly private 5860
UnnecessaryModifier Unnecessary modifier 'public' on enum 'TagKey': the enum is declared in an interface type 6477

com/hcl/domino/keep/platform/ConfigLoader.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'session': resource specifications are implicitly final 228
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'dtc': resource specifications are implicitly final 229
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'client': resource specifications are implicitly final 230
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 231
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'nab': resource specifications are implicitly final 232
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 516

com/hcl/domino/keep/platform/DominoXMLDesign.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'xsltStream': resource specifications are implicitly final 9394

com/hcl/domino/keep/platform/SessionPreload.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 241
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 292

com/hcl/domino/keep/saml/KeepSAML.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 373381

com/hcl/domino/keep/security/TheBarbican.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 213215

com/hcl/domino/keep/tools/KeepUtils.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 290
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 455
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 456
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 554

com/hcl/domino/keep/verticles/AgentSchedulerServiceVerticle.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 86
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'dtc': resource specifications are implicitly final 185
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'session': resource specifications are implicitly final 186
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'client': resource specifications are implicitly final 188191
UnusedFormalParameter Avoid unused method parameters such as 'msg'. 216

Priority 4

com/hcl/domino/keep/dbrequests/AsyncDominoJNX.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.hcl.domino.keep.exceptions.KeepExceptionBadCredentials' 41
UselessParentheses Useless parentheses. 331332

com/hcl/domino/keep/dbrequests/pim/LabelHelper.java

Rule Violation Line
UselessParentheses Useless parentheses. 375377
UselessParentheses Useless parentheses. 379380

com/hcl/domino/keep/platform/ConfigLoader.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'io.vertx.core.Future' due to existing import 'io.vertx.core.Future' 439

com/hcl/domino/keep/tools/KeepUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 246

Files

com/hcl/domino/admin/Group.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on enum 'GroupType': the enum is declared in an interface type 3 3768

com/hcl/domino/keep/dbfunctions/DocumentFunctions.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 6668

com/hcl/domino/keep/dbrequests/AsyncDominoJNX.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.hcl.domino.keep.exceptions.KeepExceptionBadCredentials' 4 41
UselessParentheses Useless parentheses. 4 331332
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'dtc': resource specifications are implicitly final 3 367
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'session': resource specifications are implicitly final 3 368
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 493
EmptyIfStmt Avoid empty if statements 3 829831

com/hcl/domino/keep/dbrequests/KeepJnxSession.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'key'. 3 224
UselessQualifiedThis Useless qualified this usage in the same class. 3 350

com/hcl/domino/keep/dbrequests/admin/UpdateKeepConfig.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'dc'. 3 65

com/hcl/domino/keep/dbrequests/data/FetchOdataList.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 42

com/hcl/domino/keep/dbrequests/data/GetOdataMetadata.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'fields'. 3 73

com/hcl/domino/keep/dbrequests/data/GetOpenAPI.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'db'. 3 582

com/hcl/domino/keep/dbrequests/designcode/ExecuteJavaScriptWithContext.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scriptCode': resource specifications are implicitly final 3 65

com/hcl/domino/keep/dbrequests/designcode/FetchDesignType.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 109

com/hcl/domino/keep/dbrequests/identity/AuthLogin.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'authenticatedClient': resource specifications are implicitly final 3 117118

com/hcl/domino/keep/dbrequests/pim/CreateCalendarEntry.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 3 7678

com/hcl/domino/keep/dbrequests/pim/DeleteOneCalendar.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 3 8283

com/hcl/domino/keep/dbrequests/pim/GetCalendars.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 3 98

com/hcl/domino/keep/dbrequests/pim/GetMailboxInfo.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDb': resource specifications are implicitly final 3 334335

com/hcl/domino/keep/dbrequests/pim/GetMessageBody.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 101102

com/hcl/domino/keep/dbrequests/pim/GetMimeMessage.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'writer': resource specifications are implicitly final 3 67

com/hcl/domino/keep/dbrequests/pim/LabelHelper.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDb': resource specifications are implicitly final 3 159
EmptyCatchBlock Avoid empty catch blocks 3 188190
UselessParentheses Useless parentheses. 4 375377
UselessParentheses Useless parentheses. 4 379380

com/hcl/domino/keep/dbrequests/pim/ModifyCalendarEntry.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'calDB': resource specifications are implicitly final 3 315317

com/hcl/domino/keep/dbrequests/pim/MoveLabel.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 's'. 3 118
UnusedFormalParameter Avoid unused method parameters such as 's'. 3 158

com/hcl/domino/keep/dbrequests/pim/mapper/CalendarMapper.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'startDateTime'. 3 597
UnusedLocalVariable Avoid unused local variables such as 'relativeTo'. 3 638
UnusedLocalVariable Avoid unused local variables such as 'action'. 3 645

com/hcl/domino/keep/eventbus/EventBusTracker.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9698

com/hcl/domino/keep/eventbus/KeepEventBusRequestObservable.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'incomingHeaders'. 3 177

com/hcl/domino/keep/info/KeepApiInfo.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'raw'. 3 395

com/hcl/domino/keep/metrics/KeepStatistics.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on enum 'StatisticAction': the enum is declared in an interface type 3 3862
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'StatisticAction(Double)': enum constructors are implicitly private 3 5860
UnnecessaryModifier Unnecessary modifier 'public' on enum 'TagKey': the enum is declared in an interface type 3 6477

com/hcl/domino/keep/platform/ConfigLoader.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'session': resource specifications are implicitly final 3 228
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'dtc': resource specifications are implicitly final 3 229
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'client': resource specifications are implicitly final 3 230
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 231
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'nab': resource specifications are implicitly final 3 232
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'io.vertx.core.Future' due to existing import 'io.vertx.core.Future' 4 439
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 516

com/hcl/domino/keep/platform/DominoXMLDesign.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'xsltStream': resource specifications are implicitly final 3 9394

com/hcl/domino/keep/platform/SessionPreload.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 241
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 292

com/hcl/domino/keep/saml/KeepSAML.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 373381

com/hcl/domino/keep/security/TheBarbican.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 213215

com/hcl/domino/keep/tools/KeepUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 246
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 290
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 455
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'scanner': resource specifications are implicitly final 3 456
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 554

com/hcl/domino/keep/verticles/AgentSchedulerServiceVerticle.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'db': resource specifications are implicitly final 3 86
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'dtc': resource specifications are implicitly final 3 185
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'session': resource specifications are implicitly final 3 186
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'client': resource specifications are implicitly final 3 188191
UnusedFormalParameter Avoid unused method parameters such as 'msg'. 3 216