HaxeCheckstyle/haxe-checkstyle

View on GitHub
src/checkstyle/checks/whitespace/ExtendedEmptyLinesCheck.hx

Summary

Maintainability
Test Coverage

Method checkClass length is 53 lines (max allowed is 50)
Open

    function checkClass(emptyLines:ListOfEmptyLines, typeToken:TokenTree) {
        var places:Array<EmptyLinesPlace> = [
            BEGIN_CLASS,
            END_CLASS,
            BETWEEN_CLASS_METHODS,

Checks for long methods. If a method becomes very long it is hard to understand. Therefore long methods should usually be refactored into several individual methods that focus on a specific task.

There are no issues that match your filters.

Category
Status