Static Techniques
Static Techniques
Version 1.0
Presentation Coverage
Definition
Static Testing
•Testing of a component or system at specification or
implementation level without execution of that software, e.g.,
reviews or static code analysis
•The process of evaluating a system or component based on its
form, structure, content, documentation
Dynamic Testing
•Testing that involves the execution of the software of a
component or system
What is Review?
Why Review?
When to Review?
USE
Cost of
fault
escalates
Major redesign DESIGN
REQUIREMENT
Hidden error SPECIFICATION
What to Review?
Benefits of Review
Review Process
Roles in Review
• Manager
• Moderators
• Author
• Reviewers / inspectors
• Recorder / Scribe
Types of Review
• Walkthrough
• Inspection
• Informal Review
• Technical review
Walkthrough
• Purpose : Understanding design and code,
finding defects
• A step-by-step presentation by the author of
a document in order to gather information
and to establish a common understanding of
its content
• Little or no preparation is usually required
• Led by author. Peers are other participants
• Dry runs of design, code and test cases
Inspection
• A type of peer review that relies on visual
examination of documents to detect defects
• A group review quality process for
̶ Product & Process improvement
• Main purpose is to find defects such as
violations of development standards and
non-conformance to higher level
documentation
• Led by moderator
• Reader, Recorder, Author and Inspector are
other participants
• Formal review process
Copyright © Maveric Systems 2006
18
Informal Review
• Unplanned and undocumented
• Find problems quickly and cheaply
• No Formal Process
• Varies in usefulness depending on the reviewer
Technical Review
• Purpose: Understanding design and code,
finding defects
• A step-by-step presentation by the author of a
document in order to gather information and to
establish a common understanding of its content
• Little or no preparation is usually required
• Led by author. Peers are other participants
• Dry runs of design, code and test cases
Compilers
Entry 1 if (y<0)
4 z=1.0
z=1.0/z 8 9 printf(z)
Exit
Complexity Metrics
Conclusion
Contents covered
•Review and the Test Process
•Static Review Process
•Static review techniques
•Static Analysis
•Static Analysis using Tools