Software Review & Inspection

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/445

encourage image

There's no tags or description

Looks like no tags are added yet.

446 Terms

1
New cards

Software Review & Inspection

The practice of examining software work

2
New cards

products to find defects early, before they become more expensive to

3
New cards

fix. Theory to Industry Practice

The lesson connects the Software

4
New cards

Development Life Cycle (SDLC) with static testing, emphasizing that

5
New cards

defects should be found before code is executed rather than waiting

6
New cards

until the testing phase. Software Development Life Cycle (SDLC)

The

7
New cards

software development process in which testing is often treated as a

8
New cards

later phase; the lesson emphasizes moving defect detection earlier.

9
New cards

Static Testing

Finding defects in software artifacts before a single

10
New cards

line of code is executed. Software Artifact

A work product that can be

11
New cards

reviewed, such as code, a document, a design, or a requirements

12
New cards

document. Informal Review

A casual, low-overhead review in which

13
New cards

teammates discuss code or walk through logic without official paperwork,

14
New cards

formal scheduling, or data tracking. Formal Review

A structured and

15
New cards

rigorous review with distinct phases, explicit entry and exit criteria,

16
New cards

defined participant roles, and documented findings. Informal Walkthrough

17
New cards

A review in which the author guides peers through the work to explain

18
New cards

its logic and receive feedback. Informal Walkthrough Profile

Its

19
New cards

primary objective is for the author to explain logic and get feedback;

20
New cards

it is commonly used in design and early coding; it is synchronous; it

21
New cards

tracks no metrics; and it has low process overhead. Technical Review

A

22
New cards

review that evaluates technical validity, design choices, and

23
New cards

specifications. Technical Review Profile

Its primary objective is to

24
New cards

evaluate technical validity, design choices, and specifications; it is

25
New cards

used in design, architecture, and code; it is synchronous; metrics are

26
New cards

optional; and it has medium process overhead. Fagan Inspection

A

27
New cards

rigorous, formal defect-detection process that uses strict roles and

28
New cards

checklists. Fagan Inspection Profile

Its primary objective is rigorous

29
New cards

defect detection using strict roles and checklists; it can be used for

30
New cards

requirements, design, and code; it is highly structured and synchronous;

31
New cards

it tracks metrics such as defect density and inspection rate; and it has

32
New cards

very high process overhead. Modern Code Review (MCR)

A continuous,

33
New cards

lightweight review approach focused on quality, asynchronous feedback

34
New cards

through pull requests, and knowledge sharing. Modern Code Review Profile

35
New cards

Its primary objective is continuous quality, asynchronous guardrails,

36
New cards

and knowledge sharing; it is used during coding and implementation; it

37
New cards

does not require a meeting; it tracks metrics such as cycle time and

38
New cards

comments per pull request; and it has low-to-medium process overhead.

39
New cards

Synchronous Review

A review in which participants meet and discuss the

40
New cards

work at the same time. Asynchronous Review

A review in which

41
New cards

participants provide feedback at different times, commonly through pull

42
New cards

requests or merge requests. Defect Density

A metric tracked in Fagan

43
New cards

Inspection to measure the concentration of defects in the inspected

44
New cards

work. Inspection Rate

A metric tracked in Fagan Inspection to measure

45
New cards

the rate at which inspection work is performed. Cycle Time

A metric

46
New cards

that can be tracked in Modern Code Review. Comments per Pull Request

A

47
New cards

metric that can be tracked in Modern Code Review. Michael Fagan

The

48
New cards

person who developed Fagan Inspection at IBM in the 1970s. IBM

The

49
New cards

organization where Michael Fagan developed Fagan Inspection in the

50
New cards

1970s. Fagan Inspection Roles

The five defined roles are Moderator,

51
New cards

Author, Reader, Reviewer/Inspector, and Recorder/Scribe. Moderator

The

52
New cards

person who manages the inspection process, keeps the team focused, and

53
New cards

prevents the meeting from turning into a personal critique of the

54
New cards

developer. Author

The person who created the artifact being inspected,

55
New cards

such as code, a document, or a design; the author cannot be the

56
New cards

moderator or the reader. Reader

The person who paraphrases the work

57
New cards

artifact aloud, line by line or section by section, during the

58
New cards

inspection meeting. Reviewer/Inspector

An expert who examines the

59
New cards

artifact from a particular perspective, such as security, scalability,

60
New cards

or testing, to identify defects. Recorder/Scribe

The person

61
New cards

responsible for documenting every defect found during the inspection.

62
New cards

Six Phases of Fagan Inspection

Planning, Overview, Preparation,

63
New cards

Inspection Meeting, Rework, and Follow-up. Planning

The first phase of

64
New cards

Fagan Inspection, in which the moderator checks entry criteria, assigns

65
New cards

roles, and schedules the inspection. Entry Criteria

Conditions that

66
New cards

must be satisfied before an inspection proceeds, such as code that

67
New cards

compiles or a complete requirements document. Overview

The phase in

68
New cards

which the author briefs the inspection team on the project’s high-level

69
New cards

goals and context. Preparation

The phase in which inspectors

70
New cards

individually study the artifact and use checklists to identify possible

71
New cards

issues before the meeting. Inspection Meeting

The phase in which the

72
New cards

reader paraphrases the work, the team identifies defects, and the scribe

73
New cards

records them. Rule #1 of the Inspection Meeting

Look for defects only;

74
New cards

do not try to solve or fix them during the inspection meeting. Rework

75
New cards

The phase in which the author uses the defect log to correct the

76
New cards

identified problems. Follow-up

The final phase in which the moderator

77
New cards

checks the fixes against the exit criteria to ensure that defects were

78
New cards

handled properly. Exit Criteria

Conditions used by the moderator

79
New cards

during follow-up to determine whether the inspection’s required fixes

80
New cards

have been properly handled. Defect Log

A documented record of defects

81
New cards

found during an inspection or review. Fagan Inspection in

82
New cards

Safety-Critical Systems

Fagan Inspections may still be used in

83
New cards

safety-critical fields such as aerospace, medical software, and

84
New cards

automotive systems. Code Review Workflow

The illustrated workflow

85
New cards

moves from developer work and code through testing and code review, then

86
New cards

to check-in and the code repository; review comments provide feedback on

87
New cards

the code. Pair Programming

An Extreme Programming technique in which

88
New cards

coding and reviewing happen together in real time instead of writing

89
New cards

code first and reviewing it later. Extreme Programming (XP)

The

90
New cards

development approach associated with Pair Programming in the lesson; its

91
New cards

diagram shows stories, requirements, test scenarios, release planning,

92
New cards

spikes, iterations, acceptance testing, customer approval, and small

93
New cards

releases. Driver

The pair programmer who sits at the keyboard and

94
New cards

focuses on immediate tactics, syntax, and writing clean lines of code.

95
New cards

Navigator

The pair programmer who focuses on the bigger picture,

96
New cards

including whether the user story is being fulfilled, edge cases,

97
New cards

security, and architectural patterns. Checklist-Based Review

A review

98
New cards

technique that uses checklists to focus reviewers on specific classes of

99
New cards

errors instead of trying to look for everything at once. Logic & Control

100
New cards

Flow

A checklist category focused on program logic and control flow;