Skip to content

Reduce cyclomatic complexity in StackLicenseAnalyzer.compute_stack_license  #155

Description

@tisnik

Measured cyclomatic complexity is way too high in StackLicenseAnalyzer.compute_stack_license function:

src/stack_license.py
    M 180:4 StackLicenseAnalyzer.compute_stack_license - D (25)

1 blocks (classes, functions, methods) analyzed.
Average complexity: D (25.0)

To be able to use and test this code, it needs to be refactored.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions