[SonarQube] python:S3776 - Cognitive Complexity 21 > 15 (src/gardien/core/recover.py:77) #3

Open
opened 2026-05-18 01:07:55 +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/core/recover.py
  • Line: 77
  • Issue key: 132c1d44-adaf-4c91-b245-83998fd0117c

Message:

Refactor this function to reduce its Cognitive Complexity from 21 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/core/recover.py` - **Line:** 77 - **Issue key:** `132c1d44-adaf-4c91-b245-83998fd0117c` **Message:** > Refactor this function to reduce its Cognitive Complexity from 21 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#3
No description provided.