CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function makeFlashInput has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        var makeFlashInput = function(evt) {
            if (elem.attr('disabled')) {
                elem.__ngf_elem__.removeClass('js-fileapi-wrapper');
            } else {
                var fileElem = elem.__ngf_elem__;
Severity: Minor
Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 1 hr to fix

    Function mouseover has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                    mouseover: function (evt){
                        if (!flash.disableMouseover) {
                            var target = api.event.fix(evt).target;
        
                            if( /input/i.test(target.nodeName) && target.type == 'file' && !target.disabled ){
    Severity: Minor
    Found in Web.Admin/z-scripts/FileAPI.js - About 1 hr to fix

      Function makeFlashInput has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              var makeFlashInput = function(evt) {
                  if (elem.attr('disabled')) {
                      elem.__ngf_elem__.removeClass('js-fileapi-wrapper');
                  } else {
                      var fileElem = elem.__ngf_elem__;
      Severity: Minor
      Found in Web.Admin/z-scripts/ng-file-upload-shim.js - About 1 hr to fix

        Function _serializeStringMap has 42 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                    Serializer._serializeStringMap = function (map, expectedType, name) {
                        var output = undefined;
                        if (map) {
                            output = {};
                            for (var field in map) {
        Severity: Minor
        Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 1 hr to fix

          Function Exception has 42 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                      var Exception = (function (_super) {
                          __extends(Exception, _super);
                          function Exception(exception, handledAt, properties, measurements) {
                              _super.call(this);
                              this.aiDataContract = {
          Severity: Minor
          Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 1 hr to fix

            Function shortcode has 42 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                        shortcode: function( attachments ) {
                            var props = attachments.props.toJSON(),
                                attrs = _.pick( props, 'orderby', 'order' ),
                                shortcode, clone, self = this;
            
            
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-includes/js/media-editor.js - About 1 hr to fix

              Function init has 42 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  init : function() {
                      var t = this, ajaxtag = $('div.ajaxtag');
              
                      $('.tagsdiv').each( function() {
                          tagBox.quickClicks(this);
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-admin/js/post.dev.js - About 1 hr to fix

                Function save has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    save : function(widget, del, animate, order) {
                        var sb = widget.closest('div.widgets-sortables').attr('id'), data = widget.find('form').serialize(), a;
                        widget = $(widget);
                        $('.ajax-feedback', widget).css('visibility', 'visible');
                
                
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-admin/js/widgets.dev.js - About 1 hr to fix

                  Function uploadError has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function uploadError(fileObj, errorCode, message, uploader) {
                      var hundredmb = 100 * 1024 * 1024, max;
                  
                      switch (errorCode) {
                          case plupload.FAILED:
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/js/plupload/handlers.js - About 1 hr to fix

                    Function save has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                save: function() {
                                    var self  = this,
                                        query = $.extend( this.query(), {
                                            action: 'customize_save',
                                            nonce:  this.nonce.save
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-admin/js/customize-controls.js - About 1 hr to fix

                      Function createPasteBin has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              function createPasteBin() {
                                  var dom = editor.dom, body = editor.getBody();
                                  var viewport = editor.dom.getViewPort(editor.getWin()), scrollTop = viewport.y, top = 20;
                                  var scrollContainer;
                      
                      

                        Function parseShortcode has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function parseShortcode( content ) {
                                return content.replace( /(?:<p>)?\[(?:wp_)?caption([^\]]+)\]([\s\S]+?)\[\/(?:wp_)?caption\](?:<\/p>)?/g, function( a, b, c ) {
                                    var id, cls, w, cap, img, width,
                                        trim = tinymce.trim;
                        
                        

                          Method PclZipUtilCopyBlock has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0)
                            {
                              $v_result = 1;
                          
                              if ($p_mode==0)
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-admin/includes/class-pclzip.php - About 1 hr to fix

                            Method make_site_theme_from_oldschool has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function make_site_theme_from_oldschool($theme_name, $template) {
                                $home_path = get_home_path();
                                $site_dir = WP_CONTENT_DIR . "/themes/$template";
                            
                                if (! file_exists("$home_path/index.php"))
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-admin/includes/upgrade.php - About 1 hr to fix

                              Method dirlist has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function dirlist($path, $include_hidden = true, $recursive = false) {
                                      if ( $this->is_file($path) ) {
                                          $limit_file = basename($path);
                                          $path = dirname($path);
                                      } else {

                                Method insert_with_markers has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function insert_with_markers( $filename, $marker, $insertion ) {
                                    if (!file_exists( $filename ) || is_writeable( $filename ) ) {
                                        if (!file_exists( $filename ) ) {
                                            $markerdata = '';
                                        } else {
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-admin/includes/misc.php - About 1 hr to fix

                                  Method dirlist has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function dirlist($path, $include_hidden = true, $recursive = false) {
                                          if ( $this->is_file($path) ) {
                                              $limit_file = basename($path);
                                              $path = dirname($path);
                                          } else {

                                    Method categories_form has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function categories_form() { ?>
                                    
                                    <script type="text/javascript">
                                    /* <![CDATA[ */
                                    var checkflag = "false";
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-admin/import/wp-cat2tag.php - About 1 hr to fix

                                      Method _wp_ajax_delete_comment_response has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function _wp_ajax_delete_comment_response( $comment_id ) {
                                          $total = (int) @$_POST['_total'];
                                          $per_page = (int) @$_POST['_per_page'];
                                          $page = (int) @$_POST['_page'];
                                          $url = esc_url_raw( @$_POST['_url'] );
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-admin/admin-ajax.php - About 1 hr to fix

                                        Method comment_row_action has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public static function comment_row_action( $a, $comment ) {
                                        
                                                // failsafe for old WP versions
                                                if ( !function_exists('add_comment_meta') )
                                                    return $a;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language