CaffGeek/MBACNationals

View on GitHub

Showing 5,566 of 7,504 total issues

Function patchCamera has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                patchCamera: function () {
                    api.Camera.fallback = function (el, options, callback) {
                        var camId = api.uid();
                        api.log('FlashAPI.Camera.publish: ' + camId);
                        flash.publish(el, camId, api.extend(options, {
Severity: Major
Found in Web.Admin/z-scripts/FileAPI.js - About 2 hrs to fix

    Function upload has 56 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        this.upload = function (config) {
            config.headers = config.headers || {};
            config.headers['Content-Type'] = undefined;
            config.transformRequest = config.transformRequest ?
                (angular.isArray(config.transformRequest) ?
    Severity: Major
    Found in Web.Admin/z-scripts/ng-file-upload.js - About 2 hrs to fix

      Function ContextTagKeys has 56 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          var ContextTagKeys = (function () {
              function ContextTagKeys() {
                  this.applicationVersion = "ai.application.ver";
                  this.applicationBuild = "ai.application.build";
                  this.applicationTypeId = "ai.application.typeId";
      Severity: Major
      Found in Web.Admin/z-scripts/ai.0.15.0-build46802.js - About 2 hrs to fix

        Function initialize has 56 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                initialize: function( params, options ) {
                    var self = this,
                        rscheme = /^https?/;
        
                    $.extend( this, options || {} );
        Severity: Major
        Found in Web.Admin/2014/wordpress/wp-admin/js/customize-controls.js - About 2 hrs to fix

          Method wp_handle_sideload has 56 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function wp_handle_sideload( &$file, $overrides = false ) {
              // The default error handler.
              if (! function_exists( 'wp_handle_upload_error' ) ) {
                  function wp_handle_upload_error( &$file, $message ) {
                      return array( 'error'=>$message );
          Severity: Major
          Found in Web.Admin/2014/wordpress/wp-admin/includes/file.php - About 2 hrs to fix

            Method cron_recheck has 56 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public static function cron_recheck() {
                    global $wpdb;
            
                    $api_key = self::get_api_key();
            
            
            Severity: Major
            Found in Web.Admin/2014/wordpress/wp-content/plugins/akismet/class.akismet.php - About 2 hrs to fix

              Method wp_newComment has 56 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function wp_newComment($args) {
                      global $wpdb;
              
                      $this->escape($args);
              
              
              Severity: Major
              Found in Web.Admin/2014/wordpress/wp-includes/class-wp-xmlrpc-server.php - About 2 hrs to fix

                Method QuicktimeIODSaudioProfileName has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function QuicktimeIODSaudioProfileName($audio_profile_id) {
                        static $QuicktimeIODSaudioProfileNameLookup = array();
                        if (empty($QuicktimeIODSaudioProfileNameLookup)) {
                            $QuicktimeIODSaudioProfileNameLookup = array(
                                0x00 => 'ISO Reserved (0x00)',

                  Method parseComments has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public static function parseComments(&$RIFFinfoArray, &$CommentsTargetArray) {
                          $RIFFinfoKeyLookup = array(
                              'IARL'=>'archivallocation',
                              'IART'=>'artist',
                              'ICDS'=>'costumedesigner',
                  Severity: Major
                  Found in Web.Admin/2014/wordpress/wp-includes/ID3/module.audio-video.riff.php - About 2 hrs to fix

                    Method QuicktimeVideoCodecLookup has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function QuicktimeVideoCodecLookup($codecid) {
                            static $QuicktimeVideoCodecLookup = array();
                            if (empty($QuicktimeVideoCodecLookup)) {
                                $QuicktimeVideoCodecLookup['.SGI'] = 'SGI';
                                $QuicktimeVideoCodecLookup['3IV1'] = '3ivx MPEG-4 v1';

                      Method uidl has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function uidl ($msgNum = "")
                          {
                              //  Returns the UIDL of the msg specified. If called with
                              //  no arguments, returns an associative array where each
                              //  undeleted msg num is a key, and the msg's uidl is the element
                      Severity: Major
                      Found in Web.Admin/2014/wordpress/wp-includes/class-pop3.php - About 2 hrs to fix

                        Method get_available_widgets has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function get_available_widgets() {
                                static $available_widgets = array();
                                if ( ! empty( $available_widgets ) ) {
                                    return $available_widgets;
                                }
                        Severity: Major
                        Found in Web.Admin/2014/wordpress/wp-includes/class-wp-customize-widgets.php - About 2 hrs to fix

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

                              function load()
                              {
                                  if ($this->mysql && ($query = mysql_query('SELECT `items`, `data` FROM `' . $this->options['prefix'][0] . 'cache_data` WHERE `id` = \'' . mysql_real_escape_string($this->id) . "'", $this->mysql)) && ($row = mysql_fetch_row($query)))
                                  {
                                      $data = unserialize($row[1]);
                          Severity: Major
                          Found in Web.Admin/2014/wordpress/wp-includes/class-simplepie.php - About 2 hrs to fix

                            Method _render_item has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                final protected function _render_item( $node ) {
                                    if ( $node->type != 'item' )
                                        return;
                            
                                    $is_parent = ! empty( $node->children );
                            Severity: Major
                            Found in Web.Admin/2014/wordpress/wp-includes/class-wp-admin-bar.php - About 2 hrs to fix

                              Method add_query_arg has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function add_query_arg() {
                                  $ret = '';
                                  if ( is_array( func_get_arg(0) ) ) {
                                      if ( @func_num_args() < 2 || false === @func_get_arg( 1 ) )
                                          $uri = $_SERVER['REQUEST_URI'];
                              Severity: Major
                              Found in Web.Admin/2014/wordpress/wp-includes/functions.php - About 2 hrs to fix

                                Function FileReader has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    window.FileReader = function() {
                                        var _this = this, loadStarted = false;
                                        this.listeners = {};
                                        this.addEventListener = function(type, fn) {
                                            _this.listeners[type] = _this.listeners[type] || [];
                                Severity: Major
                                Found in Web.Admin/z-scripts/ng-file-upload-all.js - About 2 hrs to fix

                                  Function FileReader has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      window.FileReader = function() {
                                          var _this = this, loadStarted = false;
                                          this.listeners = {};
                                          this.addEventListener = function(type, fn) {
                                              _this.listeners[type] = _this.listeners[type] || [];
                                  Severity: Major
                                  Found in Web.Admin/z-scripts/ng-file-upload-shim.js - About 2 hrs to fix

                                    Function link has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                                link: function (scope, element, attrs) {
                                                    scope.$watch('shots', function () {
                                                        scope.shots = scope.shots.toUpperCase();
                                                        scope.game = { frames: [], score: 0, fouls: 0 };
                                    
                                    
                                    Severity: Major
                                    Found in Web.Admin/AdminApp/Controllers/controller.stepladder.js - About 2 hrs to fix

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

                                          add: function(handleObj) {
                                      
                                              var getCoords = function(e) {
                                                  if ( e.touches && e.touches.length ) {
                                                      var touch = e.touches[0];
                                      Severity: Major
                                      Found in Web.Admin/2015/js/galleria/galleria-1.4.2.js - About 2 hrs to fix

                                        Function ajaxDim has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            ajaxDim: function( e, s ) {
                                                if ( $(e).parent().css('display') == 'none' ) // Prevent hidden links from being clicked by hotkeys
                                                    return false;
                                                e = $(e); s = s || {};
                                                var list = this, cls = wpList.parseClass(e,'dim'), element, isClass, color, dimColor;
                                        Severity: Major
                                        Found in Web.Admin/2014/wordpress/wp-includes/js/wp-lists.dev.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language