nlpub/watset-java

View on GitHub
src/main/java/org/nlpub/watset/eval/PrecisionRecall.java

Summary

Maintainability
A
0 mins
Test Coverage

Each variable declaration must be in its own statement.
Open

    private final double precision, recall;

Checks that each variable declaration is in its own statement and onits own line.

Rationale: the Java code conventions chapter 6.1 recommends thatdeclarations should be one per line/statement.

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 (denominator == 0d) return 0;

There are no issues that match your filters.

Category
Status