lint.CFLint.1.3.0.source-code.cflint.description.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CFLint Show documentation
Show all versions of CFLint Show documentation
A static code analysis tool for ColdFusion (in the spirit of FindBugs and Lint). With CFLint, you are able to analyze your ColdFusion code base for code violations.
ARG_DEFAULT_MISSING:Optional argument is missing a default value.
ARG_VAR_CONFLICT:Variable declared in both local and argument scopes.
ARG_VAR_MIXED:Variable referenced in local and argument scopes.
NO_DEFAULT_INSIDE_SWITCH:Missing default switch statement.
GLOBAL_VAR:Global variable exists.
NESTED_CFOUTPUT:Nexted cfoutput with cfquery tag.
OUTPUT_ATTR:Tag should have output='false'.
QUERYPARAM_REQ:SetSql() statement should use .addParam().
CFQUERYPARAM_REQ:cfquery should use .
QUERYNEW_DATATYPE:QueryNew statement should specify datatypes.
MISSING_VAR:Variable is not declared with a var statement.
AVOID_USING_CFDUMP_TAG:Avoid use of cfdump tags.
AVOID_USING_CFEXECUTE_TAG:Avoid use of cfexecute tags.
AVOID_USING_CFABORT_TAG:Avoid use of cfabort tags.
AVOID_USING_ABORT:Avoid use of abort statements.
AVOID_USING_CFINSERT_TAG:Avoid use of cfinsert tags.
AVOID_USING_CFMODULE_TAG:Avoid use of cfmodule tags.
AVOID_USING_CFUPDATE_TAG:Avoid use of cfupdate tags.
AVOID_USING_CFINCLUDE_TAG:Avoid use of cfinclude tags.
COMPONENT_HINT_MISSING:Component is missing a hint.
FUNCTION_HINT_MISSING:Function is missing a hint.
ARG_HINT_MISSING:Argument is missing a hint.
ARG_TYPE_MISSING:Component is missing a type.
ARG_TYPE_ANY:Component is of type any.
EXCESSIVE_FUNCTION_LENGTH:Method is too long.
EXCESSIVE_COMPONENT_LENGTH:Component is too long.
FUNCTION_TYPE_MISSING:Function is missing a return type.
FUNCTION_TYPE_ANY:Function has a return type of any.
EXCESSIVE_ARGUMENTS:Function has too many arguments.
EXCESSIVE_FUNCTIONS:Too many functions.
FUNCTION_TOO_COMPLEX:Function is too complex.
AVOID_USING_WRITEDUMP:Avoid use of writedump statements.
AVOID_USING_STRUCTNEW:Avoid use of structnew statements. Use {} instead.
AVOID_USING_ISDEBUGMODE:Avoid use of isdebugmode statements.
AVOID_USING_ARRAYNEW:Avoid use of arraynew statements. Use [] instead.
COMPLEX_BOOLEAN_CHECK:Complex boolean expression.
EXPLICIT_BOOLEAN_CHECK:Checking boolean expression explicitly.
VAR_INVALID_NAME:Variable has invalid name.
VAR_ALLCAPS_NAME:Variable name is allcaps.
SCOPE_ALLCAPS_NAME:Variable scope name is allcaps.
VAR_TOO_SHORT:Variable name is too short.
VAR_TOO_LONG:Variable name is too long.
VAR_TOO_WORDY:Variable name contain too many words.
VAR_IS_TEMPORARY:Variable name looks temporary.
VAR_HAS_PREFIX_OR_POSTFIX:Variable name has prefix or postfix.
ARGUMENT_INVALID_NAME:Argument has invalid name.
ARGUMENT_ALLCAPS_NAME:Argument name is allcaps.
ARGUMENT_TOO_SHORT:Argument name is too short.
ARGUMENT_TOO_LONG:Argument name is too long.
ARGUMENT_TOO_WORDY:Argument name contain too many words.
ARGUMENT_IS_TEMPORARY:Argument name looks temporary.
ARGUMENT_HAS_PREFIX_OR_POSTFIX:Argument name has prefix or postfix.
METHOD_INVALID_NAME:Method has invalid name.
METHOD_ALLCAPS_NAME:Method name is allcaps.
METHOD_TOO_SHORT:Method name is too short.
METHOD_TOO_LONG:Method name is too long.
METHOD_TOO_WORDY:Method name contain too many words.
METHOD_IS_TEMPORARY:Method name looks temporary.
METHOD_HAS_PREFIX_OR_POSTFIX:Method name has prefix or postfix.
COMPONENT_INVALID_NAME:Component has invalid name.
COMPONENT_ALLCAPS_NAME:Component name is allcaps.
COMPONENT_TOO_SHORT:Component name is too short.
COMPONENT_TOO_LONG:Component name is too long.
COMPONENT_TOO_WORDY:Component name contain too many words.
COMPONENT_IS_TEMPORARY:Component name looks temporary.
COMPONENT_HAS_PREFIX_OR_POSTFIX:Component name has prefix or postfix.
FILE_SHOULD_START_WITH_LOWERCASE:CFM File starts with upper case.
AVOID_USING_CREATEOBJECT:Avoid use of creatobject statements.
AVOID_USING_DEBUG_ATTR:Avoid use of debug attribute.
UNUSED_LOCAL_VARIABLE:Unused local variable.
UNUSED_METHOD_ARGUMENT:Unused method argument.
AVOID_USING_CFSETTING_DEBUG:Avoid using showDebugOutput attribute on cfsetting.
COMPARE_INSTEAD_OF_ASSIGN:Using comparision where assignment was probably meant.
PACKAGE_CASE_MISMATCH:Warn with package case does not match its use.