vegantech/sims

View on GitHub

Showing 433 of 433 total issues

Avoid too many return statements within this function.
Open

            return "Failed to format result: " + e.message;
Severity: Major
Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return "object";
    Severity: Major
    Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return "unknown";
      Severity: Major
      Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

                          return 'function() {}';
          Severity: Major
          Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                    return o.killEvent(e);
            Severity: Major
            Found in app/assets/javascripts/datepicker.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                              return o.killEvent(e);
              Severity: Major
              Found in app/assets/javascripts/datepicker.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return '"' + result.replace('"', '\\"')
                                                   .replace("\n", '\\n')
                                                   .replace("\r", '\\r')
                                       + '"';
                Severity: Major
                Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                                                    return o.killEvent(e);
                    Severity: Major
                    Found in app/assets/javascripts/datepicker.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                              if(o.outOfRange(tmpDate)) return o.killEvent(e);
                      Severity: Major
                      Found in app/assets/javascripts/datepicker.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return "" + result;
                        Severity: Major
                        Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                              return "DOMNodeList";
                          Severity: Major
                          Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                                return "Array";
                            Severity: Major
                            Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                                      if ( kc < 37 || kc > 40 ) return true;
                              Severity: Major
                              Found in app/assets/javascripts/datepicker.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return "DOMNodeList: [" + out + ']';
                                Severity: Major
                                Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                  return "Array(length: " + result.length + ")";
                                  Severity: Major
                                  Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                        return "DOMElement";
                                    Severity: Major
                                    Found in app/assets/javascripts/ie-console.js - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                @messages << "Score is not between #{min} and #{max} #{line.to_s}" and return false
                                      Severity: Major
                                      Found in lib/automated_intervention.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                              redirect_to students_url and return false
                                        Severity: Major
                                        Found in app/controllers/students_controller.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language