steroid-team/app

View on GitHub
app/src/main/java/com/github/steroidteam/todolist/view/NoteDisplayFragment.java

Summary

Maintainability
B
5 hrs
Test Coverage
C
73%

File NoteDisplayFragment.java has 323 lines of code (exceeds 250 allowed). Consider refactoring.
Open

package com.github.steroidteam.todolist.view;

import static com.github.steroidteam.todolist.util.Utils.getRoundedBitmap;
import static com.github.steroidteam.todolist.view.NoteSelectionFragment.NOTE_ID_KEY;

    Method setNavOnClickListeners has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

        private void setNavOnClickListeners(View root) {
            root.findViewById(R.id.location_button)
                    .setOnClickListener(
                            v -> {
                                getParentFragmentManager()

      Method updateHeader has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private void updateHeader(Optional<UUID> optionalUUID) {
              ConstraintLayout header = getView().findViewById(R.id.note_header);
      
              if (optionalUUID.isPresent()) {
      
      

        Method onCreateView has 29 lines of code (exceeds 25 allowed). Consider refactoring.
        Wontfix

            public View onCreateView(
                    @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                View root = inflater.inflate(R.layout.fragment_note_display, container, false);
        
        

          There are no issues that match your filters.

          Category
          Status