CultureQuestORG/SDP2023

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

Summary

Maintainability
A
2 hrs
Test Coverage
F
44%

Method UpdateProfile has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void UpdateProfile(View v) {
        EspressoIdlingResource.increment();

        // Check if the username is valid
        if (setProblemHintTextIfAny(username)) {
Severity: Minor
Found in app/src/main/java/ch/epfl/culturequest/SettingsActivity.java - About 1 hr to fix

    Method onCreate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_settings);
            AndroidUtils.removeStatusBar(getWindow());
    Severity: Minor
    Found in app/src/main/java/ch/epfl/culturequest/SettingsActivity.java - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status