CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function Param has 77 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  this.Param = function Param(id, type, config, location) {
    var self = this;
    config = unwrapShorthand(config);
    type = getType(config, type, location);
    var arrayMode = getArrayMode();
Severity: Major
Found in Web.Admin/z-scripts/angular-ui-router.js - About 3 hrs to fix

    Function setOptions has 77 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function setOptions(newOptions) {
            if (newOptions.parent)
                ($parent = $(newOptions.parent)).append($box.add($outer));
    
            options = $.extend(options, newOptions);

      Function moveMenuItem has 77 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              moveMenuItem : function( $this, dir ) {
      
                  var items, newItemPosition, newDepth,
                      menuItems = $( '#menu-to-edit li' ),
                      menuItemsCount = menuItems.length,
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-admin/js/nav-menu.js - About 3 hrs to fix

        Function createMenuButtons has 77 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function createMenuButtons() {
                var name, menuButtons = [];
        
                function createMenuItem(name) {
                    var menuItem;

          Method posts2wp has 77 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function posts2wp($posts='')
              {
                  // General Housekeeping
                  global $wpdb;
                  $count = 0;
          Severity: Major
          Found in Web.Admin/2014/wordpress/wp-admin/import/dotclear.php - About 3 hrs to fix

            Method print_plugins_table has 77 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function print_plugins_table($plugins, $context = '') {
                global $page;
            ?>
            <table class="widefat" cellspacing="0" id="<?php echo $context ?>-plugins-table">
                <thead>
            Severity: Major
            Found in Web.Admin/2014/wordpress/wp-admin/plugins.php - About 3 hrs to fix

              Method get_authors has 77 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function get_authors()
                  {
                      $authors = array();
                      foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'author') as $author)
                      {
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Item.php - About 3 hrs to fix

                Method diff has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function diff($from_lines, $to_lines)
                    {
                        array_walk($from_lines, array('Text_Diff', 'trimNewlines'));
                        array_walk($to_lines, array('Text_Diff', 'trimNewlines'));
                
                
                Severity: Major
                Found in Web.Admin/2014/wordpress/wp-includes/Text/Diff/Engine/native.php - About 3 hrs to fix

                  Method wp_generate_tag_cloud has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function wp_generate_tag_cloud( $tags, $args = '' ) {
                      global $wp_rewrite;
                      $defaults = array(
                          'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'number' => 0,
                          'format' => 'flat', 'separator' => "\n", 'orderby' => 'name', 'order' => 'ASC',
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-includes/category-template.php - About 3 hrs to fix

                    Method get_authors has 77 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function get_authors()
                        {
                            $authors = array();
                            foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'author') as $author)
                            {
                    Severity: Major
                    Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 3 hrs to fix

                      File Parser.php has 294 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                      /**
                       * SimplePie
                       *
                       * A PHP-Based RSS and Atom Feed Framework.
                      Severity: Minor
                      Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/HTTP/Parser.php - About 3 hrs to fix

                        Function _send has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                                _send: function (options, formData){
                                                    if(
                                                           formData.nodeName
                                                        || formData.append && api.support.html5
                                                        || api.isArray(formData) && (typeof formData[0] === 'string')
                        Severity: Major
                        Found in Web.Admin/z-scripts/FileAPI.js - About 3 hrs to fix

                          Function $get has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function $get(   $location,   $rootScope,   $injector,   $browser) {
                          
                              var baseHref = $browser.baseHref(), location = $location.url(), lastPushedUrl;
                          
                              function appendBasePath(url, isHtml5, absolute) {
                          Severity: Major
                          Found in Web.Admin/z-scripts/angular-ui-router.js - About 3 hrs to fix

                            Function show has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                show : function( index, rewind, _history ) {
                            
                                    var swipe = this._options.swipe;
                            
                                    // do nothing queue is long || index is false || queue is false and transition is in progress
                            Severity: Major
                            Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 3 hrs to fix

                              Function scheduleController has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  var scheduleController = function ($scope, $http, $filter, dataService) {
                                      $scope.model = {};
                                      $scope.schedule = {};
                              
                                      $scope.loadLaneDraw = loadLaneDraw;
                              Severity: Major
                              Found in Web.Admin/ClientApp/Controllers/controller.schedule.js - About 3 hrs to fix

                                Function show has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    show : function( index, rewind, _history ) {
                                
                                        var swipe = this._options.swipe;
                                
                                        // do nothing queue is long || index is false || queue is false and transition is in progress
                                Severity: Major
                                Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 3 hrs to fix

                                  Method single_row has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
                                          global $wp_roles;
                                  
                                          if ( !( is_object( $user_object ) && is_a( $user_object, 'WP_User' ) ) )
                                              $user_object = get_userdata( (int) $user_object );

                                    Method get_column_headers has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function get_column_headers($page) {
                                        global $_wp_column_headers;
                                    
                                        if ( !isset($_wp_column_headers) )
                                            $_wp_column_headers = array();
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 3 hrs to fix

                                      Method favorite_actions has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function favorite_actions( $screen = null ) {
                                          switch ( $screen ) {
                                              case 'post-new.php':
                                                  $default_action = array('edit.php' => array(__('Edit Posts'), 'edit_posts'));
                                                  break;
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 3 hrs to fix

                                        Method link_cat_row has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function link_cat_row( $category, $name_override = false ) {
                                            static $row_class = '';
                                        
                                            if ( !$category = get_term( $category, 'link_category', OBJECT, 'display' ) )
                                                return false;
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-admin/includes/template.php - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language