Skip to content

LOC of individual functions #2377

Closed
Closed
@fabric-and-ink

Description

@fabric-and-ink

It would be great to have a lint for "long functions". This lint would count the number of lines (without comments) for each function and print a warning if it is larger than some value. The warnings may help to improve code readability in addition to the cyclomatic complexity lint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-hardCall for participation: This a hard problem and requires more experience or effort to work onT-ASTType: Requires working with the ASTgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions