jkuchar/MultipleFileUpload

View on GitHub
public/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js

Summary

Maintainability
D
1 day
Test Coverage

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: Major
Found in public/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js - About 1 day to fix

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

    /**
     * jquery.plupload.queue.js
     *
     * Copyright 2009, Moxiecode Systems AB
     * Released under GPL License.
    Severity: Minor
    Found in public/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js - About 2 hrs to fix

      Function renderUI has 49 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function renderUI(id, target) {
              // Remove all existing non plupload items
              target.contents().each(function(i, node) {
                  node = $(node);
      
      
      Severity: Minor
      Found in public/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js - About 1 hr to fix

        Function updateList has 41 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                        function updateList() {
                            var fileList = $('ul.plupload_filelist', target).html(''), inputCount = 0, inputHTML;
        
                            $.each(uploader.files, function(i, file) {
                                inputHTML = '';
        Severity: Minor
        Found in public/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js - About 1 hr to fix

          There are no issues that match your filters.

          Category
          Status