[SonarQube] python:S3776 - Cognitive Complexity 24 > 15 (src/gardien/cli.py:272) #22

Open
opened 2026-05-18 01:09:07 +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/cli.py
  • Line: 272
  • Issue key: 25d4d666-596a-4b99-bd23-0c857c71a50d

Message:

Refactor this function to reduce its Cognitive Complexity from 24 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/cli.py` - **Line:** 272 - **Issue key:** `25d4d666-596a-4b99-bd23-0c857c71a50d` **Message:** > Refactor this function to reduce its Cognitive Complexity from 24 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#22
No description provided.