jnidzwetzki/bboxdb

View on GitHub

Showing 202 of 966 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    @Override
    public TupleListFuture queryVersionTime(final String table, final long timestamp) throws BBoxDBException {
        if(membershipConnectionService.getNumberOfConnections() == 0) {
            throw new BBoxDBException("queryTime called, but connection list is empty");
        }
bboxdb-server/src/main/java/org/bboxdb/network/client/BBoxDBCluster.java on lines 552..574

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 98.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    @Override
    public TupleListFuture queryInsertedTime(final String table, final long timestamp) throws BBoxDBException {
        if(membershipConnectionService.getNumberOfConnections() == 0) {
            throw new BBoxDBException("queryTime called, but connection list is empty");
        }
bboxdb-server/src/main/java/org/bboxdb/network/client/BBoxDBCluster.java on lines 528..550

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 98.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 8 locations. Consider refactoring.
Open

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
bboxdb-server/src/main/java/org/bboxdb/distribution/membership/BBoxDBInstance.java on lines 139..154
bboxdb-server/src/main/java/org/bboxdb/network/capabilities/PeerCapabilities.java on lines 155..170
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/ContinuousQueryStateRequest.java on lines 116..131
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteDistributionGroupRequest.java on lines 111..126
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteTableRequest.java on lines 113..128
bboxdb-server/src/main/java/org/bboxdb/query/transformation/BoundingBoxFilterTransformation.java on lines 61..76
bboxdb-server/src/main/java/org/bboxdb/query/transformation/UserDefinedFilterTransformation.java on lines 94..109

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 8 locations. Consider refactoring.
Open

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
bboxdb-server/src/main/java/org/bboxdb/distribution/membership/BBoxDBInstance.java on lines 139..154
bboxdb-server/src/main/java/org/bboxdb/network/capabilities/PeerCapabilities.java on lines 155..170
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/ContinuousQueryStateRequest.java on lines 116..131
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteTableRequest.java on lines 113..128
bboxdb-server/src/main/java/org/bboxdb/query/transformation/BoundingBoxFilterTransformation.java on lines 61..76
bboxdb-server/src/main/java/org/bboxdb/query/transformation/KeyFilterTransformation.java on lines 56..71
bboxdb-server/src/main/java/org/bboxdb/query/transformation/UserDefinedFilterTransformation.java on lines 94..109

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 8 locations. Consider refactoring.
Open

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
bboxdb-server/src/main/java/org/bboxdb/distribution/membership/BBoxDBInstance.java on lines 139..154
bboxdb-server/src/main/java/org/bboxdb/network/capabilities/PeerCapabilities.java on lines 155..170
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/ContinuousQueryStateRequest.java on lines 116..131
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteDistributionGroupRequest.java on lines 111..126
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteTableRequest.java on lines 113..128
bboxdb-server/src/main/java/org/bboxdb/query/transformation/KeyFilterTransformation.java on lines 56..71
bboxdb-server/src/main/java/org/bboxdb/query/transformation/UserDefinedFilterTransformation.java on lines 94..109

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 8 locations. Consider refactoring.
Open

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
bboxdb-server/src/main/java/org/bboxdb/distribution/membership/BBoxDBInstance.java on lines 139..154
bboxdb-server/src/main/java/org/bboxdb/network/capabilities/PeerCapabilities.java on lines 155..170
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteDistributionGroupRequest.java on lines 111..126
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteTableRequest.java on lines 113..128
bboxdb-server/src/main/java/org/bboxdb/query/transformation/BoundingBoxFilterTransformation.java on lines 61..76
bboxdb-server/src/main/java/org/bboxdb/query/transformation/KeyFilterTransformation.java on lines 56..71
bboxdb-server/src/main/java/org/bboxdb/query/transformation/UserDefinedFilterTransformation.java on lines 94..109

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    @Override
    public long writeToOutputStream(final OutputStream outputStream) throws PacketEncodeException {

        try {
            final ByteBuffer bb = DataEncoderHelper.intToByteBuffer(protocolVersion);
bboxdb-server/src/main/java/org/bboxdb/network/packets/response/HelloResponse.java on lines 50..69

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    @Override
    public long writeToOutputStream(final OutputStream outputStream) throws PacketEncodeException {
        
        try {
            final ByteBuffer bb = DataEncoderHelper.intToByteBuffer(protocolVersion);
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/HelloRequest.java on lines 51..70

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 8 locations. Consider refactoring.
Open

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
bboxdb-server/src/main/java/org/bboxdb/distribution/membership/BBoxDBInstance.java on lines 139..154
bboxdb-server/src/main/java/org/bboxdb/network/capabilities/PeerCapabilities.java on lines 155..170
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/ContinuousQueryStateRequest.java on lines 116..131
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteDistributionGroupRequest.java on lines 111..126
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteTableRequest.java on lines 113..128
bboxdb-server/src/main/java/org/bboxdb/query/transformation/BoundingBoxFilterTransformation.java on lines 61..76
bboxdb-server/src/main/java/org/bboxdb/query/transformation/KeyFilterTransformation.java on lines 56..71

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 8 locations. Consider refactoring.
Open

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
bboxdb-server/src/main/java/org/bboxdb/distribution/membership/BBoxDBInstance.java on lines 139..154
bboxdb-server/src/main/java/org/bboxdb/network/capabilities/PeerCapabilities.java on lines 155..170
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/ContinuousQueryStateRequest.java on lines 116..131
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/DeleteDistributionGroupRequest.java on lines 111..126
bboxdb-server/src/main/java/org/bboxdb/query/transformation/BoundingBoxFilterTransformation.java on lines 61..76
bboxdb-server/src/main/java/org/bboxdb/query/transformation/KeyFilterTransformation.java on lines 56..71
bboxdb-server/src/main/java/org/bboxdb/query/transformation/UserDefinedFilterTransformation.java on lines 94..109

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 96.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

        result = str(len(self.experimentResult)) + "\t" + str(totalElements) + "\t" + str(stdDiv)
Severity: Major
Found in bin/experiments/experiment_streamdistribution.py and 1 other location - About 1 hr to fix
bin/experiments/experiment_fixedcell.py on lines 60..60

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 43.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

        return str(len(self.experimentResult)) + "\t" + str(noOfBuckets) + "\t" + str(totalElements) + "\t" + str(stdDiv)
Severity: Major
Found in bin/experiments/experiment_fixedcell.py and 1 other location - About 1 hr to fix
bin/experiments/experiment_streamdistribution.py on lines 59..59

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 43.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/*******************************************************************************
 *
 *    Copyright (C) 2015-2022 the BBoxDB project
 *  
 *    Licensed under the Apache License, Version 2.0 (the "License");
bboxdb-server/src/main/java/org/bboxdb/storage/entity/IdleQueryStateRemovedTuple.java on lines 1..52

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/*******************************************************************************
 *
 *    Copyright (C) 2015-2022 the BBoxDB project
 *  
 *    Licensed under the Apache License, Version 2.0 (the "License");
bboxdb-server/src/main/java/org/bboxdb/storage/entity/InvalidationTuple.java on lines 1..52

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 90.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 12 locations. Consider refactoring.
Open

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((globalActiveJoinElements == null) ? 0 : globalActiveJoinElements.hashCode());
bboxdb-commons/src/main/java/org/bboxdb/commons/Pair.java on lines 68..75
bboxdb-server/src/main/java/org/bboxdb/network/client/ContinuousQueryState.java on lines 69..76
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateDistributionGroupRequest.java on lines 177..185
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateTableRequest.java on lines 182..189
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/InsertTupleRequest.java on lines 135..142
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/KeepAliveRequest.java on lines 161..168
bboxdb-server/src/main/java/org/bboxdb/network/routing/RoutingHop.java on lines 43..50
bboxdb-server/src/main/java/org/bboxdb/query/filter/UserDefinedFilterDefinition.java on lines 47..54
bboxdb-server/src/main/java/org/bboxdb/storage/entity/CellGrid.java on lines 197..204
bboxdb-server/src/main/java/org/bboxdb/storage/entity/JoinedTupleIdentifier.java on lines 97..104
bboxdb-server/src/main/java/org/bboxdb/storage/entity/MultiTuple.java on lines 185..192

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 87.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 12 locations. Consider refactoring.
Open

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((tuples == null) ? 0 : tuples.hashCode());
bboxdb-commons/src/main/java/org/bboxdb/commons/Pair.java on lines 68..75
bboxdb-server/src/main/java/org/bboxdb/network/client/ContinuousQueryState.java on lines 69..76
bboxdb-server/src/main/java/org/bboxdb/network/entity/ContinuousQueryServerState.java on lines 97..105
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateDistributionGroupRequest.java on lines 177..185
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateTableRequest.java on lines 182..189
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/InsertTupleRequest.java on lines 135..142
bboxdb-server/src/main/java/org/bboxdb/network/routing/RoutingHop.java on lines 43..50
bboxdb-server/src/main/java/org/bboxdb/query/filter/UserDefinedFilterDefinition.java on lines 47..54
bboxdb-server/src/main/java/org/bboxdb/storage/entity/CellGrid.java on lines 197..204
bboxdb-server/src/main/java/org/bboxdb/storage/entity/JoinedTupleIdentifier.java on lines 97..104
bboxdb-server/src/main/java/org/bboxdb/storage/entity/MultiTuple.java on lines 185..192

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 87.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 12 locations. Consider refactoring.
Open

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((tupleStoreNames == null) ? 0 : tupleStoreNames.hashCode());
bboxdb-commons/src/main/java/org/bboxdb/commons/Pair.java on lines 68..75
bboxdb-server/src/main/java/org/bboxdb/network/client/ContinuousQueryState.java on lines 69..76
bboxdb-server/src/main/java/org/bboxdb/network/entity/ContinuousQueryServerState.java on lines 97..105
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateDistributionGroupRequest.java on lines 177..185
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateTableRequest.java on lines 182..189
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/InsertTupleRequest.java on lines 135..142
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/KeepAliveRequest.java on lines 161..168
bboxdb-server/src/main/java/org/bboxdb/network/routing/RoutingHop.java on lines 43..50
bboxdb-server/src/main/java/org/bboxdb/query/filter/UserDefinedFilterDefinition.java on lines 47..54
bboxdb-server/src/main/java/org/bboxdb/storage/entity/CellGrid.java on lines 197..204
bboxdb-server/src/main/java/org/bboxdb/storage/entity/JoinedTupleIdentifier.java on lines 97..104

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 87.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 12 locations. Consider refactoring.
Open

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((queryPlan == null) ? 0 : queryPlan.hashCode());
bboxdb-commons/src/main/java/org/bboxdb/commons/Pair.java on lines 68..75
bboxdb-server/src/main/java/org/bboxdb/network/entity/ContinuousQueryServerState.java on lines 97..105
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateDistributionGroupRequest.java on lines 177..185
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateTableRequest.java on lines 182..189
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/InsertTupleRequest.java on lines 135..142
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/KeepAliveRequest.java on lines 161..168
bboxdb-server/src/main/java/org/bboxdb/network/routing/RoutingHop.java on lines 43..50
bboxdb-server/src/main/java/org/bboxdb/query/filter/UserDefinedFilterDefinition.java on lines 47..54
bboxdb-server/src/main/java/org/bboxdb/storage/entity/CellGrid.java on lines 197..204
bboxdb-server/src/main/java/org/bboxdb/storage/entity/JoinedTupleIdentifier.java on lines 97..104
bboxdb-server/src/main/java/org/bboxdb/storage/entity/MultiTuple.java on lines 185..192

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 87.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 12 locations. Consider refactoring.
Open

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((userDefinedFilterClass == null) ? 0 : userDefinedFilterClass.hashCode());
bboxdb-commons/src/main/java/org/bboxdb/commons/Pair.java on lines 68..75
bboxdb-server/src/main/java/org/bboxdb/network/client/ContinuousQueryState.java on lines 69..76
bboxdb-server/src/main/java/org/bboxdb/network/entity/ContinuousQueryServerState.java on lines 97..105
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateDistributionGroupRequest.java on lines 177..185
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateTableRequest.java on lines 182..189
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/InsertTupleRequest.java on lines 135..142
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/KeepAliveRequest.java on lines 161..168
bboxdb-server/src/main/java/org/bboxdb/network/routing/RoutingHop.java on lines 43..50
bboxdb-server/src/main/java/org/bboxdb/storage/entity/CellGrid.java on lines 197..204
bboxdb-server/src/main/java/org/bboxdb/storage/entity/JoinedTupleIdentifier.java on lines 97..104
bboxdb-server/src/main/java/org/bboxdb/storage/entity/MultiTuple.java on lines 185..192

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 87.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 12 locations. Consider refactoring.
Open

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((ssTableConfiguration == null) ? 0 : ssTableConfiguration.hashCode());
bboxdb-commons/src/main/java/org/bboxdb/commons/Pair.java on lines 68..75
bboxdb-server/src/main/java/org/bboxdb/network/client/ContinuousQueryState.java on lines 69..76
bboxdb-server/src/main/java/org/bboxdb/network/entity/ContinuousQueryServerState.java on lines 97..105
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/CreateDistributionGroupRequest.java on lines 177..185
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/InsertTupleRequest.java on lines 135..142
bboxdb-server/src/main/java/org/bboxdb/network/packets/request/KeepAliveRequest.java on lines 161..168
bboxdb-server/src/main/java/org/bboxdb/network/routing/RoutingHop.java on lines 43..50
bboxdb-server/src/main/java/org/bboxdb/query/filter/UserDefinedFilterDefinition.java on lines 47..54
bboxdb-server/src/main/java/org/bboxdb/storage/entity/CellGrid.java on lines 197..204
bboxdb-server/src/main/java/org/bboxdb/storage/entity/JoinedTupleIdentifier.java on lines 97..104
bboxdb-server/src/main/java/org/bboxdb/storage/entity/MultiTuple.java on lines 185..192

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 87.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language