CultureQuestORG/SDP2023

View on GitHub
app/src/main/java/ch/epfl/culturequest/authentication/Authenticator.java

Summary

Maintainability
A
1 hr
Test Coverage
B
87%

Method signIn has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static CompletableFuture<String> signIn(ComponentActivity activity) {
        CompletableFuture<String> future = new CompletableFuture<>();
        if (getCurrentUser() == null) {
            if (hasConnection(activity)) {
                signInLauncher.launch(signInIntent());

    There are no issues that match your filters.

    Category
    Status