davidmigloz/go-bees

View on GitHub
app/src/test/java/com/davidmiguel/gobees/data/model/MeteoRecordTest.java

Summary

Maintainability
A
1 hr
Test Coverage

Method meteoRecordTest has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void meteoRecordTest() {
        MeteoRecord meteoRecord = new MeteoRecord();
        // Id
        meteoRecord.setId(1);

    Using the '.*' form of import should be avoided - org.junit.Assert.*.
    Open

    import static org.junit.Assert.*;

    Checks that there are no import statements that use the * notation.

    Rationale: Importing all classes from a package or staticmembers from a class leads to tight coupling between packagesor classes and might lead to problems when a new version of alibrary introduces name clashes.

    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