monsij/StudentPortal

View on GitHub

Showing 1,128 of 1,204 total issues

Avoid too many return statements within this function.
Open

                    return [ rowObj.idx ];
Severity: Major
Found in pro1/staticfiles/blog/bootstrap/js/addons/datatables.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return num.toFixed(1) + 'k';
    Severity: Major
    Found in pro1/blog/static/blog/js/card.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return jqResult;
      Severity: Major
      Found in pro1/staticfiles/blog/bootstrap/js/addons/datatables.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return $(nodes)
                        .filter( sel )
                        .map( function () {
                            return this._DT_RowIndex;
                        } )
        Severity: Major
        Found in pro1/staticfiles/blog/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/blog/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/blog/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/blog/bootstrap/js/modules/chart.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

                      return false;
                  Severity: Major
                  Found in pro1/staticfiles/blog/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/blog/bootstrap/js/mdb.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return jqResult;
                      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 $(nodes)
                                        .filter( sel )
                                        .map( function () {
                                            return this._DT_RowIndex;
                                        } )
                        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 [ s._DT_CellIndex.column ];
                          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 [ rowObj.idx ];
                            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 function (data, val) { // meta is also passed in, but not used
                                              data[mSource] = val;
                                          };
                              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[ cellIdx.row ] && aoData[ cellIdx.row ].nTr === sel ?
                                                        [ cellIdx.row ] :
                                                        [];
                                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 [ _fnVisibleToColumnIndex( settings, idx ) ];
                                  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 jq.map( function(i) {
                                                    idx = $.inArray( this, tables );
                                                    return idx !== -1 ? settings[idx] : null;
                                                } ).toArray();
                                    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 host.length ?
                                                              [ host.data('dt-row') ] :
                                                              [];
                                      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 host.length ?
                                                        [ host.data('dt-column') ] :
                                                        [];
                                        Severity: Major
                                        Found in pro1/staticfiles/bootstrap/js/addons/datatables.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language