adobe/brackets

View on GitHub
src/utils/DropdownEventHandler.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function open has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    DropdownEventHandler.prototype.open = function () {
        var self = this;

        /**
         * Convert keydown events into hint list navigation actions.
Severity: Minor
Found in src/utils/DropdownEventHandler.js - About 1 hr to fix

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

            function _keydownHook(event) {
                var keyCode;
    
                // (page) up, (page) down, enter and tab key are handled by the list
                if (event.type === "keydown") {
    Severity: Minor
    Found in src/utils/DropdownEventHandler.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status