Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.47.0.

Violations By Priority

Priority 3

ru/akman/maven/plugins/BaseToolMojo.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 17–979
GodClass Possible God Class (WMC=136, ATFD=44, TCC=4.545%) 53–979
TooManyFields Too many fields 53–979
CyclomaticComplexity The class 'BaseToolMojo' has a total cyclomatic complexity of 136 (highest 33). 53–979
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 170
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 175
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 181
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 187
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 197
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 207
NPathComplexity The method 'getToolExecutablePath(String, File, String)' has an NPath complexity of 256, current threshold is 200 386–422
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 391
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 399
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 407
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 415
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 436
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 443
CognitiveComplexity The method 'findToolExecutable(String, List)' has a cognitive complexity of 16, current threshold is 15 456–481
UnusedAssignment The initializer for variable 'toolFile' is never used (overwritten on lines 464 and 472) 459
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 502
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 522–525
CognitiveComplexity The method 'getCorrespondingJavaVersion(String)' has a cognitive complexity of 21, current threshold is 15 560–593
CyclomaticComplexity The method 'getCorrespondingJavaVersion(String)' has a cyclomatic complexity of 11. 560–593
CognitiveComplexity The method 'logCommandLineExecution(Commandline, int, String, String)' has a cognitive complexity of 18, current threshold is 15 618–643
CyclomaticComplexity The method 'init(String, File, String)' has a cyclomatic complexity of 33. 849–977
ExcessiveMethodLength Avoid really long methods. 849–977
CognitiveComplexity The method 'init(String, File, String)' has a cognitive complexity of 38, current threshold is 15 849–977
NcssCount The method 'init(String, File, String)' has a NCSS line count of 60. 849–977
NPathComplexity The method 'init(String, File, String)' has an NPath complexity of 786432, current threshold is 200 849–977

ru/akman/maven/plugins/CommandLineBuilder.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38

ru/akman/maven/plugins/CommandLineOption.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 39

ru/akman/maven/plugins/jpackage/DependencySet.java

Rule Violation Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58

ru/akman/maven/plugins/jpackage/JPackageMojo.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 17–1955
ExcessiveClassLength Avoid really long classes. 98–1955
TooManyMethods This class has too many methods, consider refactoring it. 98–1955
TooManyFields Too many fields 98–1955
CyclomaticComplexity The class 'JPackageMojo' has a total cyclomatic complexity of 211 (highest 80). 98–1955
GodClass Possible God Class (WMC=211, ATFD=151, TCC=22.105%) 98–1955
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 149
LongVariable Avoid excessively long variable names like projectDependencies 154
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 154
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 159
LongVariable Avoid excessively long variable names like mainModuleDescriptor 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 187
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 199
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 210
AvoidDuplicateLiterals The String literal "false" appears 7 times in this file; the first occurrence is on line 218 218
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 220
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 228
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 236
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 257
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 265
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 279
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 291
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 312
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 389
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 409
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 420
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 436
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 446
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 455
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 464
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 472
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 500
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 515
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 530
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 549
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 559
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 569
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 582
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 598
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 608
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 616
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 626
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 636
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 644
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 659
LongVariable Avoid excessively long variable names like macpackageidentifier 659
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 671
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 682
LongVariable Avoid excessively long variable names like macpackagesigningprefix 682
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 690
LongVariable Avoid excessively long variable names like macsigningkeychain 702
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 702
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 711
LongVariable Avoid excessively long variable names like macsigningkeyusername 711
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 724
LongVariable Avoid excessively long variable names like linuxdebmaintainer 732
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 732
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 740
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 748
LongVariable Avoid excessively long variable names like linuxrpmlicensetype 756
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 756
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 765
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 774
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 782
NcssCount The method 'processOptions(CommandLineBuilder)' has a NCSS line count of 221. 791–1196
CognitiveComplexity The method 'processOptions(CommandLineBuilder)' has a cognitive complexity of 83, current threshold is 15 791–1196
ExcessiveMethodLength Avoid really long methods. 791–1196
CyclomaticComplexity The method 'processOptions(CommandLineBuilder)' has a cyclomatic complexity of 80. 791–1196
NPathComplexity The method 'processOptions(CommandLineBuilder)' has an NPath complexity of 2147483647, current threshold is 200 791–1196
UnusedAssignment The initializer for variable 'opt' is never used (overwritten on line 795) 793
ShortVariable Avoid variables with short names like bw 1231
UnusedPrivateMethod Avoid unused private methods such as 'fetchClasspathElements()'. 1378
UnusedPrivateMethod Avoid unused private methods such as 'fetchModulepathElements()'. 1398
CognitiveComplexity The method 'getFileSets()' has a cognitive complexity of 16, current threshold is 15 1460–1487
CognitiveComplexity The method 'getDirSets()' has a cognitive complexity of 16, current threshold is 15 1497–1524
UnusedPrivateMethod Avoid unused private methods such as 'getExcludedDependencies(DependencySet)'. 1576
CyclomaticComplexity The method 'filterDependency(DependencySet, File, JavaModuleDescriptor)' has a cyclomatic complexity of 20. 1598–1659
NPathComplexity The method 'filterDependency(DependencySet, File, JavaModuleDescriptor)' has an NPath complexity of 210, current threshold is 200 1598–1659
CognitiveComplexity The method 'filterDependency(DependencySet, File, JavaModuleDescriptor)' has a cognitive complexity of 45, current threshold is 15 1598–1659
UnusedAssignment The initializer for variable 'result' is never used (overwritten on lines 1684, 1686, 1690 and 1692) 1680
UnusedAssignment The initializer for variable 'result' is never used (overwritten on lines 1722, 1724, 1728 and 1730) 1718
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1753
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 1774
NPathComplexity The method 'processModules(CommandLineBuilder)' has an NPath complexity of 654, current threshold is 200 1787–1836
CognitiveComplexity The method 'processModules(CommandLineBuilder)' has a cognitive complexity of 23, current threshold is 15 1787–1836
CyclomaticComplexity The method 'processModules(CommandLineBuilder)' has a cyclomatic complexity of 13. 1787–1836
UnusedAssignment The initializer for variable 'opt' is never used (overwritten on lines 1819, 1826 and 1833) 1789
CyclomaticComplexity The method 'execute()' has a cyclomatic complexity of 23. 1844–1953
NPathComplexity The method 'execute()' has an NPath complexity of 5832, current threshold is 200 1844–1953
CognitiveComplexity The method 'execute()' has a cognitive complexity of 22, current threshold is 15 1844–1953
ExcessiveMethodLength Avoid really long methods. 1844–1953
UnusedAssignment The initializer for variable 'exitCode' is never used (overwritten on line 1925) 1923

