PMD Results

The following document contains the results of PMD 5.2.3.

Files

Benchmarks - org/apache/omid/benchmarks/tso/RawTxRunner.java

Violation Line
Avoid empty catch blocks 183185

Benchmarks - org/apache/omid/benchmarks/utils/ZipfianGenerator.java

Violation Line
Useless parentheses. 234
Useless parentheses. 234

Common - org/apache/omid/NetworkUtils.java

Violation Line
Useless parentheses. 44

HBase Client - org/apache/omid/transaction/HBaseAsyncPostCommitter.java

Violation Line
Avoid unused private fields such as 'LOG'. 30

HBase Client - org/apache/omid/transaction/HBaseSyncPostCommitter.java

Violation Line
Avoid unused private fields such as 'metrics'. 40

HBase Client - org/apache/omid/transaction/HBaseTransactionManager.java

Violation Line
Avoid unused private fields such as 'LOG'. 48

HBase Client - org/apache/omid/transaction/TTable.java

Violation Line
Useless parentheses. 338
Useless parentheses. 364
Useless parentheses. 382
Useless parentheses. 466

HBase Commit Table - org/apache/omid/committable/hbase/HBaseCommitTable.java

Violation Line
Useless parentheses. 102
Useless parentheses. 351
Useless parentheses. 355
Useless parentheses. 359
Useless parentheses. 406

HBase Common - org/apache/omid/committable/hbase/KeyGeneratorImplementations.java

Violation Line
Useless parentheses. 56
Useless parentheses. 91
Useless parentheses. 146

HBase Common - org/apache/omid/transaction/CellInfo.java

Violation Line
Useless parentheses. 31
Useless parentheses. 32

HBase Coprocessors - org/apache/omid/transaction/CompactorScanner.java

Violation Line
These nested if statements could be combined 137148

State Machine - org/apache/statemachine/StateMachine.java

Violation Line
Useless parentheses. 154

Transaction Client - org/apache/omid/transaction/AbstractTransactionManager.java

Violation Line
Too many static imports may lead to messy code 18516

TSO and TO Servers - org/apache/omid/tso/BatchPoolModule.java

Violation Line
Avoid unused private fields such as 'config'. 36

TSO and TO Servers - org/apache/omid/tso/CacheEvaluation.java

Violation Line
Useless parentheses. 93
Useless parentheses. 102

TSO and TO Servers - org/apache/omid/tso/MonitoringContext.java

Violation Line
Avoid unused imports such as 'java.util.HashMap' 27

TSO and TO Servers - org/apache/omid/tso/PersistenceProcessorHandler.java

Violation Line
Avoid unused private fields such as 'LOG'. 40

TSO and TO Servers - org/apache/omid/tso/PersistenceProcessorImpl.java

Violation Line
Too many static imports may lead to messy code 18241
Avoid unused private fields such as 'metrics'. 70

TSO and TO Servers - org/apache/omid/tso/RequestProcessorImpl.java

Violation Line
Avoid unused private fields such as 'metrics'. 58

TSO and TO Servers - org/apache/omid/tso/RetryProcessorImpl.java

Violation Line
Useless parentheses. 121

TSO and TO Servers - org/apache/omid/tso/TSOStateManager.java

Violation Line
Avoid unused constructor parameters such as 'epoch'. 36

TSO and TO Servers - org/apache/omid/tso/TimestampOracleImpl.java

Violation Line
Useless parentheses. 144
Avoid empty while statements 145147
Useless parentheses. 148
Useless parentheses. 151
Useless parentheses. 152