Impact area
Manageability
Severity
Medium
Affected element
Lightning
Rule ID #
SF-0063
Impact #
Not including braces in conditional and loop statements may cause unexpected behavior.
Remediation #
Use braces to surround all code blocks.
Time to fix #
30 min
References #
See the PMD documentation article: IfStmtsMustUseBraces.