myems-admin/js/plugins/dropzone/ng-dropzone.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function factory has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function factory(angular, Dropzone){
      
    angular.module('thatisuday.dropzone', []).provider('dropzoneOps', function(){
      /*
       *  Add default options here
Severity: Major
Found in myems-admin/js/plugins/dropzone/ng-dropzone.js - About 2 hrs to fix

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

            link : function(scope, iElem, iAttr){
              //Set options for dropzone {override from dropzone options provider}
              scope.options = scope.options || {};
              var initOps = angular.extend({}, dropzoneOps, scope.options);
              
    Severity: Minor
    Found in myems-admin/js/plugins/dropzone/ng-dropzone.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status