Avoid Using “for” Statements Without Using Surrounding Braces

Impact area

Manageability

Severity

Medium

Affected element

Apex Class

Rule ID #

SF-0006

Impact #

Not using braces is error prone and complicates debugging.

Remediation #

Use braces to surround all code blocks.

Time to fix  #

15 min

Was it helpful ?

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!