ru/akman/maven/plugins/jpackage/Launcher.java

Rule Violation Line
DataClass The class 'Launcher' is suspected to be a Data Class (WOC=4.762%, NOPA=0, NOAM=20, WMC=30) 30–306
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 80
NPathComplexity The method 'getProperties(Charset)' has an NPath complexity of 768, current threshold is 200 271–304
CyclomaticComplexity The method 'getProperties(Charset)' has a cyclomatic complexity of 10. 271–304
ShortVariable Avoid variables with short names like br 274

ru/akman/maven/plugins/jpackage/ModulePath.java

Rule Violation Line
DataClass The class 'ModulePath' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 26–120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 46

ru/akman/maven/plugins/jpackage/JPackageMojoTest.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 17–1338
TooManyStaticImports Too many static imports may lead to messy code 17–1338
TooManyMethods This class has too many methods, consider refactoring it. 43–1338
ExcessiveClassLength Avoid really long classes. 43–1338
SingularField Perhaps 'container' could be replaced by a local variable. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 63
SingularField Perhaps 'toolchainManager' could be replaced by a local variable. 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 73
SingularField Perhaps 'session' could be replaced by a local variable. 73
SingularField Perhaps 'execution' could be replaced by a local variable. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 90
AvoidDuplicateLiterals The String literal "modulepath" appears 20 times in this file; the first occurrence is on line 333 333
AvoidDuplicateLiterals The String literal "unchecked" appears 14 times in this file; the first occurrence is on line 669 669
AvoidDuplicateLiterals The String literal "addlaunchers" appears 13 times in this file; the first occurrence is on line 777 777
LongVariable Avoid excessively long variable names like macpackageidentifier 1140
LongVariable Avoid excessively long variable names like macpackagesigningprefix 1170
LongVariable Avoid excessively long variable names like macsigningkeychain 1198
LongVariable Avoid excessively long variable names like macsigningkeyusername 1214
LongVariable Avoid excessively long variable names like linuxdebmaintainer 1244
LongVariable Avoid excessively long variable names like linuxrpmlicensetype 1287

Priority 4

ru/akman/maven/plugins/jpackage/JPackageMojo.java

Rule Violation Line
UnnecessaryImport Unused import 'org.apache.maven.plugins.annotations.Execute' 42

Files

