[SonarQube] python:S3776 - Cognitive Complexity 29 > 15 (src/gardien/steps/restic_backup.py:71) #8

Open
opened 2026-05-18 01:08:12 +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/steps/restic_backup.py
  • Line: 71
  • Issue key: dea05ac4-8d3c-4ba8-8c17-dde0af049d6a

Message:

Refactor this function to reduce its Cognitive Complexity from 29 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/steps/restic_backup.py` - **Line:** 71 - **Issue key:** `dea05ac4-8d3c-4ba8-8c17-dde0af049d6a` **Message:** > Refactor this function to reduce its Cognitive Complexity from 29 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#8
No description provided.