HaxeCheckstyle/haxe-checkstyle

View on GitHub
src/checkstyle/checks/design/UnnecessaryConstructorCheck.hx

Summary

Maintainability
Test Coverage

Method actualRun length is 51 lines (max allowed is 50)
Open

    override function actualRun() {
        var classes:Array<TokenTree> = findClasses();
        for (cls in classes) {
            if (extendsBaseClass(cls)) continue;
            if (isPosSuppressed(cls.pos)) continue;

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