Loading

Code cover ratio

Дата публикации: Feb 17, 2025
Описание
In Apex code development, it is not recommended to increase the code cover ratio in the organization by intentionally creating Apex classes and/or methods that describe meaningless redundant statements (substitution to a variable should not be used or repetition of calculations, for example) not used in the actual application.

If the application is deployed to the production environment skipping a test that should be conducted, these meaningless statements can cause unintended behavior and/or issues.

Such meaningless statements skew the upper limit value of the number of Apex characters in the organization.

Salesforce will review the details of the customer's upper limit value of the number of Apex characters when checking the upper limit value of the number of Apex characters. If there are meaningless statements, Salesforce may ask for modification of the Apex code.
Номер статьи базы знаний

000382195

 
Загрузка
Salesforce Help | Article