Files | Total | Priority 1 | Priority 2 | Priority 3 | Priority 4 | Priority 5 |
---|---|---|---|---|---|---|
46 | 104 |
0
|
1
|
87
|
16
|
0
|
Total number of violations for this class: 17 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 20 | Too many static imports may lead to messy code | |
3
| 88 | testAutoExpand | Avoid empty catch blocks |
3
| 102 | testAutoExpand | Avoid empty catch blocks |
3
| 308 | testGetString | Avoid empty catch blocks |
3
| 460 | testPutPrefixedString | Avoid empty catch blocks |
3
| 709 | testDuplicate | Avoid empty catch blocks |
3
| 716 | testDuplicate | Avoid empty catch blocks |
3
| 763 | testReadOnlyBuffer | Avoid empty catch blocks |
3
| 1018 | testBitVectorOverFlow | Avoid empty catch blocks |
3
| 1025 | testBitVectorOverFlow | Avoid empty catch blocks |
3
| 1032 | testBitVectorOverFlow | Avoid empty catch blocks |
3
| 1039 | testBitVectorOverFlow | Avoid empty catch blocks |
Total number of violations for this class: 12 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 99 | filterWrite | Avoid empty if statements |
3
| 124 | messageReceived | Avoid empty if statements |
3
| 131 | Avoid unused method parameters such as 'session'. | |
3
| 158 | Avoid unused method parameters such as 'session'. |
Total number of violations for this class: 4 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 113 | available | Avoid empty catch blocks |
3
| 122 | available | Avoid empty catch blocks |
3
| 154 | getAvailablePorts | Avoid empty catch blocks |
3
| 159 | getAvailablePorts | Avoid empty catch blocks |
Total number of violations for this class: 4 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 95 | testRandomAddOnQueue | Avoid empty catch blocks |
3
| 128 | testRandomAddOnRotatedQueue | Avoid empty catch blocks |
3
| 153 | testRandomRemoveOnQueue | Avoid empty catch blocks |
3
| 176 | testRandomRemoveOnRotatedQueue | Avoid empty catch blocks |
Total number of violations for this class: 4 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 134 | Avoid empty catch blocks | |
3
| 141 | Avoid empty catch blocks | |
3
| 149 | Avoid empty catch blocks |
Total number of violations for this class: 3 |
---|
Total number of violations for this class: 3 |
---|
Total number of violations for this class: 3 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 83 | bind | Avoid empty catch blocks |
3
| 109 | tearDown | Avoid empty catch blocks |
3
| 136 | testDuplicateBind | Avoid empty catch blocks |
Total number of violations for this class: 3 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 288 | Overriding method merely calls super | |
3
| 293 | Overriding method merely calls super |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 141 | decode | Avoid empty catch blocks |
3
| 144 | decode | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 22 | Avoid unused imports such as 'org.apache.mina.core.buffer.IoBuffer' | |
4
| 23 | Avoid unused imports such as 'org.apache.mina.core.session.IoSession' |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 381 | sessionIdle | These nested if statements could be combined |
3
| 382 | sessionIdle | These nested if statements could be combined |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 73 | newInstance | Avoid empty catch blocks |
3
| 150 | setData | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 26 | Avoid unused imports such as 'org.apache.mina.core.filterchain.IoFilter' | |
4
| 28 | Avoid unused imports such as 'org.apache.mina.core.write.WriteRequest' |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 27 | Avoid unused imports such as 'java.util.concurrent.Executor' | |
3
| 114 | Overriding method merely calls super |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 305 | encodeBase64 | These nested if statements could be combined |
3
| 351 | encodeBase64 | These nested if statements could be combined |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 20 | Too many static imports may lead to messy code | |
3
| 101 | testConnectFuture | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 284 | testOverflow | Avoid empty catch blocks |
3
| 308 | testOverflow | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 38 | testIPv6 | Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
3
| 44 | testIPv6 | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 125 | assertNoSuchElementException | Avoid empty catch blocks |
3
| 196 | assertRequestTimeoutException | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 303 | testSetWriteBufferSize | Avoid empty catch blocks |
3
| 310 | testSetWriteBufferSize | Avoid empty catch blocks |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 118 | testConnectFutureFailureTiming | Avoid empty catch blocks |
3
| 154 | testSessionCallbackInvocation | Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
Total number of violations for this class: 2 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 33 | Avoid unused imports such as 'java.nio.ReadOnlyBufferException' |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 254 | checkDeadLock | Avoid empty catch blocks |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 22 | Avoid unused imports such as 'java.util.Collection' |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 688 | updateThroughput | These nested if statements could be combined |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 541 | Avoid unused method parameters such as 'nextFilter'. |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 228 | Avoid unused private fields such as 'findEncoderCache'. |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 111 | equals | Ensure you override both equals() and hashCode() |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 22 | Avoid unused imports such as 'org.apache.mina.core.filterchain.IoFilter' |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 454 | messageSent | Avoid empty if statements |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 185 | destroy | Avoid empty catch blocks |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 27 | Avoid unused imports such as 'org.apache.mina.core.session.IoSession' |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
2
| 73 | computeResponseValue | Using multiple unary operators may be a bug, and/or is confusing. |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 97 | getOsVersion | Avoid empty while statements |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 165 | getHost | These nested if statements could be combined |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
4
| 23 | Avoid unused imports such as 'org.apache.mina.core.session.IoSession' |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 170 | Overriding method merely calls super |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 92 | Overriding method merely calls super |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 144 | format | These nested if statements could be combined |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 47 | equals | Ensure you override both equals() and hashCode() |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 29 | No need to import a type that lives in the same package |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 112 | testWrongImplementationDetection | Avoid empty catch blocks |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 120 | keepAliveFilterForIdleStatus | Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
Total number of violations for this class: 1 |
---|
Prio | Begin Line | Method | Description |
---|---|---|---|
3
| 78 | testAcceptorFilterChain | Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! |
Total number of violations for this class: 1 |
---|
Generated by PMD 4.2.5 on 2009-03-06 - 12:34:29.