Skip to content

Making lazy-load relations TRUE by default

Codacy Production / Codacy Static Code Analysis succeeded Apr 26, 2024 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 4
           

Complexity increasing per file
==============================
- janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java  3
- janusgraph-core/src/main/java/org/janusgraph/core/JanusGraphLazyVertexProperty.java  1
- janusgraph-core/src/main/java/org/janusgraph/core/JanusGraphLazyRelationConstructor.java  3
- janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/database/LazyLoadGraphTest.java  1
- janusgraph-core/src/main/java/org/janusgraph/core/JanusGraphLazyEdge.java  1
- janusgraph-inmemory/src/test/java/org/janusgraph/graphdb/inmemory/InMemoryLazyLoadGraphTest.java  1
- janusgraph-core/src/main/java/org/janusgraph/core/JanusGraphLazyRelation.java  5
- janusgraph-core/src/main/java/org/janusgraph/graphdb/query/condition/DirectionCondition.java  1
         

Clones added
============
- janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/database/LazyLoadGraphTest.java  1
         

See the complete overview on Codacy

Annotations

Check warning on line 74 in janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java#L74

Avoid unused local variables such as 'idProp'.

Check warning on line 76 in janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java#L76

Avoid unused local variables such as 'detailsProp'.

Check warning on line 77 in janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

janusgraph-benchmark/src/main/java/org/janusgraph/LazyLoadBenchmark.java#L77

Avoid unused local variables such as 'itemsProp'.

Check warning on line 47 in janusgraph-core/src/main/java/org/janusgraph/graphdb/query/condition/DirectionCondition.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

janusgraph-core/src/main/java/org/janusgraph/graphdb/query/condition/DirectionCondition.java#L47

Avoid reassigning parameters such as 'element'