• Documentation
  • Roadmap
  • Product Release
  • Developers
  • Academy
  • Documentation
  • Roadmap
  • Product Release
  • Developers
  • Academy

Shopping Cart

No products in the cart.

Sign in
Quality Clouds Community
Quality Clouds Community
  • Documentation
  • Roadmap
  • Product Release
  • Developers
  • Academy
  • Home
  • Quality Clouds Documentation
  • QCR
  • Rules

Apex Trigger Rules

< 1 min read

The following table shows the list of Salesforce Apex Trigger rules that are checked by Quality Clouds.

DescriptionSeverityArea of impact
Avoid maintaining legacy code with outdated API versionsWarningPerformance
Avoid using outdated API versions in new codeWarningPerformance
Avoid hardcoded urlsMediumManageability
Avoid implementing business logic in triggersHighManageability
Avoid excessive cyclomatic complexityMediumManageability
Variable names should start with a lowercase characterMediumManageability
Avoid directly accessing Trigger.old and Trigger.newMediumManageability
Avoid excessive standard cyclomatic complexityMediumManageability
Access permissions should be checked before a SOQL/SOSL/DML operationMediumManageability
Possible extra-sensitive PII usage in configuration element – GenderHighSecurity
Possible extra-sensitive PII usage in configuration element – ReligionHighSecurity
Possible PII usage in configuration element – EmailWarningSecurity
Possible PII usage in configuration element – AddressWarningSecurity
Possible PII usage in configuration element – NationalityWarningSecurity
Possible PII usage in configuration element – PassportWarningSecurity
Updated on March 21, 2025
Apex Page RulesCustom Field Rules
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Was it helpful ?
  • Happy
  • Normal
  • Sad
© 2026 - community-development

Report

There was a problem reporting this post.

Harassment or bullying behavior
Contains mature or sensitive content
Contains misleading or false information
Contains abusive or derogatory content
Contains spam, fake content or potential malware

Block Member?

Please confirm you want to block this member.

You will no longer be able to:

  • See blocked member's posts
  • Mention this member in posts
  • Invite this member to groups

Please allow a few minutes for this process to complete.

Report

You have already reported this .