Skip to content

Reindex subset of vertices

Codacy Production / Codacy Static Code Analysis succeeded Jan 22, 2025 in 0s

Your pull request is up to standards!

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

Issues
======
- Added 2
           

Complexity increasing per file
==============================
- janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLSubsetIterator.java  3
- janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLMapKeyIterator.java  1
- janusgraph-cql/src/test/java/org/janusgraph/diskstorage/cql/CQLSubsetIteratorTest.java  1
         

Clones added
============
- janusgraph-cql/src/test/java/org/janusgraph/diskstorage/cql/CQLSubsetIteratorTest.java  6
- janusgraph-solr/src/test/java/org/janusgraph/diskstorage/solr/BerkeleySolrTest.java  1
- janusgraph-lucene/src/test/java/org/janusgraph/diskstorage/lucene/BerkeleyLuceneTest.java  2
- janusgraph-core/src/main/java/org/janusgraph/diskstorage/util/MetricInstrumentedStore.java  4
- janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLKeyColumnValueStore.java  4
- janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphBaseTest.java  7
- janusgraph-core/src/main/java/org/janusgraph/diskstorage/keycolumnvalue/scan/MultiThreadsRowsCollector.java  1
         

See the complete overview on Codacy

Annotations

Check warning on line 930 in janusgraph-core/src/main/java/org/janusgraph/graphdb/database/management/ManagementSystem.java

See this annotation in the file changed.

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

janusgraph-core/src/main/java/org/janusgraph/graphdb/database/management/ManagementSystem.java#L930

The method 'updateIndex(Index, SchemaAction, List, int)' has an NPath complexity of 270, current threshold is 200

Check warning on line 488 in janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLKeyColumnValueStore.java

See this annotation in the file changed.

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

janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLKeyColumnValueStore.java#L488

Avoid throwing raw exception types.