dropwizard/dropwizard

View on GitHub
dropwizard-e2e/src/test/java/com/example/badlog/BadLogTest.java

Summary

Maintainability
A
1 hr
Test Coverage

Method testSupportShouldResetLogging has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    void testSupportShouldResetLogging(@TempDir Path tempDir) throws Exception {
        // Clear out the log file
        final Path logFile = Files.write(tempDir.resolve("example.log"), new byte[0]);

Severity: Minor
Found in dropwizard-e2e/src/test/java/com/example/badlog/BadLogTest.java - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status