yippie-io/iUPB

View on GitHub
app/assets/javascripts/libs/jquery.offline.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function retrieveJSON has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.retrieveJSON = function(url, data, fn) {
      // allow jQuery.retrieveJSON(url, fn)
      if ($.isFunction(data)) {
        fn = data;
        data = {};
Severity: Major
Found in app/assets/javascripts/libs/jquery.offline.js - About 2 hrs to fix

    Function getJSON has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function getJSON(url, data, fn) {
        if (jQuery.isFunction(data)) {
          fn = data;
          data = null;
        }
    Severity: Minor
    Found in app/assets/javascripts/libs/jquery.offline.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status