[WEBINAR] Better to Ask Permission? Best Practices for Privacy and Security

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.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
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.