krafthaus/bauhaus

View on GitHub
bower_components/tinymce/plugins/tabfocus/plugin.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function tabHandler has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function tabHandler(e) {
        var x, el, v, i;

        if (e.keyCode !== 9 || e.ctrlKey || e.altKey || e.metaKey) {
            return;
Severity: Major
Found in bower_components/tinymce/plugins/tabfocus/plugin.js - About 2 hrs to fix

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

            function find(direction) {
                el = DOM.select(':input:enabled,*[tabindex]:not(iframe)');
    
                function canSelectRecursive(e) {
                    return e.nodeName === "BODY" || (e.type != 'hidden' &&
    Severity: Minor
    Found in bower_components/tinymce/plugins/tabfocus/plugin.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status