Skip to content

V2.4.0: Cyclomatic complexity calculation for a class fails  #359

Closed
@niconoe-

Description

@niconoe-

Hi guys,

With the release of the version 2.4.0 today, I saw that my classes have a higher cyclomatic complexity level.
This is due to the fact that methods are increasing the CCN for a class, although it shouldn't.
(See In the CyclomaticComplexityVisitor, after running the $cb lambda function).

Can you please fix this?
Thanks a lot.

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions