CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function updateStyle has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    updateStyle : function(ty) {
        var dom = tinyMCEPopup.dom, st, v, f = document.forms[0], img = dom.create('img', {style : f.img_style.value});

        if (tinyMCEPopup.editor.settings.inline_styles) {
            // Handle align

    Function Dispatcher has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function Dispatcher(target, newEventName, argsMap, defaultScope) {
            target = target || this;
    
            if (!newEventName) {
                this.add = this.addToTop = this.remove = this.dispatch = noop;

      Function _slide has 44 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              var _slide = function(params, complete, fade, door) {
      
                  var easing = this.getOptions('easing'),
                      distance = this.getStageWidth(),
                      from = { left: distance * ( params.rewind ? -1 : 1 ) },
      Severity: Minor
      Found in Web.Admin/Content/galleria/galleria-1.4.2.js - About 1 hr to fix

        Function slide has 44 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          Carousel.prototype.slide = function (type, next) {
            var $active   = this.$element.find('.item.active')
            var $next     = next || this.getItemForDirection(type, $active)
            var isCycling = this.interval
            var direction = type == 'next' ? 'left' : 'right'
        Severity: Minor
        Found in Web.Admin/Content/bootstrap/js/bootstrap.js - About 1 hr to fix

          Method make_thumb has 44 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function make_thumb($folder,$file,$dest,$thumb_width) {
          
              $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
              
              switch($ext)
          Severity: Minor
          Found in Web.Admin/2015/foliogallery.php - About 1 hr to fix

            Method step_1 has 44 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function step_1() {
                    if ( $_GET['updated'] ) { ?>
            <div id="message" class="updated fade">
            <p><?php _e('Header updated.') ?></p>
            </div>
            Severity: Minor
            Found in Web.Admin/2014/wordpress/wp-admin/custom-header.php - About 1 hr to fix

              Method comments2wp has 44 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function comments2wp($comments='')
                  {
                      // General Housekeeping
                      global $wpdb;
                      $count = 0;
              Severity: Minor
              Found in Web.Admin/2014/wordpress/wp-admin/import/dotclear.php - About 1 hr to fix

                Method setup has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function setup() {
                        global $verified;
                        // Get details from form or from DB
                        if ( !empty( $_POST['lj_username'] ) && !empty( $_POST['lj_password'] ) ) {
                            // Store details for later
                Severity: Minor
                Found in Web.Admin/2014/wordpress/wp-admin/import/livejournal.php - About 1 hr to fix

                  Method check_comment has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function check_comment($author, $email, $url, $comment, $user_ip, $user_agent, $comment_type) {
                      global $wpdb;
                  
                      if ( 1 == get_option('comment_moderation') )
                          return false; // If moderation is set to manual
                  Severity: Minor
                  Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

                    Method get_comments has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function get_comments( $args = '' ) {
                        global $wpdb;
                    
                        $defaults = array('status' => '', 'orderby' => 'comment_date_gmt', 'order' => 'DESC', 'number' => '', 'offset' => '', 'post_id' => 0);
                    
                    
                    Severity: Minor
                    Found in Web.Admin/2014/wordpress/wp-includes/comment.php - About 1 hr to fix

                      Method HandleEMBLClusterBlock has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          private function HandleEMBLClusterBlock($element, $block_type, &$info) {
                              // http://www.matroska.org/technical/specs/index.html#block_structure
                              // http://www.matroska.org/technical/specs/index.html#simpleblock_structure
                      
                              $block_data = array();

                        Method get_links has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function get_links()
                            {
                                if ($this->dom === null)
                                {
                                    throw new SimplePie_Exception('DOMDocument not found, unable to use locator');
                        Severity: Minor
                        Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Locator.php - About 1 hr to fix

                          Method wp_kses_check_attr_val has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function wp_kses_check_attr_val($value, $vless, $checkname, $checkvalue) {
                              $ok = true;
                          
                              switch (strtolower($checkname)) {
                                  case 'maxlen' :
                          Severity: Minor
                          Found in Web.Admin/2014/wordpress/wp-includes/kses.php - About 1 hr to fix

                            Method get_description has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function get_description($description_only = false)
                                {
                                    if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'summary'))
                                    {
                                        return $this->sanitize($return[0]['data'], $this->registry->call('Misc', 'atom_10_construct_type', array($return[0]['attribs'])), $this->get_base($return[0]));
                            Severity: Minor
                            Found in Web.Admin/2014/wordpress/wp-includes/SimplePie/Item.php - About 1 hr to fix

                              Method do_enclose has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function do_enclose( $content, $post_ID ) {
                                  global $wpdb;
                                  include_once( ABSPATH . WPINC . '/class-IXR.php' );
                              
                                  $log = debug_fopen( ABSPATH . 'enclosures.log', 'a' );
                              Severity: Minor
                              Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 1 hr to fix

                                Method wptexturize has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function wptexturize($text) {
                                    global $wp_cockneyreplace;
                                    static $static_setup = false, $opening_quote, $closing_quote, $default_no_texturize_tags, $default_no_texturize_shortcodes, $static_characters, $static_replacements, $dynamic_characters, $dynamic_replacements;
                                    $output = '';
                                    $curl = '';
                                Severity: Minor
                                Found in Web.Admin/2014/wordpress/wp-includes/formatting.php - About 1 hr to fix

                                  Method end_element has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function end_element($parser, $name) {
                                  
                                          $tag = array_pop(split(":", $name));
                                  
                                          $ccount = count($this->in_content);
                                  Severity: Minor
                                  Found in Web.Admin/2014/wordpress/wp-includes/atomlib.php - About 1 hr to fix

                                    Method get_active_blog_for_user has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function get_active_blog_for_user( $user_id ) {
                                        global $wpdb;
                                        $blogs = get_blogs_of_user( $user_id );
                                        if ( empty( $blogs ) )
                                            return null;
                                    Severity: Minor
                                    Found in Web.Admin/2014/wordpress/wp-includes/ms-functions.php - About 1 hr to fix

                                      Method wp_list_bookmarks has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function wp_list_bookmarks($args = '') {
                                          $defaults = array(
                                              'orderby' => 'name', 'order' => 'ASC',
                                              'limit' => -1, 'category' => '', 'exclude_category' => '',
                                              'category_name' => '', 'hide_invisible' => 1,
                                      Severity: Minor
                                      Found in Web.Admin/2014/wordpress/wp-includes/bookmark-template.php - About 1 hr to fix

                                        Method parse_settings has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public static function parse_settings( $editor_id, $settings ) {
                                                $set = wp_parse_args( $settings,  array(
                                                    'wpautop'           => true,
                                                    'media_buttons'     => true,
                                                    'default_editor'    => '',
                                        Severity: Minor
                                        Found in Web.Admin/2014/wordpress/wp-includes/class-wp-editor.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language