Skip to content

Reduce cyclomatic complexity: _layers_dup_modules_are_extern_mirrors (CC=16, limit=15) #352

Description

@tom-sapletta-com

project/analysis.toon.yaml reports _layers_dup_modules_are_extern_mirrors with CC=16 (limit=15), defined in src/koru/scan.py:836. Extract sub-functions, simplify conditionals, or split into strategy pattern. Preserve behaviour — this is a pure refactor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code2llmAuto-created label for code2llmcomplexityAuto-created label for complexitykoruAuto-created label for korullm-readyAuto-created label for llm-readymanagedAuto-created label for managednl-taskAuto-created label for nl-taskplanfileAuto-created label for planfilepriority-normalAuto-created label for priority-normalpriority: normalrefactorAuto-created label for refactorscanAuto-created label for scan

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions