hummingbird-me/hummingbird

View on GitHub
app/assets/javascripts/old/jquery.autosize.js

Summary

Maintainability
C
7 hrs
Test Coverage

Function autosize has 148 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.autosize = function (options) {
        if (!this.length) {
            return this;
        }

Severity: Major
Found in app/assets/javascripts/old/jquery.autosize.js - About 5 hrs to fix

    Function adjust has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                function adjust() {
                    var height, original;
    
                    if (mirrored !== ta) {
                        initMirror();
    Severity: Minor
    Found in app/assets/javascripts/old/jquery.autosize.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status