File Length

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


Configuration

{
    "type": "FileLength",
    "props": {
        "severity": "WARNING",
        "max": 2000
    }
}