[SonarQube] python:S3776 - Cognitive Complexity 27 > 15 (src/gardien/engine/shell.py:81) #34

Open
opened 2026-05-18 01:09:52 +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/engine/shell.py
  • Line: 81
  • Issue key: 30e24d32-6e1e-44f0-997c-e877a2148a4c

Message:

Refactor this function to reduce its Cognitive Complexity from 27 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/engine/shell.py` - **Line:** 81 - **Issue key:** `30e24d32-6e1e-44f0-997c-e877a2148a4c` **Message:** > Refactor this function to reduce its Cognitive Complexity from 27 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#34
No description provided.