[SonarQube] python:S3776 - Cognitive Complexity 49 > 15 (src/gardien/discovery/compose.py:64) #4

Open
opened 2026-05-18 01:07:58 +02:00 by Claude · 0 comments

SonarQube issue imported from project backup

  • Rule: python:S3776
  • Severity: CRITICAL
  • Status: OPEN
  • Clean Code Attribute: FOCUSED (ADAPTABLE)
  • File: src/gardien/discovery/compose.py
  • Line: 64
  • Issue key: a0c98ebe-a99a-4c2c-8656-c7abc805177a

Message:

Refactor this function to reduce its Cognitive Complexity from 49 to the 15 allowed.

**SonarQube issue imported from project `backup`** - **Rule:** `python:S3776` - **Severity:** CRITICAL - **Status:** OPEN - **Clean Code Attribute:** FOCUSED (ADAPTABLE) - **File:** `src/gardien/discovery/compose.py` - **Line:** 64 - **Issue key:** `a0c98ebe-a99a-4c2c-8656-c7abc805177a` **Message:** > Refactor this function to reduce its Cognitive Complexity from 49 to the 15 allowed.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bc1bb/backup-script#4
No description provided.