ru/akman/maven/plugins/BaseToolMojo.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 17–979
GodClass Possible God Class (WMC=136, ATFD=44, TCC=4.545%) 3 53–979
TooManyFields Too many fields 3 53–979
CyclomaticComplexity The class 'BaseToolMojo' has a total cyclomatic complexity of 136 (highest 33). 3 53–979
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 118
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 123
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 128
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 133
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 138
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 143
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 155
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 160
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 170
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 175
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 181
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 187
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 197
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 207
NPathComplexity The method 'getToolExecutablePath(String, File, String)' has an NPath complexity of 256, current threshold is 200 3 386–422
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 391
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 399
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 407
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 415
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 436
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 443
CognitiveComplexity The method 'findToolExecutable(String, List)' has a cognitive complexity of 16, current threshold is 15 3 456–481
UnusedAssignment The initializer for variable 'toolFile' is never used (overwritten on lines 464 and 472) 3 459
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 502
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 522–525
CognitiveComplexity The method 'getCorrespondingJavaVersion(String)' has a cognitive complexity of 21, current threshold is 15 3 560–593
CyclomaticComplexity The method 'getCorrespondingJavaVersion(String)' has a cyclomatic complexity of 11. 3 560–593
CognitiveComplexity The method 'logCommandLineExecution(Commandline, int, String, String)' has a cognitive complexity of 18, current threshold is 15 3 618–643
CyclomaticComplexity The method 'init(String, File, String)' has a cyclomatic complexity of 33. 3 849–977
ExcessiveMethodLength Avoid really long methods. 3 849–977
CognitiveComplexity The method 'init(String, File, String)' has a cognitive complexity of 38, current threshold is 15 3 849–977
NcssCount The method 'init(String, File, String)' has a NCSS line count of 60. 3 849–977
NPathComplexity The method 'init(String, File, String)' has an NPath complexity of 786432, current threshold is 200 3 849–977

ru/akman/maven/plugins/CommandLineBuilder.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 33
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38

ru/akman/maven/plugins/CommandLineOption.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 34
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 39

ru/akman/maven/plugins/jpackage/DependencySet.java

Rule Violation Priority Line
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 38
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 48
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58

ru/akman/maven/plugins/jpackage/JPackageMojo.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 17–1955
UnnecessaryImport Unused import 'org.apache.maven.plugins.annotations.Execute' 4 42
ExcessiveClassLength Avoid really long classes. 3 98–1955
TooManyMethods This class has too many methods, consider refactoring it. 3 98–1955
TooManyFields Too many fields 3 98–1955
CyclomaticComplexity The class 'JPackageMojo' has a total cyclomatic complexity of 211 (highest 80). 3 98–1955
GodClass Possible God Class (WMC=211, ATFD=151, TCC=22.105%) 3 98–1955
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 149
LongVariable Avoid excessively long variable names like projectDependencies 3 154
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 154
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 159
LongVariable Avoid excessively long variable names like mainModuleDescriptor 3 159
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 165
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 171
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 187
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 199
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 210
AvoidDuplicateLiterals The String literal "false" appears 7 times in this file; the first occurrence is on line 218 3 218
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 220
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 228
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 236
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 244
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 257
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 265
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 279
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 291
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 312
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 389
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 409
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 420
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 436
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 446
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 455
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 464
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 472
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 500
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 515
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 530
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 549
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 559
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 569
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 582
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 598
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 608
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 616
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 626
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 636
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 644
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 659
LongVariable Avoid excessively long variable names like macpackageidentifier 3 659
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 671
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 682
LongVariable Avoid excessively long variable names like macpackagesigningprefix 3 682
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 690
LongVariable Avoid excessively long variable names like macsigningkeychain 3 702
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 702
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 711
LongVariable Avoid excessively long variable names like macsigningkeyusername 3 711
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 724
LongVariable Avoid excessively long variable names like linuxdebmaintainer 3 732
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 732
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 740
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 748
LongVariable Avoid excessively long variable names like linuxrpmlicensetype 3 756
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 756
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 765
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 774
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 782
NcssCount The method 'processOptions(CommandLineBuilder)' has a NCSS line count of 221. 3 791–1196
CognitiveComplexity The method 'processOptions(CommandLineBuilder)' has a cognitive complexity of 83, current threshold is 15 3 791–1196
ExcessiveMethodLength Avoid really long methods. 3 791–1196
CyclomaticComplexity The method 'processOptions(CommandLineBuilder)' has a cyclomatic complexity of 80. 3 791–1196
NPathComplexity The method 'processOptions(CommandLineBuilder)' has an NPath complexity of 2147483647, current threshold is 200 3 791–1196
UnusedAssignment The initializer for variable 'opt' is never used (overwritten on line 795) 3 793
ShortVariable Avoid variables with short names like bw 3 1231
UnusedPrivateMethod Avoid unused private methods such as 'fetchClasspathElements()'. 3 1378
UnusedPrivateMethod Avoid unused private methods such as 'fetchModulepathElements()'. 3 1398
CognitiveComplexity The method 'getFileSets()' has a cognitive complexity of 16, current threshold is 15 3 1460–1487
CognitiveComplexity The method 'getDirSets()' has a cognitive complexity of 16, current threshold is 15 3 1497–1524
UnusedPrivateMethod Avoid unused private methods such as 'getExcludedDependencies(DependencySet)'. 3 1576
CyclomaticComplexity The method 'filterDependency(DependencySet, File, JavaModuleDescriptor)' has a cyclomatic complexity of 20. 3 1598–1659
NPathComplexity The method 'filterDependency(DependencySet, File, JavaModuleDescriptor)' has an NPath complexity of 210, current threshold is 200 3 1598–1659
CognitiveComplexity The method 'filterDependency(DependencySet, File, JavaModuleDescriptor)' has a cognitive complexity of 45, current threshold is 15 3 1598–1659
UnusedAssignment The initializer for variable 'result' is never used (overwritten on lines 1684, 1686, 1690 and 1692) 3 1680
UnusedAssignment The initializer for variable 'result' is never used (overwritten on lines 1722, 1724, 1728 and 1730) 3 1718
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1753
OnlyOneReturn A method should have only one exit point, and that should be the last statement in the method 3 1774
NPathComplexity The method 'processModules(CommandLineBuilder)' has an NPath complexity of 654, current threshold is 200 3 1787–1836
CognitiveComplexity The method 'processModules(CommandLineBuilder)' has a cognitive complexity of 23, current threshold is 15 3 1787–1836
CyclomaticComplexity The method 'processModules(CommandLineBuilder)' has a cyclomatic complexity of 13. 3 1787–1836
UnusedAssignment The initializer for variable 'opt' is never used (overwritten on lines 1819, 1826 and 1833) 3 1789
CyclomaticComplexity The method 'execute()' has a cyclomatic complexity of 23. 3 1844–1953
NPathComplexity The method 'execute()' has an NPath complexity of 5832, current threshold is 200 3 1844–1953
CognitiveComplexity The method 'execute()' has a cognitive complexity of 22, current threshold is 15 3 1844–1953
ExcessiveMethodLength Avoid really long methods. 3 1844–1953
UnusedAssignment The initializer for variable 'exitCode' is never used (overwritten on line 1925) 3 1923

