PMD Results
The following document contains the results of PMD 4.3.
Files
org/jscsi/target/connection/TargetSenderWorker.java
Violation | Line |
---|
Avoid empty if statements | 173 - 184 |
Avoid empty catch blocks | 189 - 191 |
org/jscsi/target/connection/phase/TargetFullFeaturePhase.java
Violation | Line |
---|
Avoid unused imports such as 'javax.naming.OperationNotSupportedException' | 7 |
org/jscsi/target/connection/phase/TargetLoginPhase.java
Violation | Line |
---|
Avoid unused imports such as 'javax.naming.OperationNotSupportedException' | 7 |
Avoid empty while statements | 80 - 82 |
Unnecessary final modifier in final class | 168 - 170 |
org/jscsi/target/connection/stage/fullfeature/ModeSenseStage.java
Violation | Line |
---|
Unnecessary final modifier in final class | 106 - 117 |
Unnecessary final modifier in final class | 119 - 141 |
org/jscsi/target/connection/stage/fullfeature/TextNegotiationStage.java
Violation | Line |
---|
Avoid empty if statements | 110 - 113 |
org/jscsi/target/connection/stage/fullfeature/WriteStage.java
Violation | Line |
---|
Avoid empty if statements | 62 - 64 |
An empty statement (semicolon) not part of a loop | 165 |
org/jscsi/target/connection/stage/login/SecurityNegotiationStage.java
Violation | Line |
---|
Unnecessary final modifier in final class | 165 - 171 |
org/jscsi/target/scsi/cdb/FormatUnitCDB.java
Violation | Line |
---|
Unnecessary final modifier in final class | 79 - 81 |
Unnecessary final modifier in final class | 83 - 85 |
Unnecessary final modifier in final class | 87 - 89 |
org/jscsi/target/scsi/cdb/RequestSenseCdb.java
Violation | Line |
---|
Unnecessary final modifier in final class | 40 - 42 |
Unnecessary final modifier in final class | 44 - 46 |
org/jscsi/target/scsi/cdb/SendDiagnosticCdb.java
Violation | Line |
---|
Unnecessary final modifier in final class | 110 - 112 |
Unnecessary final modifier in final class | 114 - 116 |
Unnecessary final modifier in final class | 118 - 120 |
Unnecessary final modifier in final class | 122 - 124 |
Unnecessary final modifier in final class | 126 - 128 |
Unnecessary final modifier in final class | 130 - 132 |
org/jscsi/target/scsi/sense/senseDataDescriptor/InformationSenseDataDescriptor.java
Violation | Line |
---|
Unnecessary final modifier in final class | 55 - 65 |
org/jscsi/target/scsi/sense/senseDataDescriptor/SenseKeySpecificSenseDataDescriptor.java
Violation | Line |
---|
Unnecessary final modifier in final class | 40 - 43 |
org/jscsi/target/settings/NumericalValueRange.java
Violation | Line |
---|
Unnecessary final modifier in final class | 35 - 38 |
Unnecessary final modifier in final class | 48 - 64 |
Unnecessary final modifier in final class | 90 - 92 |
Unnecessary final modifier in final class | 99 - 101 |
Unnecessary final modifier in final class | 104 - 106 |
org/jscsi/target/settings/SingleNumericalValue.java
Violation | Line |
---|
Unnecessary final modifier in final class | 36 - 38 |
Unnecessary final modifier in final class | 46 - 48 |
Unnecessary final modifier in final class | 57 - 69 |
Unnecessary final modifier in final class | 80 - 82 |
Unnecessary final modifier in final class | 93 - 96 |
Unnecessary final modifier in final class | 107 - 116 |
Unnecessary final modifier in final class | 125 - 132 |
Unnecessary final modifier in final class | 135 - 137 |
org/jscsi/target/storage/JCloudsStorageModule.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'pSizeInBlocks'. | 119 - 166 |
Avoid empty catch blocks | 483 - 485 |
org/jscsi/target/util/BitManip.java
Violation | Line |
---|
Unnecessary final modifier in final class | 32 - 49 |
org/jscsi/target/util/ReadWrite.java
Violation | Line |
---|
Unnecessary final modifier in final class | 22 - 25 |
Unnecessary final modifier in final class | 34 - 36 |
Unnecessary final modifier in final class | 46 - 50 |
Unnecessary final modifier in final class | 60 - 62 |
Unnecessary final modifier in final class | 72 - 77 |
Unnecessary final modifier in final class | 87 - 89 |
Unnecessary final modifier in final class | 99 - 105 |
Unnecessary final modifier in final class | 115 - 117 |
Unnecessary final modifier in final class | 166 - 169 |
Unnecessary final modifier in final class | 181 - 187 |