nlpub/watset-java

View on GitHub
src/main/java/org/nlpub/watset/cli/ProvidedClusteringCommand.java

Summary

Maintainability
A
0 mins
Test Coverage

Extra separation in import group before 'java.util.Collections'
Open

import java.util.Collections;

Checks that the groups of import declarations appear in the order specifiedby the user. If there is an import but its group is not specified in theconfiguration such an import should be placed at the end of the import list.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 148).
Open

        return new ClusteringAlgorithmProvider<String, DefaultWeightedEdge>(algorithm, Collections.emptyMap(), parameters.random).apply(getGraph());

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Wrong lexicographical order for 'java.util.Collections' import. Should be before 'org.nlpub.watset.util.ClusteringAlgorithmProvider'.
Open

import java.util.Collections;

Checks that the groups of import declarations appear in the order specifiedby the user. If there is an import but its group is not specified in theconfiguration such an import should be placed at the end of the import list.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

There are no issues that match your filters.

Category
Status