PMD Results

The following document contains the results of PMD 5.5.1.

Files

in/ac/bits/protocolanalyzer/analyzer/AnalyzerCell.java

Violation Line
These nested if statements could be combined 137–140

in/ac/bits/protocolanalyzer/analyzer/CustomAnalyzer.java

Violation Line
Avoid modifiers which are implied by the context 30–31
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 66–67
Avoid modifiers which are implied by the context 75

in/ac/bits/protocolanalyzer/analyzer/GenericAnalyzer.java

Violation Line
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 25

in/ac/bits/protocolanalyzer/analyzer/PcapAnalyzer.java

Violation Line
Useless parentheses. 101
Useless parentheses. 102

in/ac/bits/protocolanalyzer/analyzer/link/EthernetAnalyzer.java

Violation Line
Avoid importing anything from the package java.lang 13

in/ac/bits/protocolanalyzer/analyzer/network/IPv6Analyzer.java

Violation Line
Avoid importing anything from the package java.lang 14

in/ac/bits/protocolanalyzer/analyzer/transport/IcmpAnalyzer.java

Violation Line
Avoid importing anything from the package java.lang 14

in/ac/bits/protocolanalyzer/analyzer/transport/TcpAnalyzer.java

Violation Line
Avoid importing anything from the package java.lang 14

in/ac/bits/protocolanalyzer/analyzer/transport/UdpAnalyzer.java

Violation Line
Avoid importing anything from the package java.lang 14

in/ac/bits/protocolanalyzer/mvc/controller/TestController.java

Violation Line
Avoid unused imports such as 'java.util.Random' 3
Avoid unused imports such as 'org.json.JSONObject' 7
Avoid unused imports such as 'in.ac.bits.protocolanalyzer.analyzer.Session' 18
Avoid unused imports such as 'in.ac.bits.protocolanalyzer.protocol.Protocol' 19
Avoid unused imports such as 'in.ac.bits.protocolanalyzer.protocol.ProtocolChecker' 20
Avoid unused imports such as 'in.ac.bits.protocolanalyzer.protocol.ProtocolGraphParser' 21
Avoid unused imports such as 'java.util.concurrent.ExecutorService' 23
Avoid unused imports such as 'java.util.concurrent.Executors' 24
Avoid unused imports such as 'java.util.concurrent.Callable' 25
Avoid unused imports such as 'java.util.concurrent.TimeUnit' 26
Avoid unused private fields such as 'context'. 35

in/ac/bits/protocolanalyzer/persistence/entity/EthernetEntity.java

Violation Line
Avoid importing anything from the package java.lang 3

in/ac/bits/protocolanalyzer/persistence/entity/IPv4Entity.java

Violation Line
Avoid importing anything from the package java.lang 3

in/ac/bits/protocolanalyzer/persistence/entity/IPv6Entity.java

Violation Line
Avoid importing anything from the package java.lang 3

in/ac/bits/protocolanalyzer/persistence/entity/IcmpEntity.java

Violation Line
Avoid importing anything from the package java.lang 3

in/ac/bits/protocolanalyzer/persistence/entity/TcpEntity.java

Violation Line
Avoid importing anything from the package java.lang 3

in/ac/bits/protocolanalyzer/persistence/entity/UdpEntity.java

Violation Line
Avoid importing anything from the package java.lang 3

in/ac/bits/protocolanalyzer/persistence/repository/DetailsRepository.java

Violation Line
Avoid modifiers which are implied by the context 10

in/ac/bits/protocolanalyzer/persistence/repository/LoginInfoRepository.java

Violation Line
Avoid modifiers which are implied by the context 10

in/ac/bits/protocolanalyzer/utils/BitOperator.java

Violation Line
Useless parentheses. 115
Useless parentheses. 141