Go to » Web - QA - Dictionary - Encyclopedia - Images
 Web Opens New Window. Results 1 - 10 of about 20,400,000 for Static code analysis 



Static code analysis - Wikipedia, the free encyclopedia

  
Static code analysis is the analysis of computer software that is performed ... Episode 59: Static Code Analysis Interview (Podcast) at Software Engineering Radio ...
http://en.wikipedia.org/wiki/Static_code_analysis

List of tools for static code analysis - Wikipedia, the free encyclopedia

  
HP Code Advisor — A static analysis tool for C and C++ programs ... IntelliJ IDEA — IDE for Java that also provides static code analysis. ...
http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis

IntelliJ IDEA :: Static Code Analysis

  
IntelliJ IDEA's static code analysis is performed on-the-fly. ... Of course, the static code analysis can not be treated as a final instance, and ...
http://www.jetbrains.com/idea/documentation/static_code_analysis.html

Static Analysis - Veracode

  
Veracode provides protection from cyber theft by using static analysis of binary code to expose security holes, unsecured code, and application backdoors before they ...
http://www.veracode.com/security/static-analysis

Static Code Analysis

  
... how IntelliJ IDEA allows you to manage static. code analysis options. ... Of course, the static code analysis can not be treated as a final instance, and ...
http://www.jetbrains.com/idea/docs/StaticCodeAnalysis.pdf

Static Code Analysis - Veracode

  
Veracode provides the cost-effective static code analysis organizations require to insolate themselves from cyber threats, including application backdoors and ...
http://www.veracode.com/security/static-code-analysis

Improving Your Software with Xcode and Static Code Analysis Techniques

  
Static analysis refers to a method of examining software that allows developers ... This article covers the static analysis features of GCC and shows how to add ...
http://developer.apple.com/tools/xcode/staticanalysis.html

Source code defect detection & Software defect prevention | Klocwork

  
Static analysis (or automated source code analysis) of software allows ... Static Source Code Analysis. Static source code analysis is fast becoming a standard ...
http://www.klocwork.com/solutions/defectDetection.asp

KLOCwork, Inc.

  
Offers Klocwork Accelerator, which uses code-analysis algorithms to extract software architecture, interactions, logic flow, and execution threads directly from the source code of both full and partial systems.
http://www.klocwork.com/

Software Testing FAQ: Static Analysis Tools

  
LDRA Testbed - A fully automated tool for static analysis and code coverage. ... Static Analysis and Code Coverage tool suite. Organization. LDRA ...
http://www.testingfaqs.org/t-static.html
 MORE WEB RESULTS »  

 Questions 'n' Answers about 'Static code analysis' Opens New Window.

Q.Is there a C/C++ static analysis tool that will check for one function to follow another?Related Search:
Programming & Design
 I have a series of functions that set a return code (rc), and I need to make sure that every time rc is set, it is checked for an error. Let me clarify: returnCode = someFunctionCall(..); ERROR_CHECK_MACRO(returnCode); What sort of code analysis tool should I use to make sure that the macro is getting called every time a returnCode is being set?
A.If the return code is an object, then it can check itself on assignment and throw an exception. A primitive integer cannot of course do this. Another hack would be to use a macro or method to control access to the return code. The macro would check for error. Update: A macro is a preprocessor construct. The macro is ultimately replaced by whatever code the macro represents before compilation. The best way to guarantee your return code is always evaluated is to define a new ReturnCode class that validates input on construction or assignment. E.g. class ReturnCode { public: ReturnCode( int returnValue ) { // check return value here } ReturnCode& operator=( int returnValue ) { // check return value here returrn *this; } }; // Example usage... ReturnCode rc = SomeFunctionCall( );
  
 Dictionary Opens New Window.

Click on the word below to see the definition:
 
 Encyclopedia Opens New Window.

This article is about the programming technique. For the statistical method, see Static analysis.

Static code analysis is the analysis of computer software that is performed without actually executing programs built from that software (analysis performed on executing programs is known as dynamic analysis). In most cases the analysis is performed on some version of the source code and in the other cases some form of the object code. The term is usually applied to the analysis performed by an automated tool, with human analysis being called program understanding or program comprehension.

The sophistication of the analysis performed by tools varies from those that only consider the behavior of individual statements and declarations, to those that include the complete source code of a program in their analysis. Uses of the information obtained from the analysis vary from highlighting possible coding errors (e.g., the lint tool) to formal methods that mathematically prove properties about a given program (e.g., its behavior matches that of its specification).

It can be argued that software metrics and reverse engineering are forms of static analysis.

A growing commercial use of static analysis is in the verification of properties of software used in safety-critical computer systems and locating potentially vulnerable code.

[edit] Formal methods

Formal methods is the term applied to the analysis of software (and hardware) whose results are obtained purely through the use of rigorous mathematical methods. The mathematical techniques used include denotational semantics, axiomatic semantics, operational semantics, and abstract interpretation.

It has been proven that, barring some hypothesis that the state space of programs is finite and small, finding possible run-time errors, or more generally any kind of violation of a specification on the final result of a program, is undecidable: there is no mechanical method that can always answer truthfully whether a given program may or may not exhibit runtime errors. This result dates from the works of Church, Gödel and Turing in the 1930s (see the halting problem and Rice's theorem). As with most undecidable questions, one can still attempt to give useful approximate solutions.

Some of the implementation techniques of formal static analysis include:

  • Model checking considers systems that have finite state or may be reduced to finite state by abstraction;
  • Data-flow analysis is a lattice-based technique for gathering information about the possible set of values;
  • Abstract interpretation models the effect that every statement has on the state of an abstract machine (i.e., it 'executes' the software based on the mathematical properties of each statement and declaration). This abstract machine overapproximates the behaviours of the system: the abstract system is thus made simpler to analyze, at the expense of incompleteness (not every property true of the original system is true of the abstract system). If properly done, though, abstract interpretation is sound (every property true of the abstract system can be mapped to a true property of the original system).
  • Use of assertions in program code as first suggested by Hoare logic. There is tool support for some programming languages (e.g., the SPARK programming language (a subset of Ada) and the Java Modeling Language — JML — using ESC/Java and ESC/Java2).


[edit] See also

[edit] External links



All text is available under the terms of the GNU Free Documentation License. (See Copyrights for details.)
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Privacy policy - About Wikipedia - Disclaimers - Fundraising
 
 Images Opens New Window.
File Size: 13.2998046875k
Dimensions: 189 x 341 pixels
File Format: jpeg
File Size: 19.599609375k
Dimensions: 165 x 200 pixels
File Format: jpeg
File Size: 95.8994140625k
Dimensions: 533 x 400 pixels
File Format: jpeg
File Size: 135.8994140625k
Dimensions: 533 x 400 pixels
File Format: jpeg
File Size: 87.69921875k
Dimensions: 533 x 400 pixels
File Format: jpeg
File Size: 42k
Dimensions: 533 x 400 pixels
File Format: jpeg
File Size: 74.099609375k
Dimensions: 500 x 200 pixels
File Format: jpeg
File Size: 137.599609375k
Dimensions: 256 x 555 pixels
File Format: jpeg
File Size: 58.3994140625k
Dimensions: 441 x 820 pixels
File Format: png
File Size: 68.5k
Dimensions: 533 x 400 pixels
File Format: gif
File Size: 38.2998046875k
Dimensions: 455 x 568 pixels
File Format: jpeg
File Size: 10.3994140625k
Dimensions: 313 x 559 pixels
File Format: gif
 
 MORE IMAGES »  
Go to » Web - QA - Dictionary - Encyclopedia - Images