gitlabhq/gitlabhq

View on GitHub

Showing 1,757 of 2,500 total issues

Avoid too many return statements within this function.
Open

          return this.removeNoteEditForm(editNote);
Severity: Major
Found in app/assets/javascripts/notes.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return $dropdown.closest('form').submit();
    Severity: Major
    Found in app/assets/javascripts/milestone_select.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

        return n__('1 day', '%d days', seconds < ONE_DAY_LIMIT ? 1 : days);
      Severity: Major
      Found in app/assets/javascripts/lib/utils/datetime_utility.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return scaledSIFormatter('B', 3);
        Severity: Major
        Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return scaledSIFormatter('B', 5);
          Severity: Major
          Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return scaledBinaryFormatter('B', 5);
            Severity: Major
            Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return scaledSIFormatter('B');
              Severity: Major
              Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return scaledBinaryFormatter('B');
                Severity: Major
                Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return scaledBinaryFormatter('B', 3);
                  Severity: Major
                  Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return scaledBinaryFormatter('B', 1);
                    Severity: Major
                    Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return true;
                      Severity: Major
                      Found in app/assets/javascripts/create_merge_request_dropdown.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return scaledBinaryFormatter('B', 4);
                        Severity: Major
                        Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                            return 'invalid';
                          Severity: Major
                          Found in app/assets/javascripts/lib/utils/datetime_range.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return scaledSIFormatter('B', 2);
                            Severity: Major
                            Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return scaledSIFormatter('B', 4);
                              Severity: Major
                              Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return suffixFormatter(s__('Units|ms'));
                                Severity: Major
                                Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return undefined;

                                    Avoid too many return statements within this function.
                                    Open

                                        return scaledSIFormatter('B', 1);
                                    Severity: Major
                                    Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return scaledBinaryFormatter('B', 2);
                                      Severity: Major
                                      Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return unless receiver(namespace_expr) == project_expr
                                        Severity: Major
                                        Found in rubocop/cop/project_path_helper.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language