monsij/StudentPortal

View on GitHub

Showing 1,128 of 1,204 total issues

Avoid too many return statements within this function.
Open

            return function (data, type) { // row and meta also passed, but not used
                return data[mSource];
            };
Severity: Major
Found in pro1/staticfiles/bootstrap/js/addons/datatables.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return aoData[ rowIdx ] && aoData[ rowIdx ].nTr === sel ?
                            [ rowIdx ] :
                            [];
    Severity: Major
    Found in pro1/staticfiles/bootstrap/js/addons/datatables.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return value;
      Severity: Major
      Found in pro1/staticfiles/bootstrap/js/modules/chart.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return false;
        Severity: Major
        Found in pro1/staticfiles/bootstrap/js/modules/chart.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return rawValue;
          Severity: Major
          Found in pro1/staticfiles/bootstrap/js/modules/chart.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return false;
            Severity: Major
            Found in pro1/staticfiles/bootstrap/js/mdb.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return rawValue;
              Severity: Major
              Found in pro1/staticfiles/bootstrap/js/mdb.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return value;
                Severity: Major
                Found in pro1/staticfiles/bootstrap/js/mdb.js - About 30 mins to fix
                  Severity
                  Category
                  Status
                  Source
                  Language