mar10/fancytree

View on GitHub
lib/jquery.popup.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function _create has 139 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _create: function() {
        if ( !this.options.trigger ) {
            this.options.trigger = this.element.prev();
        }

Severity: Major
Found in lib/jquery.popup.js - About 5 hrs to fix

    Function keydown has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                keydown: function( event ) {
                    switch ( event.keyCode ) {
                        case $.ui.keyCode.TAB:
                            // Waiting for close() will make popup hide too late, which breaks tab key behavior
                            this.element.hide();
    Severity: Minor
    Found in lib/jquery.popup.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status