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

Commit Table - org/apache/omid/committable/InMemoryCommitTable.java

Violation Line
Useless parentheses. 73

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'. 41

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

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

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

Violation Line
Useless parentheses. 98
Avoid unused method parameters such as 'transaction'. 110
Avoid unused method parameters such as 'commitCache'. 110
Useless parentheses. 199
Useless parentheses. 287
Useless parentheses. 303
Avoid unused method parameters such as 'attributeMap'. 325
Useless parentheses. 427
Useless parentheses. 476

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

Violation Line
Useless parentheses. 134
Useless parentheses. 150

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

Violation Line
Useless parentheses. 116
Useless parentheses. 147
Useless parentheses. 377
Useless parentheses. 381
Useless parentheses. 385
Useless parentheses. 432

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 135146

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

Violation Line
Avoid unnecessary return statements 169
Useless parentheses. 183

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

Violation Line
Useless parentheses. 117
Overriding method merely calls super 232234

Shims layer for HBase 1.x - org/apache/hadoop/hbase/ipc/controller/InterRegionServerRpcController.java

Violation Line
Avoid unused constructor parameters such as 'conf'. 35

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

Violation Line
Useless parentheses. 154

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

Violation Line
Useless parentheses. 65

Transaction Client - org/apache/omid/tso/client/TSOClient.java

Violation Line
Useless parentheses. 234

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

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

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/LowWatermarkWriterImpl.java

Violation Line
Avoid unused private fields such as 'metrics'. 44
Avoid unused constructor parameters such as 'config'. 47

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

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

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

Violation Line
Avoid unused private fields such as 'metrics'. 62
Avoid unused constructor parameters such as 'commitTable'. 67

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

Violation Line
Useless parentheses. 121

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

Violation Line
Avoid unused private fields such as 'lowWatermarkWriter'. 57

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. 150
Avoid empty while statements 151153
Useless parentheses. 154
Useless parentheses. 157
Useless parentheses. 158

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

Violation Line
Useless parentheses. 149