Chapter 3 Flashcards
Static Analysis
- Automated activity
- Performed on the code
- Security Testing
- For safety-critical computer systems
- Applied efficiently to any work product
- With tools that evaluate work products written in natural language
- Checking for spelling
- grammar
- readability
- Formal structure
Benefits of Static Testing
- The relative cost of fixing defects
- Saves time and money
Defects that are easier to find and fix in Static Testing
- Requirements defects
- Design defects
- Coding defects
- Deviations from standards
- Incorrect interface specifications
- Security vulnerabilities
- Gaps or inaccuracies in test basis traceability or coverage
- Maintainability defects
Which TWO of the following statements about static testing are MOST true?
→ A cheap way to detect and remove defects
→ Early validation of user requirements
Which of the following techniques is a form of static testing?
→ Code review
What is the main difference between static and dynamic testing?
→ Dynamic testing requires executing the software, the software is not executed during static testing
Planning review
- Defining the scope
- Estimating effort
- Identify review characteristics, types, roles
- Selecting the people to participate in the review and allocating roles
- Defining the entry and exit criteria (our goals)
- Checking those entry criteria are met
Initial Review
- Distributing the work
- Explaining the scope, objectives, process, roles, and work products
- Answering any questions that participants may have about the review
Individual Review
- Reviewing all parts of the work product
2. Noting potential defects, recommendations, and questions
Issue Communication and Analysis
- Communicating identified potential defects (review meeting)
- Analyzing potential defects, assigning ownership and status to them
- Evaluating and documenting quality characteristics
- Evaluating the review findings against the exit criteria to make a review decision
Fixing and Reporting
- Creating defect reports
- Fixing defects found
- Communicating defects to the appropriate person or team
- Recording updated status of defects
- Gathering metrics
- Checking that exit criteria are met
- Accepting the work product when the exit criteria are reached
Author
- Create the work product under review
2. Fixed defects in the work product under review
Manager
- Is responsible for review planning
- Executes control decisions in the event of inadequate outcomes
- Decides on the execution of reviews
- Assigns staff, budget, and time
- Monitors ongoing cost-effectiveness
Facilitator or Moderator
- Ensures effective running of review meetings
- Mediates, if necessary, between the various points of view
- Is often the person upon whom the success of the review depends
Review leader
- Takes overall responsibility for the review
2. Decides who will be involved and organizes when and where it will take place