»
Home
Products
Support
Developer Community
Company
Buy
Demo
Documentation
Price
More Info
performance ColdFusion Code Review Rules
performance
Use of IIF
The IIF function is slower, and less readable than using conditionals
Use of SELECT *
Using SELECT * often returns more columns than necessary.
Use of SetVariable in CFSET
Use the equals operator in the CFSET tag instead for a speed and readibiliity increase.
StructFind Usage
StructFind is slower and less readable than dot or bracket notation.
Boolean Usage
Variables that resolve to true/false,yes/no, or 1/0 can be treated as booleans. Use cfif var, or cfif NOT var instead of cfif var IS true.
Use of IncrementValue function
IncrementValue is very slow use the addition operator inside of cfset instead.
Missing allow overwrite argument in StructInsert
Set the allow overwrite argument to true for a speed increase
Zero length String comparison
Use the Len function instead of IS ""
accessibility
bugprone
deprecated
documentation
portability
security
style
Sign up for our newsletter:
| Subscribe with RSS:
RSS
© ActivSoftware 1999 to 2005 |
Privacy Statement