---
title: The Instance Has More Than 5.000 Lines Of APEX Code
description: "Impact Area Manageability Severity Warning Affected Element Org Config ## Rule ID **SF-0155** ## Impact A high number of lines of code in APEX classes indicates that the instance may be over-customized, and fails to leverage out of the box…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/the-instance-has-more-than-5-000-lines-of-apex-code/"
updated: "2025-03-21"
category: Rules
---

# The Instance Has More Than 5.000 Lines Of APEX Code

Impact Area

Manageability

           Severity

Warning

           Affected Element

Org Config

## Rule ID

**SF-0155**

## Impact

A high number of lines of code in APEX classes indicates that the instance may be over-customized, and fails to leverage out of the box functionality included in Salesforce.

## Remediation

Analyze the need for code customizations, and revert to out of the box whenever possible.