ru/akman/maven/plugins/jpackage/Launcher.java

Rule Violation Priority Line
DataClass The class 'Launcher' is suspected to be a Data Class (WOC=4.762%, NOPA=0, NOAM=20, WMC=30) 3 30–306
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 50
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 55
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 65
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 70
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 80
NPathComplexity The method 'getProperties(Charset)' has an NPath complexity of 768, current threshold is 200 3 271–304
CyclomaticComplexity The method 'getProperties(Charset)' has a cyclomatic complexity of 10. 3 271–304
ShortVariable Avoid variables with short names like br 3 274

ru/akman/maven/plugins/jpackage/ModulePath.java

Rule Violation Priority Line
DataClass The class 'ModulePath' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 26–120
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 31
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 36
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 41
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 46

ru/akman/maven/plugins/jpackage/JPackageMojoTest.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 17–1338
TooManyStaticImports Too many static imports may lead to messy code 3 17–1338
TooManyMethods This class has too many methods, consider refactoring it. 3 43–1338
ExcessiveClassLength Avoid really long classes. 3 43–1338
SingularField Perhaps 'container' could be replaced by a local variable. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 58
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 63
SingularField Perhaps 'toolchainManager' could be replaced by a local variable. 3 63
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 68
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 73
SingularField Perhaps 'session' could be replaced by a local variable. 3 73
SingularField Perhaps 'execution' could be replaced by a local variable. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 78
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 83
BeanMembersShouldSerialize Found non-transient, non-static member. Please mark as transient or provide accessors. 3 90
AvoidDuplicateLiterals The String literal "modulepath" appears 20 times in this file; the first occurrence is on line 333 3 333
AvoidDuplicateLiterals The String literal "unchecked" appears 14 times in this file; the first occurrence is on line 669 3 669
AvoidDuplicateLiterals The String literal "addlaunchers" appears 13 times in this file; the first occurrence is on line 777 3 777
LongVariable Avoid excessively long variable names like macpackageidentifier 3 1140
LongVariable Avoid excessively long variable names like macpackagesigningprefix 3 1170
LongVariable Avoid excessively long variable names like macsigningkeychain 3 1198
LongVariable Avoid excessively long variable names like macsigningkeyusername 3 1214
LongVariable Avoid excessively long variable names like linuxdebmaintainer 3 1244
LongVariable Avoid excessively long variable names like linuxrpmlicensetype 3 1287