nlpub/watset-java

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

Summary

Maintainability
A
0 mins
Test Coverage

'.' should be on a new line.
Open

        final var builder = MarkovClusteringExternal.<String, DefaultWeightedEdge>builder().

Extra separation in import group before 'java.util.Objects.nonNull'
Open

import static java.util.Objects.nonNull;

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.

'if' construct must use '{}'s.
Open

        if (nonNull(binary)) builder.setPath(binary);

Extra separation in import group before 'java.nio.file.Path'
Open

import java.nio.file.Path;

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.

Wrong lexicographical order for 'java.nio.file.Path' import. Should be before 'org.nlpub.watset.graph.MarkovClusteringExternal'.
Open

import java.nio.file.Path;

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.

Wrong lexicographical order for 'java.util.Objects.nonNull' import. Should be before 'org.nlpub.watset.graph.MarkovClusteringExternal'.
Open

import static java.util.Objects.nonNull;

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.

Member name 'r' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

    private double r = MarkovClusteringExternal.Builder.R;

There are no issues that match your filters.

Category
Status