merty/simple-file-uploader

View on GitHub
handlers.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function upload(response, postData) {

  var file = JSON.parse(postData);
  var fileRootName = file.name.split('.').shift();
  var fileExtension = file.name.split('.').pop();
Severity: Minor
Found in handlers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status