Chapter 3 Flashcards
1
Q
Benefits of static reviews
A
- Early defects detection and correction
- Development productivity improvements
- Reduced development timescales
- Reduced testing costs and time
- Lifetime cost reductions
- Fewer defects and improved communication
2
Q
6 Activities of a Review
A
- Planning
- Kick off
- Individual preparation
- Examination, evaluation, recording of results (review meeting)
- Rework
- Follow up
3
Q
4 Types of Reviews
A
- Informal review
- Walk-through
- Technical review
- Inspection
4
Q
Static Analysis Tools Benefits
A
- Early detection of defects prior to test execution
- Early warnings about suspicious aspects of the code or design
- Identification of defects not easily found by dynamic testing
- Detects dependencies in inconsistencies and software models
- Improved maintainability of code and design
- Prevention of defects
5
Q
Typical Defects Found by Static Analysis
A
- Referencing a variable with an undefined value
- Inconsistent interfaces between modules and components
- Variables that are not used or are improperly declared
- Unreachable code
- Missing and erroneous logic
- Overly complicated constructs
- Programming standards violations
- Security vulnerabilities
- Syntax violations of code and software models
6
Q
Defects easier to find in static reviews
A
- Deviations from standards
- Requirement defects
- Design defects
- Insufficient maintainability
- Incorrect interface specifications