[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Static Code Analysis

Definition - What does Static Code Analysis mean?

Static code analysis is a method of analyzing and evaluating search code without executing a program. Static code analysis is part of what is called "white box testing" because, unlike in black box testing, the source code is available to the testers. Many types of software testing involve static code analysis, where developers and other parties look for bugs or otherwise analyze the code for a software program.

Static code analysis is also known as static program analysis.

Techopedia explains Static Code Analysis

The opposite of static code analysis is dynamic code analysis. In the latter, the program is executed and developers look for run-time errors.

Different kinds of static code analysis include testing at various levels, such as at the unit level or system level. Experts point out that the compilation step done by modern compilers is a form of static code analysis in that it is designed to catch different types of syntactic or technical errors before a program is run. Static code analysis resources should provide better quality of code, although some IT professionals contend that there can be problems with this type of testing, some of which are related to overly standardized debugging tools. Also, although tools like compilers can catch many kinds of syntax errors, static code testing may or may not catch broader logical errors that can compromise quality. Some of these must be found in dynamic code testing.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.