---
title: Avoid Excessive Standard Cyclomatic Complexity
description: "Impact Area Manageability   Severity Medium   Affected Element Apex Trigger Apex  Class   ## Rule ID **SF-0044** ## Impact Excessive cyclomatic complexity makes the code hard to understand, debug, and maintain. Standard cyclomatic complexity excludes boolean operators from the…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/pmd-rules/avoid-excessive-standard-cyclomatic-complexity/"
updated: "2025-03-21"
category: PMD Rules
---

# Avoid Excessive Standard Cyclomatic Complexity

Impact Area

Manageability

 

           Severity

Medium

 

           Affected Element

Apex Trigger

Apex  Class

 

## Rule ID

**SF-0044**

## Impact

Excessive cyclomatic complexity makes the code hard to understand, debug, and maintain. Standard cyclomatic complexity excludes boolean operators from the calculation.

## Remediation

Refactor the code to reduce the complexity of your methods.

### Time to fix

60 min
