Chapter 3 Flashcards

1
Q

Static Analysis

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Benefits of Static Testing

A
  • The relative cost of fixing defects

- Saves time and money

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Defects that are easier to find and fix in Static Testing

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which TWO of the following statements about static testing are MOST true?

A

→ A cheap way to detect and remove defects

→ Early validation of user requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following techniques is a form of static testing?

A

→ Code review

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the main difference between static and dynamic testing?

A

→ Dynamic testing requires executing the software, the software is not executed during static testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Planning review

A
  1. Defining the scope
  2. Estimating effort
  3. Identify review characteristics, types, roles
  4. Selecting the people to participate in the review and allocating roles
  5. Defining the entry and exit criteria (our goals)
  6. Checking those entry criteria are met
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Initial Review

A
  1. Distributing the work
  2. Explaining the scope, objectives, process, roles, and work products
  3. Answering any questions that participants may have about the review
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Individual Review

A
  1. Reviewing all parts of the work product

2. Noting potential defects, recommendations, and questions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Issue Communication and Analysis

A
  1. Communicating identified potential defects (review meeting)
  2. Analyzing potential defects, assigning ownership and status to them
  3. Evaluating and documenting quality characteristics
  4. Evaluating the review findings against the exit criteria to make a review decision
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Fixing and Reporting

A
  1. Creating defect reports
  2. Fixing defects found
  3. Communicating defects to the appropriate person or team
  4. Recording updated status of defects
  5. Gathering metrics
  6. Checking that exit criteria are met
  7. Accepting the work product when the exit criteria are reached
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Author

A
  1. Create the work product under review

2. Fixed defects in the work product under review

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Manager

A
  1. Is responsible for review planning
  2. Executes control decisions in the event of inadequate outcomes
  3. Decides on the execution of reviews
  4. Assigns staff, budget, and time
  5. Monitors ongoing cost-effectiveness
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Facilitator or Moderator

A
  1. Ensures effective running of review meetings
  2. Mediates, if necessary, between the various points of view
  3. Is often the person upon whom the success of the review depends
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Review leader

A
  1. Takes overall responsibility for the review

2. Decides who will be involved and organizes when and where it will take place

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Reviewers

A
  1. Maybe subject matter experts, persons working on the project
  2. Identify potential defects in the work product under review
  3. May represent different perspectives
17
Q

Scribe or recorder

A
  1. Collates potential defects found during the individual review activity
  2. Records new potential defects, open points, and decisions from the review meeting
18
Q

Informal review, buddy check, pairing, pair review

A
  1. Detecting potential defects
  2. Generating new ideas or solutions
  3. Quickly solving minor problems
  4. Optional → Results documentation and checklists
  5. May be performed by a colleague of the author
  6. Not based on a formal process
  7. May not involve a review meeting
  8. Varies in usefulness depending on the reviewers
  9. Very commonly used in Agile
19
Q

Walkthrough

A
  1. Find defects, improve the software product, consider alternative implementations, evaluate conformance to standards and specifications
  2. Exchanging ideas about techniques or styles
  3. Training of participants
  4. Optional → Individual preparation , checklists, defect logs and review reports
  5. Mandatory → Scribe
  6. Review meeting is typically led by the author of the product
  7. May take the form of scenarios, dry runs
  8. May vary in practice from quite informal to very formal
20
Q

Technical Review

A
  1. Gaining consensus, detecting potential defects
  2. Evaluating quality and building confidence in the work product
  3. Generating new ideas
  4. Motivating and enabling authors to improve future work products
  5. Optional → Review Meeting, checklists, defect logs and review reports
  6. Mandatory → Individual preparation, scribe (not the author)
  7. Reviewers should be technical peers of the author, and technical experts
21
Q

Inspection

A
  1. Detecting potential defects, evaluating quality and building confidence in the work product, preventing future similar defects through author learning and root cause analysis
  2. Mandatory → defined process, checklists, clearly defined roles, individual preparation, entry and exit criteria, scribe, gathering metrics, defect logs and review report
  3. May include a dedicated reader, who reads the work product aloud
  4. Review meeting is led by a trained facilitator, no the author
  5. Author cannot act as the review leader, reader or scribe
22
Q

The main purposes of ….. review type include: improving the software product, considering alternative implementations and finding defects.

A

Walkthrough

23
Q

In the ‘’Walkthrough’’ review type the ….. is mandatory and the leader of the review meeting is the …………… .

A

→ scribe / author of the work product

24
Q

In the ‘’Technical review’’ type, the ….. are mandatory, and the technical peers of the author are the …… .

A

→ individual preparation and scribe / reviewers

25
Q

The purposes of ….. review type include: preventing future similar defects through author learning and root cause, and achieving consensus.

A

→ Inspection

26
Q

Ad Hoc

A
  1. Reviewers are provided with little or no guidance on how this task should be performed
  2. Reviewers often read the work product sequentially, identifying and documenting issues as they encounter them
  3. Is a commonly used technique needing little preparation
  4. Is highly dependent on reviewer skills and may lead to many duplicates issues
27
Q

Checklist-based

A
  1. Systematic technique, whereby the reviewers detect issues based on checklists that are distributed at review initiation
  2. Set of questions based on potential defects, which may be derived from experience
  3. Systematic coverage of typical defects types
  4. Check defects outside the checklist
28
Q

Scenario and dry runs

A
  1. Reviewers are provided with structured guidelines on how to read through the work product
  2. Approach supports reviewers in performing “dry runs” on the work product based on the expected usage of the work product.
  3. These scenarios provide reviewers with better guidelines on how to identify specific defect types than simple checklist entries
  4. Reviewers should not be constrained to the documented scenarios
29
Q

Role-based

A
  1. Is a technique in which the reviewers evaluate the work product from the perspective of individual stakeholder roles
  2. Typical roles include specific end user types (experienced, senior) and specific roles in the organization (user administrator, performance tester)
30
Q

Perspective-based

A
  1. Reviewers take on different stakeholder viewpoints in individual reviewing
  2. Typical stakeholder viewpoints include end user, marketing, designer, tester, or operations
  3. Leads to more depth in individual reviewing with less duplication of issues across reviewers.
  4. Most effective general technique