Using Static Code Analyzers

Question
What can be done to check for common programming errors and standards violations in automation code?

Answer
Use static analysis tools to analyze the code. For example, jslint for the JavaScript language.

Comments
Static analysis tools help identify common syntax errors and standards violations. Some even raise warnings about poor programming style. For example, functions that are too long or take too many arguments.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s