ConnectOut-sdp/sdp2023

View on GitHub
app/src/main/java/com/sdpteam/connectout/event/viewer/EventActivity.java

Summary

Maintainability
A
1 hr
Test Coverage
B
84%

Method updateEventView has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

    @SuppressLint("SetTextI18n")
    private void updateEventView(Event event,
                                 TextView title,
                                 TextView description,
                                 Button joinBtn,

    Method updateEventView has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private void updateEventView(Event event,
                                     TextView title,
                                     TextView description,
                                     Button joinBtn,
                                     Button interestedBtn,

      Avoid too many return statements within this method.
      Wontfix

              return RestrictionStatus.ALL_RESTRICTIONS_SATISFIED;
      Severity: Major
      Found in app/src/main/java/com/sdpteam/connectout/event/viewer/EventActivity.java - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status