LarryHsiao/Nyx

View on GitHub
app/src/main/java/com/larryhsiao/nyx/attachment/ImageLoading.java

Summary

Maintainability
A
1 hr
Test Coverage

Method fire has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void fire() {
        FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();
        if (uri.startsWith(URI_FILE_PROVIDER) &&
            !new IsLocalExist(image.getContext(), uri).value() &&
Severity: Minor
Found in app/src/main/java/com/larryhsiao/nyx/attachment/ImageLoading.java - About 1 hr to fix

    '&&' should be on a new line.
    Open

            if (uri.startsWith(URI_FILE_PROVIDER) &&

    '&&' should be on a new line.
    Open

                !new IsLocalExist(image.getContext(), uri).value() &&

    There are no issues that match your filters.

    Category
    Status