MrZaiko/Polysmee

View on GitHub
app/src/main/java/io/github/polysmee/calendar/CalendarActivity.java

Summary

Maintainability
A
0 mins
Test Coverage
C
70%

Method onOptionsItemSelected has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    @SuppressLint("NonConstantResourceId")
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle item selection
        switch (item.getItemId()) {
Severity: Minor
Found in app/src/main/java/io/github/polysmee/calendar/CalendarActivity.java - About 1 hr to fix

    Avoid too many return statements within this method.
    Wontfix

                    return super.onOptionsItemSelected(item);
    Severity: Major
    Found in app/src/main/java/io/github/polysmee/calendar/CalendarActivity.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Wontfix

                      return true;
      Severity: Major
      Found in app/src/main/java/io/github/polysmee/calendar/CalendarActivity.java - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status