adobe/brackets

View on GitHub
src/extensions/default/CodeFolding/foldhelpers/indentFold.js

Summary

Maintainability
A
1 hr
Test Coverage

Function indentFold has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function indentFold(cm, start) {
        var lineText = cm.getLine(start.line), tabSize = cm.getOption("tabSize");

        var lineIndent = cols(lineText, null, tabSize), collapsible = false, lineCount = cm.lineCount();
        var token = cm.getTokenAt(pos(start.line, lineIndent + 1));
Severity: Minor
Found in src/extensions/default/CodeFolding/foldhelpers/indentFold.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status