Using the SenseTalk Script Checker
The Eggplant Functional (EPF) Script Editor includes a SenseTalk Script Checker that lets you analyze scripts for mistakes or violations of coding best practices. The Script Checker performs static analysis of one or more scripts to gather information about things such as variable usage and calls to other scripts, then provides feedback in the form of warnings or errors about possible problems in the code.
You can find the Script Checker at the bottom of the Script Editor. Click the Script Checker tab to view information about the current script:

The SenseTalk Script Checker is found at the bottom of the Eggplant Functional Script Editor
Checking the Current Script
The Script Checker runs automatically whenever you open or save a script. Note, however, that you can turn off this behavior on the Checker tab of Eggplant Functional Preferences. You can also click the Check Script button on the Script Checker tab to perform a detailed analysis of the current script at any time.
The Script Checker tab first lists any errors or warnings in the code. Errors are typically syntax problems, while warnings cover a wide variety of possible problems and suggested best practices.
Following the listing of any errors and warnings, the tab shows in-depth analysis of each handler within the script. Click the arrow to the left of a line to drill down to the details.
The handler information lists any errors and warnings specific to that handler (duplicating those listed earlier, but grouped under each specific handler), plus detailed information about each use of a variable in the handler and each generic command or function call.
The term handler applies to any individual handlers within a script and also to the first part of a script before any explicit handlers, which is known as the initial handler and is named the same as the script. If a script doesn't contain any explicit handlers, the entire script is the initial handler. So the term handler applies to any script or handler.
For more information about handlers in SenseTalk, see Handlers.
Tech Talk
Generic calls are those that use a generic syntax that could invoke a custom script or handler in your code. The command
log foundImageInfo()
for example, is a generic command syntax (a command name optionally followed by one or more parameters) so it would be listed by the Script Checker as a generic call to the log command. This command also includes a generic function call to the foundImageInfo function, which would be listed as well.
The command
set total to 0
however, is not generic. It involves a special syntax that is part of the SenseTalk language. Such commands are not listed by the Script Checker.
If you select a line in the analysis by clicking it, the corresponding line or word in the script is highlighted and scrolled into view (as applicable). Some lines provide summary information and won't highlight anything when selected.
You can also use the arrow keys to navigate through lines of the analysis after you have selected an item. Use the up and down arrow keys to move the selection. Use the left and right arrow keys to expand and collapse portions of the hierarchy.
The Script Checker tab appears at the bottom of the Script Editor and displays information for the current script. If you switch between different script tabs in the Script Editor, the Script Checker changes to show information always for the current script in the editor.