Definition

static analysis (static code analysis)

Static analysis, also called static code analysis, is a method of computer program debugging that is done by examining the code without executing the program. The process provides an understanding of the code structure, and can help to ensure that the code adheres to industry standards. Automated tools can assist programmers and developers in carrying out static analysis. The process of scrutinizing code by visual inspection alone (by looking at a printout, for example), without the assistance of automated tools, is sometimes called program understanding or program comprehension.

The principal advantage of static analysis is the fact that it can reveal errors that do not manifest themselves until a disaster occurs weeks, months or years after release. Nevertheless, static analysis is only a first step in a comprehensive software quality-control regime. After static analysis has been done, dynamic analysis is often performed in an effort to uncover subtle defects or vulnerabilities. In computer terminology, static means fixed, while dynamic means capable of action and/or change. Dynamic analysis involves the testing and evaluation of a program based on execution. Static and dynamic analysis, considered together, are sometimes referred to as glass-box testing.

This was last updated in November 2006
Posted by: Margaret Rouse

Email Alerts

Register now to receive SearchWinDevelopment.com-related news, tips and more, delivered to your inbox.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

More News and Tutorials

  • The 'VB.NET or C#' debate: It's all in the syntax

    Microsoft development experts say Visual Basic and C# have become nearly identical in function as the .NET Framework has matured. Choosing whether to use VB.NET or C# is more or less a matter of which syntax style you prefer. Despite the similarities, many developers still carry a stigma against VB, said Lance Keene, president of .NET consultancy Keene Systems.

  • IronRuby offers options for .NET developers, brings open source to Microsoft

    The moat around the .NET programming community has long been difficult to cross from either direction. Developers from both sides see IronRuby, an open source implementation of Ruby for the .NET platform, as a possible crossing point.

  • Some of the Zen of Volta

    Coming from Microsoft Labs and still in its early gestation, Volta is a methodology allowing developers to create apps without regard to eventual deployment, and to declaratively partition Web application elements across tiers.

Do you have something to add to this definition? Let us know.

Send your comments to techterms@whatis.com

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: