More perf work #21
More perf work #21
74 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 7
- Added 74
Complexity increasing per file
==============================
- pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java 3
See the complete overview on Codacy
Annotations
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/ProtoParserTools.java#L51
Avoid reassigning parameters such as 'list'
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/ProtoParserTools.java#L228
Comment has incorrect indentation level 0, expected is 8, indentation should be the same level as line 227.
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L12
Unused import - java.util.Arrays.
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L51
'VARIABLE_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L63
Use equals() to compare object references.
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L515
These nested if statements could be combined
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L554
Comment has incorrect indentation level 0, expected is 8, indentation should be the same level as line 555.
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L559
Comment has incorrect indentation level 0, expected is 8, indentation should be the same level as line 557.
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L587
Line is longer than 120 characters (found 126).
codacy-production / Codacy Static Code Analysis
pbj-core/pbj-runtime/src/main/java/com/hedera/pbj/runtime/io/OffHeapDataBuffer.java#L815
Avoid reassigning parameters such as 'value'
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L17
Using the '.*' form of import should be avoided - org.openjdk.jmh.annotations.*.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L40
'VARIABLE_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L42
'VARIABLE_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L48
'VARIABLE_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L56
'VARIABLE_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L57
'VARIABLE_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L96
Avoid throwing raw exception types.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L128
'METHOD_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L149
Line is longer than 120 characters (found 133).
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L156
Line is longer than 120 characters (found 127).
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L227
Line is longer than 120 characters (found 125).
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/jmh/java/com/hedera/pbj/intergration/jmh/ProtobufObjectBench.java#L263
Line is longer than 120 characters (found 130).
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/main/java/com/hedera/pbj/integration/EverythingWriterPerfTest.java#L41
Avoid unused local variables such as 'e'.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/main/java/com/hedera/pbj/integration/EverythingWriterPerfTest.java#L47
'METHOD_DEF' should be separated from previous line.
codacy-production / Codacy Static Code Analysis
pbj-integration-tests/src/main/java/com/hedera/pbj/integration/EverythingWriterPerfTest.java#L47
Avoid unused private methods such as 'parseProtoC()'.