SonarQube ColdFusion Plugin 1.3.0
Includes CFLint 1.0.1, which in turn comes with a number of bug fixes that were earlier breaking the content of cflint-result.xml
, causing issues with sonar-scanner analysis.
Technical Debt Estimations
Every issue now comes with a pre-set estimate of how much time it would take to resolve it -- including thinking about a resolution, implementing it and testing.
New Rules
CFLint 1.0.0 delivered a few new rules that are now available:
- Argument is missing a name -- when a function argument doesn't have a name.
- Star in SQL
SELECT
-- when an asterisk*
is used in aSELECT
query. - Never use
CFQUERY
in.cfm
files -- where a query is hard-coded into a.cfm
file, which should normally only be a view. - Use
displayName
instead ofname
-- where a component has aname
attribute, which is obsolete, as the name should originate from the file name. - Local literal value used too often -- when a locally scoped literal is used a number of times and should be replaced with a named variable.
- Global literal value used too often -- when a globally scoped literal is used a number of times and should be replaced with a named variable.