PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

de/funfried/netbeans/plugins/external/formatter/AbstractFormatJob.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 274276

de/funfried/netbeans/plugins/external/formatter/java/google/GoogleJavaFormatterService.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 251253

de/funfried/netbeans/plugins/external/formatter/ui/customizer/ProjectSpecificSettingsPanel.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 120
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 125

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterPanel.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 395
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 423
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 431
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 504
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 509
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 515

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterSupportDialog.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 146
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 154
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 162
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 170

Priority 4

de/funfried/netbeans/plugins/external/formatter/MimeType.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MimeType': 'values' is already in scope 87

de/funfried/netbeans/plugins/external/formatter/eclipse/xml/EclipseFormatterUtils.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'isWorkspaceMechanicFile' is already in scope 186
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'isXMLConfigurationFile' is already in scope 188
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'isProjectSetting' is already in scope 190
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'readPropertiesFromConfigurationFile' is already in scope 191
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'toMap' is already in scope 240

de/funfried/netbeans/plugins/external/formatter/java/base/actions/JavaFixImportsAction.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'ABBREV_RESET' is already in scope because it is inherited by an enclosing type 38
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'MAGIC_POSITION_RESET' is already in scope because it is inherited by an enclosing type 38
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'UNDO_MERGE_RESET' is already in scope because it is inherited by an enclosing type 38
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'Action::SHORT_DESCRIPTION' is already in scope because it is inherited by an enclosing type 40
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'POPUP_MENU_TEXT' is already in scope because it is inherited by an enclosing type 41

de/funfried/netbeans/plugins/external/formatter/java/eclipse/EclipseFormatterConfig.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.jdt.core': 'JavaCore' is already in scope because it is imported in this file 93

de/funfried/netbeans/plugins/external/formatter/java/eclipse/EclipseJavaFormatterWrapper.java

Rule Violation Line
UselessParentheses Useless parentheses. 82

de/funfried/netbeans/plugins/external/formatter/java/spring/SpringJavaFormatterWrapper.java

Rule Violation Line
UselessParentheses Useless parentheses. 77

de/funfried/netbeans/plugins/external/formatter/javascript/eclipse/EclipseJavascriptFormatterWrapper.java

Rule Violation Line
UselessParentheses Useless parentheses. 83

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterOptionsPanelController.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'OptionsPanelController': 'PROP_CHANGED' is already in scope because it is inherited by an enclosing type 143
UnnecessaryFullyQualifiedName Unnecessary qualifier 'OptionsPanelController': 'PROP_VALID' is already in scope because it is inherited by an enclosing type 146

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterSupportDialog.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing.WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 77
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 222
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 223
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 224
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 225

de/funfried/netbeans/plugins/external/formatter/ui/options/Settings.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Settings': 'ENABLED_FORMATTER' is already in scope because it is declared in an enclosing type 39

Files

de/funfried/netbeans/plugins/external/formatter/AbstractFormatJob.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 274276

de/funfried/netbeans/plugins/external/formatter/MimeType.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MimeType': 'values' is already in scope 4 87

de/funfried/netbeans/plugins/external/formatter/eclipse/xml/EclipseFormatterUtils.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'isWorkspaceMechanicFile' is already in scope 4 186
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'isXMLConfigurationFile' is already in scope 4 188
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'isProjectSetting' is already in scope 4 190
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'readPropertiesFromConfigurationFile' is already in scope 4 191
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EclipseFormatterUtils': 'toMap' is already in scope 4 240

de/funfried/netbeans/plugins/external/formatter/java/base/actions/JavaFixImportsAction.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'ABBREV_RESET' is already in scope because it is inherited by an enclosing type 4 38
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'MAGIC_POSITION_RESET' is already in scope because it is inherited by an enclosing type 4 38
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'UNDO_MERGE_RESET' is already in scope because it is inherited by an enclosing type 4 38
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'Action::SHORT_DESCRIPTION' is already in scope because it is inherited by an enclosing type 4 40
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BaseAction': 'POPUP_MENU_TEXT' is already in scope because it is inherited by an enclosing type 4 41

de/funfried/netbeans/plugins/external/formatter/java/eclipse/EclipseFormatterConfig.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.jdt.core': 'JavaCore' is already in scope because it is imported in this file 4 93

de/funfried/netbeans/plugins/external/formatter/java/eclipse/EclipseJavaFormatterWrapper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 82

de/funfried/netbeans/plugins/external/formatter/java/google/GoogleJavaFormatterService.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 251253

de/funfried/netbeans/plugins/external/formatter/java/spring/SpringJavaFormatterWrapper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 77

de/funfried/netbeans/plugins/external/formatter/javascript/eclipse/EclipseJavascriptFormatterWrapper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83

de/funfried/netbeans/plugins/external/formatter/ui/customizer/ProjectSpecificSettingsPanel.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 120
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 125

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterOptionsPanelController.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'OptionsPanelController': 'PROP_CHANGED' is already in scope because it is inherited by an enclosing type 4 143
UnnecessaryFullyQualifiedName Unnecessary qualifier 'OptionsPanelController': 'PROP_VALID' is already in scope because it is inherited by an enclosing type 4 146

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterPanel.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 395
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 423
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 431
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 504
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 509
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 515

de/funfried/netbeans/plugins/external/formatter/ui/options/ExternalFormatterSupportDialog.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing.WindowConstants': 'DISPOSE_ON_CLOSE' is already in scope because it is inherited by an enclosing type 4 77
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 146
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 154
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 162
UnusedFormalParameter Avoid unused method parameters such as 'evt'. 3 170
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 4 222
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 4 223
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 4 224
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.swing': 'JLabel' is already in scope because it is imported in this file 4 225

de/funfried/netbeans/plugins/external/formatter/ui/options/Settings.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Settings': 'ENABLED_FORMATTER' is already in scope because it is declared in an enclosing type 4 39