Static testing
Static testing objectives
Work Products Examinable by Static Testing
Work products that are not appropriate for static testing
are difficult to interpret by human beings and that should not be analyzed by tools (e.g., 3rd party executable code due to legal reasons).
Value of Static Testing
Differences between Static Testing and Dynamic Testing
Typical defects that are easier and/or cheaper to find through static testing
Success Factors for Reviews
Review types
Selecting the right review type is key to achieving the required review objectives
Informal review
do not follow a defined process and do not require a formal documented output. The main objective is detecting anomalies.
Walkthrough
can serve many objectives, such as evaluating quality and building confidence in the work product, educating reviewers, gaining consensus, generating new ideas, motivating and enabling authors to improve and detecting anomalies
Technical Review
Inspection
find the maximum number of anomalies. Other objectives are to evaluate quality, build confidence in the work product, and to motivate and enable authors to improve. Metrics are collected and used to improve the SDLC, including the inspection process.
Roles and Responsibilities in Reviews
Manager Role
Author role
creates and fixes the work product under review
Review leader role
takes overall responsibility for the review such as deciding who will be involved, and organizing when and where the review will take place
Review Process Activities
NB: f the required review is more formal, then more of the tasks described for the different activities will be needed.
Planning stage defines
the scope of the review, which comprises the purpose, the work product to be reviewed, quality characteristics to be evaluated, areas to focus on, exit criteria, supporting information such as standards, effort and the timeframes for the review
Review initiation
making sure that every participant has access to the work product under review, understands their role and responsibilities and receives everything needed to perform the review.
Individual review
Every reviewer performs an individual review to assess the quality of the work product under review, and to identify anomalies, recommendations, and questions by applying one or more review techniques (e.g., checklist-based reviewing, scenario-based reviewing). The ISO/IEC 20246 standard provides more depth on different review techniques. The reviewers log all their identified anomalies, recommendations, and questions.
Communication and analysis
Fixing and reporting
for every defect, a defect report should be created so that corrective actions can be followed-up. Once the exit criteria are reached, the work product can be accepted. The review results are reported.