ocadotechnology/rapid-router

View on GitHub

Showing 697 of 1,371 total issues

Avoid too many return statements within this function.
Open

      return el.hide();
Severity: Major
Found in game/static/game/js/foundation/foundation/foundation.reveal.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return this.cowCrossingCondition(conditionBlock);
    Severity: Major
    Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return leftValue ** rightValue;
      Severity: Major
      Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return el.show();
        Severity: Major
        Found in game/static/game/js/foundation/foundation/foundation.reveal.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return leftValue * rightValue;
          Severity: Major
          Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return false;
            Severity: Major
            Found in game/static/game/js/foundation/foundation/foundation.tooltip.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return null;
              Severity: Major
              Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                       return false;
                Severity: Major
                Found in game/static/game/js/foundation/foundation/foundation.topbar.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return this.logicCompareCondition(conditionBlock);
                  Severity: Major
                  Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return nextPointFurther(node1, node2) ? 'DR' : 'DL'
                    Severity: Major
                    Found in game/static/game/js/drawing.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return leftValue / rightValue;
                      Severity: Major
                      Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return this.trafficLightCondition(conditionBlock);
                        Severity: Major
                        Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return leftValue > rightValue;
                          Severity: Major
                          Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                      return $.get(path, function (response) {
                                        el.html(response);
                                        el.data(self.data_attr + '-last-path', path);
                                        trigger();
                                      });
                            Severity: Major
                            Found in game/static/game/js/foundation/foundation/foundation.interchange.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return true;
                              Severity: Major
                              Found in game/static/game/js/model.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return leftValue >= rightValue;
                                Severity: Major
                                Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return this.trafficLightCondition(conditionBlock);
                                  Severity: Major
                                  Found in game/static/game/js/blocklyCompiler.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return can_play_or_delete_level(user, level)
                                    Severity: Major
                                    Found in game/permissions.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return True
                                      Severity: Major
                                      Found in game/permissions.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return user_school is not None and user_school == owner_school
                                        Severity: Major
                                        Found in game/permissions.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language