frg/ftakar-js

View on GitHub
examples/js/ftakar.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function ftakar has 141 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  $.fn.ftakar = function(options) {
    // default settings
    var settings = $.extend($.fn.ftakar.defaults, options),
    supports_html5_storage = function () {
        // check if browser supports local storage
Severity: Major
Found in examples/js/ftakar.js - About 5 hrs to fix

    Function save has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                save: function(element) {
                    if (element) {
                        // get data
                        var data = store.get();
    
    
    Severity: Minor
    Found in examples/js/ftakar.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status