CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

File settings.php has 274 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 * Multisite network settings administration panel.
 *
 * @package WordPress
Severity: Minor
Found in Web.Admin/2014/wordpress/wp-admin/network/settings.php - About 2 hrs to fix

    Function PageVisitTimeManager has 64 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                var PageVisitTimeManager = (function () {
                    function PageVisitTimeManager(pageVisitTimeTrackingHandler) {
                        this.prevPageVisitDataKeyName = "prevPageVisitData";
                        this.pageVisitTimeTrackingHandler = pageVisitTimeTrackingHandler;
                    }
    Severity: Major
    Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 2 hrs to fix

      Function add has 64 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          this.add = function(combi, options, callback) {
              if (jQuery.isFunction(options)){
                  callback = options;
                  options = {};
              }
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-includes/js/jquery/jquery.hotkeys.dev.js - About 2 hrs to fix

        Method hash_data has 64 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public static function hash_data($file, $offset, $end, $algorithm) {
                static $tempdir = '';
                if (!self::intValueSupported($end)) {
                    return false;
                }
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.lib.php - About 2 hrs to fix

          Method load has 64 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function load()
              {
                  if ($this->mysql === null)
                  {
                      return false;
          Severity: Major
          Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Cache/MySQL.php - About 2 hrs to fix

            Method _shiftBoundaries has 64 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function _shiftBoundaries($lines, &$changed, $other_changed)
                {
                    $i = 0;
                    $j = 0;
            
            
            Severity: Major
            Found in Web.Admin/2014/wordpress/wp-includes/Text/Diff/Engine/native.php - About 2 hrs to fix

              Method get_avatar has 64 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
                  if ( ! get_option('show_avatars') )
                      return false;
              
                  if ( false === $alt)
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-includes/pluggable.php - About 2 hrs to fix

                Method Uncompress has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function Uncompress($ip)
                    {
                        $uip = SimplePie_Net_IPv6::removeNetmaskSpec($ip);
                        $c1 = -1;
                        $c2 = -1;
                Severity: Major
                Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                  Method get_network_by_path has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function get_network_by_path( $domain, $path, $segments = null ) {
                      global $wpdb;
                  
                      $domains = $exact_domains = array( $domain );
                      $pieces = explode( '.', $domain );
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-includes/ms-load.php - About 2 hrs to fix

                    Method wp_list_comments has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function wp_list_comments($args = array(), $comments = null ) {
                        global $wp_query, $comment_alt, $comment_depth, $comment_thread_alt, $overridden_cpage, $in_comment_loop;
                    
                        $in_comment_loop = true;
                    
                    
                    Severity: Major
                    Found in Web.Admin/2014/wordpress/wp-includes/comment-template.php - About 2 hrs to fix

                      File class-wp-theme-install-list-table.php has 273 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                      /**
                       * Theme Installer List Table class.
                       *
                       * @package WordPress

                        Function _InternalLogging has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                var _InternalLogging = (function () {
                                    function _InternalLogging() {
                                    }
                                    _InternalLogging.throwInternalNonUserActionable = function (severity, message) {
                                        if (this.enableDebugExceptions()) {
                        Severity: Major
                        Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 2 hrs to fix

                          Function addPan has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              addPan : function( img ) {
                          
                                  if ( this._options.imageCrop === false ) {
                                      return;
                                  }
                          Severity: Major
                          Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 2 hrs to fix

                            Function convertFakeListsToProperLists has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                        function convertFakeListsToProperLists(node) {
                                            var currentListNode, prevListNode, lastLevel = 1;
                            
                                            function convertParagraphToLi(paragraphNode, listStartTextNode, listName, start) {
                                                var level = paragraphNode._listLevel || lastLevel;

                              Function addPan has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  addPan : function( img ) {
                              
                                      if ( this._options.imageCrop === false ) {
                                          return;
                                      }
                              Severity: Major
                              Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 2 hrs to fix

                                Method display_themes has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function display_themes($themes, $page = 1, $totalpages = 1) {
                                    global $themes_allowedtags;
                                
                                    $type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : '';
                                    $term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : '';
                                Severity: Major
                                Found in Web.Admin/2014/wordpress/wp-admin/includes/theme-install.php - About 2 hrs to fix

                                  Method wp_dashboard_quick_press has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function wp_dashboard_quick_press() {
                                      $drafts = false;
                                      if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) && (int) $_POST['post_ID'] ) {
                                          $view = get_permalink( $_POST['post_ID'] );
                                          $edit = esc_url( get_edit_post_link( $_POST['post_ID'] ) );
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-admin/includes/dashboard.php - About 2 hrs to fix

                                    Method render_screen_options has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function render_screen_options() {
                                            global $wp_meta_boxes, $wp_list_table;
                                    
                                            $columns = get_column_headers( $this );
                                            $hidden  = get_hidden_columns( $this );
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-admin/includes/screen.php - About 2 hrs to fix

                                      Method display_rows has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function display_rows() {
                                              $plugins_allowedtags = array(
                                                  'a' => array( 'href' => array(),'title' => array(), 'target' => array() ),
                                                  'abbr' => array( 'title' => array() ),'acronym' => array( 'title' => array() ),
                                                  'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array(),

                                        Method display_rows has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function display_rows() {
                                                $themes = $this->items;
                                        
                                                foreach ( $themes as $theme ):
                                                    ?><div class="available-theme"><?php
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language