CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method add_menu_page has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

function add_menu_page( $page_title, $menu_title, $access_level, $file, $function = '', $icon_url = '', $position = NULL ) {
Severity: Major
Found in Web.Admin/2014/wordpress/wp-admin/includes/plugin.php - About 50 mins to fix

    Method check_column has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function check_column($table_name, $col_name, $col_type, $is_null = null, $key = null, $default = null, $extra = null) {
    Severity: Major
    Found in Web.Admin/2014/wordpress/wp-admin/install-helper.php - About 50 mins to fix

      Method check_comment has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function check_comment($author, $email, $url, $comment, $user_ip, $user_agent, $comment_type) {
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 50 mins to fix

        Method GenerateID3v1Tag has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static function GenerateID3v1Tag($title, $artist, $album, $year, $genreid, $comment, $track='') {
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.tag.id3v1.php - About 50 mins to fix

          Method crop has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) {
          Severity: Major
          Found in Web.Admin/2014/wordpress/wp-includes/class-wp-image-editor-imagick.php - About 50 mins to fix

            Method crop has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) {
            Severity: Major
            Found in Web.Admin/2014/wordpress/wp-includes/class-wp-image-editor-gd.php - About 50 mins to fix

              Method image_resize has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              function image_resize( $file, $max_w, $max_h, $crop = false, $suffix = null, $dest_path = null, $jpeg_quality = 90 ) {
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-includes/media.php - About 50 mins to fix

                Method generate_rewrite_rules has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    function generate_rewrite_rules($permalink_structure, $ep_mask = EP_NONE, $paged = true, $feed = true, $forcomments = false, $walk_dirs = true, $endpoints = true) {
                Severity: Major
                Found in Web.Admin/2014/wordpress/wp-includes/rewrite.php - About 50 mins to fix

                  Method wpmu_signup_blog_notification has 7 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  function wpmu_signup_blog_notification( $domain, $path, $title, $user, $user_email, $key, $meta = array() ) {
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-includes/ms-functions.php - About 50 mins to fix

                    Method link_pages has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',
                                        $pagelink='%', $more_file='') {
                    Severity: Major
                    Found in Web.Admin/2014/wordpress/wp-includes/deprecated.php - About 50 mins to fix

                      Method crop has 7 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          abstract public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false );
                      Severity: Major
                      Found in Web.Admin/2014/wordpress/wp-includes/class-wp-image-editor.php - About 50 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                    if (angular.isString(val)) {
                                                        formData.append(key, val);
                                                    } else {
                                                        if (config.sendObjectsAsJsonBlob && angular.isObject(val)) {
                                                            formData.append(key, new Blob([val], {type: 'application/json'}));
                        Severity: Major
                        Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                          if (((!xhr.status && !xhr.aborted) || 500 == xhr.status || 416 == xhr.status) && ++data.retry <= options.chunkUploadRetry) {
                                                              // let's try again the same chunk
                                                              // only applicable for recoverable error codes 500 && 416
                                                              var delay = xhr.status ? 0 : api.chunkNetworkDownRetryTimeout;
                          
                          
                          Severity: Major
                          Found in Web.Admin/z-scripts/FileAPI.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                if (index > -1) {
                                                    basePath = src.substring(0, index + 1);
                                                    break;
                                                }
                            Severity: Major
                            Found in Web.Admin/z-scripts/ng-file-upload-shim.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                          if( _type != 'dragleave' ){
                                                              onHover.call(evt[currentTarget], true, evt);
                                                          }
                              Severity: Major
                              Found in Web.Admin/z-scripts/FileAPI.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                                if (((!xhr.status && !xhr.aborted) || 500 == xhr.status) && (options.retry || 0) < options.uploadRetry) {
                                                                    options.retry = (options.retry || 0) + 1;
                                                                    var delay = api.networkDownRetryTimeout;
                                
                                                                    // inform about recoverable problems
                                Severity: Major
                                Found in Web.Admin/z-scripts/FileAPI.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                              if (angular.isDate(val)) {
                                                                  val = val.toISOString();
                                                              }
                                  Severity: Major
                                  Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 45 mins to fix

                                    Function resolveState has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        function resolveState(state, params, paramsAreFiltered, inherited, dst, options) {
                                    Severity: Minor
                                    Found in Web.Admin/z-scripts/angular-ui-router.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                if (isArray(encoded)) {
                                                  result += map(encoded, encodeDashes).join("-");
                                                } else {
                                                  result += encodeURIComponent(encoded);
                                                }
                                      Severity: Major
                                      Found in Web.Admin/z-scripts/angular-ui-router.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                            if (index > -1) {
                                                                basePath = src.substring(0, index + 1);
                                                                break;
                                                            }
                                        Severity: Major
                                        Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language