Eggplant Functional Checker Preferences
Use these preference settings to customize the information returned by the SenseTalk Script Checker. For information about the Script Checker, see Using the SenseTalk Script Checker.

The Checker Preferences tab in Eggplant Functional
Script Checker Warnings
This section of preferences determines which warnings are reported by Script Checker analysis.
Variable Used Before Being Set: A warning is returned if a variable is used in a script then later has a value set.
Variable Set But Not Used: A warning is returned for variables that have been set and are not later used.
Variable Used But Never Set: A warning is returned for variables without predefined values that are used without first being set.
Short Variable Names: A warning is returned if a variable is used with a name shorter than the recommended minimum length. Use the Minimum Length field to change the default of 3 characters, if desired.
Similar Variable Names: A warning is returned if two variables with very similar names are discovered.
Same Variable Names of Different Types: A warning is returned if the same variable name is used for variables of different scope (i.e., local vs. global vs. universal).
Important Predefined Variable Changed: A warning is returned if one of SenseTalk's significant predefined variables, such as Yes or No, has its value modified.
Global Property Used As Variable: A warning is returned if a global property name is used as a variable.
Common Function Used As Variable: A warning is returned if a common function name is used as a variable.
Complex Code: A warning is returned if the nesting depth of repeat loops, if/then/else statements, or try/catch blocks exceeds the recommended maximum. You can change the default depth from 4 if necessary in the Maximum Nesting Depth field.
Long Script/Handler: A warning is returned if a script or handler is longer than the recommended maximum number of lines. You can change the default line maximum in the Maximum Lines field if necessary.
Deprecated Calls: A warning is returned if deprecated commands or functions are used.
Discouraged Calls: A warning is returned for any commands or functions whose use is discouraged—that is, they do not align with current SenseTalk best practices or your own preferences. The Wait command and the FoundImageName() function are listed by default, but you can add or remove items as a comma-separated list if you choose.
Script or Handler Not Defined: A warning is returned for calls made for which no script or handler is found, and for which there is no built-in command or function.
Handler Never Called: A warning is returned if a handler is defined but doesn't appear to be called.
Duplicate Script or Handler Defined: A warning is returned if more than one script or handler is found with the same name.