Analyze ColdFusion code for errors and code compatibility using ColdFusion Administrator

ColdFusion Administrator gives the facility to analyze your code for compatibility with current version of ColdFusion and also for errors. To start the Code Analyzer, go to ColdFusion Administrator (should be available at http://localhost/CFIDE/administrator/index.cfm) and go to 'Debugging & Logging' -> 'Code Analyzer'.
You can give the path of the folder which contains the code to be analyzed. Check the 'Analyze subdirectories' check box if you want to traverse all sub folders inside the directory. You can also give the type of files (*.cfm, *.cfc etc) to be analyzed.
'Advanced Options' will let you choose options like Tags and Functions to be analyzed, validate CFML etc.

Once you have completed setup, click the 'Run Analyzer' to check the code for errors. This will analyze the code and show you the results along with the details of files in a tabular format. Click on the left most icon to each error to see the details of the error.

Comments

Popular posts from this blog

Array functions in JavaScript

Hide notification content in Android lock screen for Messages, email, whatsapp and selected apps.