Skip to content

Address code smell: God Function: _resolve_patch_css #161

Open

Description

@tom-sapletta-com

code2llm reports God Function: _resolve_patch_css in repatch/_ui_patch_apply.py:64.

Function '_resolve_patch_css' is oversized: CC=10, fan-out=8, mutations=9.

Make the smallest refactor that removes the smell and run local tests.


Strategy Metadata:

  • planfile_id: PLF-179

code2llm reports God Function: _resolve_patch_css in repatch/_ui_patch_apply.py:64.

Function '_resolve_patch_css' is oversized: CC=10, fan-out=8, mutations=9.

Make the smallest refactor that removes the smell and run local tests.

Activity

  1. added
    priority-normalAuto-created label for priority-normal
    planfileAuto-created label for planfile
    managedAuto-created label for managed
    koruAuto-created label for koru
    nl-taskAuto-created label for nl-task
    llm-readyAuto-created label for llm-ready
    code2llmAuto-created label for code2llm
    code-smellAuto-created label for code-smell
    god-functionAuto-created label for god-function
    on Sep 20, 2026
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

    code-smellAuto-created label for code-smellcode2llmAuto-created label for code2llmgod-functionAuto-created label for god-functionkoruAuto-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-normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions