Matho/refinerycms-photo-gallery

View on GitHub

Showing 201 of 315 total issues

File moxie.js has 6314 lines of code (exceeds 250 allowed). Consider refactoring.
Open

;var MXI_DEBUG = true;
/**
 * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill
 * v1.3.5
 *
Severity: Major
Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 2 wks to fix

    File plupload.full.js has 2469 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*1.5.4*/
    (function () {
        var f = 0, l = [], n = {}, j = {}, a = {"<":"lt", ">":"gt", "&":"amp", '"':"quot", "'":"#39"}, m = /[<>&\"\']/g, b, c = window.setTimeout, d = {}, e;
    
        function h() {

      Function Uploader has 820 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      plupload.Uploader = function(options) {
          /**
          Fires when the current RunTime has been initialized.
          
          @event Init

        File plupload.dev.js has 1084 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /**
         * Plupload - multi-runtime File Uploader
         * v2.1.9
         *
         * Copyright 2013, Moxiecode Systems AB

          File jquery.fancybox.js has 1065 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*!
           * fancyBox - jQuery Plugin
           * version: 2.0.6 (16/04/2012)
           * @requires jQuery v1.6 or later
           *

            File jquery.ui.plupload.js has 793 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /**
             * jquery.ui.plupload.js
             *
             * Copyright 2013, Moxiecode Systems AB
             * Released under GPL License.

              Function XMLHttpRequest has 365 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function XMLHttpRequest() {
                      var self = this,
                          // this (together with _p() @see below) is here to gracefully upgrade to setter/getter syntax where possible
                          props = {
                              /**
              Severity: Major
              Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 1 day to fix

                Function ExifParser has 348 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function ExifParser(data) {
                        var __super__, tags, tagDescs, offsets, idx, Tiff;
                        
                        BinaryReader.call(this, data);
                
                
                Severity: Major
                Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 1 day to fix

                  File plupload.html5.js has 743 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  (function (h, k, j, e) {
                      var c = {}, g;
                  
                      function m(o, p) {
                          var n;

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

                        }, init:function (p, r) {
                            var n, q;
                    
                            function o(w) {
                                var u, t, v = [], x, s = {};

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

                          }, init:function (p, r) {
                              var n, q;
                      
                              function o(w) {
                                  var u, t, v = [], x, s = {};

                        Function HTML5Image has 293 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function HTML5Image() {
                                var me = this
                                , _img, _imgInfo, _canvas, _binStr, _blob
                                , _modified = false // is set true whenever image is modified
                                , _preserveHeaders = true
                        Severity: Major
                        Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 1 day to fix

                          Function Uploader has 286 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              g.Uploader = function (s) {
                                  var p = {}, v, u = [], r, q = false;
                                  v = new g.QueueProgress();
                                  s = g.extend({chunk_size:0, multipart:true, multi_selection:true, file_data_name:"file", filters:[]}, s);
                                  function t() {

                            Function Uploader has 286 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                g.Uploader = function (r) {
                                    var o = {}, u, t = [], q, p = false;
                                    u = new g.QueueProgress();
                                    r = g.extend({chunk_size:0, multipart:true, multi_selection:true, file_data_name:"file", filters:[]}, r);
                                    function s() {

                              Function Image has 267 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function Image() {
                              
                                      RuntimeClient.call(this);
                              
                                      Basic.extend(this, {
                              Severity: Major
                              Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 1 day to fix

                                File plupload.js has 610 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                /*1.5.4*/
                                (function () {
                                    var f = 0, k = [], m = {}, i = {}, a = {"<":"lt", ">":"gt", "&":"amp", '"':"quot", "'":"#39"}, l = /[<>&\"\']/g, b, c = window.setTimeout, d = {}, e;
                                
                                    function h() {

                                  Function UAParser has 265 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      var UAParser = (function (undefined) {
                                  
                                          //////////////
                                          // Constants
                                          /////////////
                                  Severity: Major
                                  Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 1 day to fix

                                    Function XMLHttpRequest has 251 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function XMLHttpRequest() {
                                            var self = this
                                            , _xhr
                                            , _filename
                                            ;
                                    Severity: Major
                                    Found in app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js - About 1 day to fix

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

                                          }, init:function (f, g) {
                                              f.bind("Init", function (p) {
                                                  var j = a.body, n, h = "javascript", k, x, q, z = [], r = /MSIE/.test(navigator.userAgent), t = [], m = p.settings.filters, o, l, s, w;
                                                  no_type_restriction:for (o = 0; o < m.length; o++) {
                                                      l = m[o].extensions.split(/,/);

                                        Function pluploadQueue has 208 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            $.fn.pluploadQueue = function(settings) {
                                                if (settings) {
                                                    this.each(function() {
                                                        var uploader, target, id, contents_bak;
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language