CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Method __construct has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct() {

        // Check for PHP version
        $required_php_version = '5.0.5';
        if (version_compare(PHP_VERSION, $required_php_version, '<')) {
Severity: Major
Found in Web.Admin/2014/wordpress/wp-includes/ID3/getid3.php - About 2 hrs to fix

    Method wp_get_sidebars_widgets has 72 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function wp_get_sidebars_widgets($deprecated = true) {
        global $wp_registered_widgets, $wp_registered_sidebars, $_wp_sidebars_widgets;
    
        // If loading from front page, consult $_wp_sidebars_widgets rather than options
        // to see if wp_convert_widget_settings() has made manipulations in memory.
    Severity: Major
    Found in Web.Admin/2014/wordpress/wp-includes/widgets.php - About 2 hrs to fix

      Method wp_widget_rss_output has 72 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function wp_widget_rss_output( $rss, $args = array() ) {
          if ( is_string( $rss ) ) {
              $rss = fetch_feed($rss);
          } elseif ( is_array($rss) && isset($rss['url']) ) {
              $args = $rss;
      Severity: Major
      Found in Web.Admin/2014/wordpress/wp-includes/default-widgets.php - About 2 hrs to fix

        Method smilies_init has 72 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function smilies_init() {
            global $wpsmiliestrans, $wp_smiliessearch;
        
            // don't bother setting up smilies if they are disabled
            if ( !get_option( 'use_smilies' ) )
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 2 hrs to fix

          Function $IntervalProvider has 71 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          angular.mock.$IntervalProvider = function() {
            this.$get = ['$browser', '$rootScope', '$q', '$$q',
                 function($browser,   $rootScope,   $q,   $$q) {
              var repeatFns = [],
                  nextRepeatId = 0,
          Severity: Major
          Found in Web.Admin/z-scripts/angular-mocks.js - About 2 hrs to fix

            Function load has 71 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                load : function( source, selector, config ) {
            
                    var self = this,
                        o = this._options;
            
            
            Severity: Major
            Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 2 hrs to fix

              Function add_postbox_toggles has 71 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      add_postbox_toggles : function(page,args) {
                          this.init(page,args);
                          $('.postbox h3, .postbox .handlediv').click( function() {
                              var p = $(this).parent('.postbox'), id = p.attr('id');
                              p.toggleClass('closed');
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-admin/js/postbox.dev.js - About 2 hrs to fix

                Function onSubmitForm has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        function onSubmitForm() {
                            function waitLoad(imgElm) {
                                function selectImage() {
                                    imgElm.onload = imgElm.onerror = null;
                                    editor.selection.select(imgElm);

                  Function load has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      load : function( source, selector, config ) {
                  
                          var self = this,
                              o = this._options;
                  
                  Severity: Major
                  Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 2 hrs to fix

                    Method get_type has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function get_type()
                        {
                            if (!isset($this->data['type']))
                            {
                                $this->data['type'] = SIMPLEPIE_TYPE_ALL;
                    Severity: Major
                    Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                      Method entity has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function entity()
                          {
                              switch ($this->consume())
                              {
                                  case "\x09":
                      Severity: Major
                      Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                        prototype has 25 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        Cropper.Img.prototype={initialize:function(_7,_8){
                        this.options=Object.extend({ratioDim:{x:0,y:0},minWidth:0,minHeight:0,displayOnInit:false,onEndCrop:Prototype.emptyFunction,captureKeys:true},_8||{});
                        if(this.options.minWidth>0&&this.options.minHeight>0){
                        this.options.ratioDim.x=this.options.minWidth;
                        this.options.ratioDim.y=this.options.minHeight;
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/js/crop/cropper.js - About 2 hrs to fix

                          getid3_id3v2 has 25 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          class getid3_id3v2 extends getid3_handler
                          {
                              public $StartingOffset = 0;
                          
                              public function Analyze() {
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.tag.id3v2.php - About 2 hrs to fix

                            getid3_mp3 has 25 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class getid3_mp3 extends getid3_handler
                            {
                            
                                public $allow_bruteforce = false; // forces getID3() to scan the file byte-by-byte and log all the valid audio frame headers - extremely slow, unrecommended, but may provide data from otherwise-unusuable files
                            
                            
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio.mp3.php - About 2 hrs to fix

                              Function UrlMatcher has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function UrlMatcher(pattern, config, parentMatcher) {
                                config = extend({ params: {} }, isObject(config) ? config : {});
                              
                                // Find all placeholders and create a compiled pattern, using either classic or curly syntax:
                                //   '*' name
                              Severity: Major
                              Found in Web.Admin/z-scripts/angular-ui-router.js - About 2 hrs to fix

                                Function tabHandler has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function tabHandler(e) {
                                        var x, el, v, i;
                                
                                        if (e.keyCode !== 9 || e.ctrlKey || e.altKey || e.metaKey) {
                                            return;

                                  Method type_url_form_image has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function type_url_form_image() {
                                  
                                      if ( !apply_filters( 'disable_captions', '' ) ) {
                                          $caption = '
                                          <tr>
                                  Severity: Major
                                  Found in Web.Admin/2014/wordpress/wp-admin/includes/media.php - About 2 hrs to fix

                                    Method _wp_ajax_add_hierarchical_term has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function _wp_ajax_add_hierarchical_term() {
                                        $action = $_POST['action'];
                                        $taxonomy = get_taxonomy(substr($action, 4));
                                        check_ajax_referer( $action, '_ajax_nonce-add-' . $taxonomy->name );
                                        if ( !current_user_can( $taxonomy->cap->edit_terms ) )
                                    Severity: Major
                                    Found in Web.Admin/2014/wordpress/wp-admin/includes/ajax-actions.php - About 2 hrs to fix

                                      Method wp_get_object_terms has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function wp_get_object_terms($object_ids, $taxonomies, $args = array()) {
                                          global $wpdb;
                                      
                                          if ( !is_array($taxonomies) )
                                              $taxonomies = array($taxonomies);
                                      Severity: Major
                                      Found in Web.Admin/2014/wordpress/wp-includes/taxonomy.php - About 2 hrs to fix

                                        Method request has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function request( $url, $args = array() ) {
                                                global $wp_version;
                                        
                                                $defaults = array(
                                                    'method' => 'GET',
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-includes/http.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language