bemusic/bemuse

View on GitHub

Showing 508 of 508 total issues

Avoid too many return statements within this function.
Open

  if (score < 500000) return 'A'
Severity: Major
Found in bemuse/src/rules/grade.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      if (!file) return undefined
    Severity: Major
    Found in packages/bemuse-indexer/src/bmson-bga.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

        return { file: file, offset: offset }
      Severity: Major
      Found in packages/bemuse-indexer/src/bmson-bga.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return true
        Severity: Major
        Found in bemuse/src/previewer/NotechartPreview.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  if (gameNote.position < position - windowSize * 0.5) return false
          Severity: Major
          Found in bemuse/src/previewer/NotechartPreview.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              if (object.bga.bga_events.length !== 1) return undefined
            Severity: Major
            Found in packages/bemuse-indexer/src/bmson-bga.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return
              Severity: Major
              Found in bemuse/src/previewer/PreviewFileDropHandler.tsx - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return 'S'
                Severity: Major
                Found in bemuse/src/rules/grade.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          if (currentTime > gameNote.time) return false
                  Severity: Major
                  Found in bemuse/src/previewer/NotechartPreview.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            if (gameNote.position > position + windowSize * 1.5) return false
                    Severity: Major
                    Found in bemuse/src/previewer/NotechartPreview.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        return scene
                      Severity: Major
                      Found in bemuse/src/app/index.tsx - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return new FixedTimegatesJudge(TRANSITIONAL_BEGINNER_LV4_TIMEGATES)
                        Severity: Major
                        Found in bemuse/src/game/judgments.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                            return NORMAL_JUDGE
                          Severity: Major
                          Found in bemuse/src/game/judgments.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return `${prefix} Pitch${rest[1] === 'up' ? '+' : '-'}`
                            Severity: Major
                            Found in bemuse/src/omni-input/index.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    if (rest[0] === 'sustain') return 'Sustain'
                              Severity: Major
                              Found in bemuse/src/omni-input/index.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    if (i < 161) return 4
                                Severity: Major
                                Found in bemuse/src/game/state/player-stats.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return noteColumn(sprites.white, c)
                                  Severity: Major
                                  Found in bemuse/src/previewer/PreviewCanvas.tsx - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return new FixedTimegatesJudge(TRANSITIONAL_BEGINNER_LV5_TIMEGATES)
                                    Severity: Major
                                    Found in bemuse/src/game/judgments.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return false
                                      Severity: Major
                                      Found in bemuse/src/game/state/player-state.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              if (rest[0] === 'mod') return 'Mod'
                                        Severity: Major
                                        Found in bemuse/src/omni-input/index.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language