21
WALKTHROUGH & INSPECTION By: Puneet Meerwal 2k11/SWE/09

Walk Inspect Puneet2

Embed Size (px)

Citation preview

Page 1: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 1/21

WALKTHROUGH & INSPECTION

By:

Puneet Meerwal

2k11/SWE/09

Page 2: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 2/21

Quality Control Activity

• Quality control is a set of activities

designed to evaluate a developed

work product.

• It is concerned with search for

defects & identify products that do

not meet company standards of 

quality.

Page 3: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 3/21

Review

• Review are the first and primary formof Quality Control activity.

• A process or meeting during which a

work product is examined by a projectpersonnel for comment or approval.

• Reviews are cost effective.

•Review takes place throughout the

SDLC and verify that the product of eachphase are correct.

Page 4: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 4/21

Requirement Design Code Test Implementation &

Maintenance

5

10

15

20

25

Cost-Error Relationship

   C   o   s   t

Error

Page 5: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 5/21

Types of Review

• Code Review

Pair Programming• Inspection

• Walkthrough

• Audit

Page 6: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 6/21

Walkthrough

• In Walkthrough a producer leads members of 

the development team and other interested

parties through a software product, and the

participants ask questions and make

comments about possible errors, violation of 

development standards, and other problems"

(IEEE Std. 1028-1997, IEEE Standard for Software Reviews, clause 38.)

Page 7: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 7/21

 

Walkthrough

• A walkthrough is an informal way of presenting a workproduct in a meeting.

• IEEE recommends three specialist roles in a walkthrough:

-Leader: who conducts the walkthrough

-Recorder: who notes all defects, decisions and actions.-Author: who presents the software product in step-by-step manner.

•  Author guides walkthrough.• Step by step presentation of product:

 – Code, design, report, test cases… 

• Reviewers are not aware in advance of the subject/topic.

Page 8: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 8/21

Walkthrough..

• After the meeting, the work product should then be

corrected by the Author to reflect any issues that

were raised.

• The purpose of walkthrough is to:· Find problems

· Discuss alternative solutions

· Focusing on demonstrating how work product

meets all requirements.

Page 9: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 9/21

Inspection

• Michael Fagan developed the formal software

inspection process at IBM in the mid 1970.

• E. Yourdon was among the first to publish a

book on inspections in 1978.

• IEEE standard covering inspections first

appeared in 1988.

History of Inspection

Page 10: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 10/21

Inspection Roles

• Author  – developer of work product

• Moderator  – is responsible for organizing andreporting on inspection

Reader  – an person who guides the examinationof the product

• Recorder  – an person who enters all the defectsfound in the defect list

Inspector  – Member of inspection team. Oftenchosen to represent specific role- designer, tester,technical writer, etc

Page 11: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 11/21

Steps of Inspection

• Planning

Overview• Meeting

• Rework

• Follow-up

Page 12: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 12/21

Planning

• The moderator selects the inspection team.

• Obtains materials to be inspected from the

author.

• Distributes them and any other relevant

documents to the inspection team in advance.

• Materials should be distributed at least two or

three days prior to the inspection

Page 13: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 13/21

Overview

• This meeting gives the author an opportunity

to describe the important features of the

product to the inspection team.• It can be omitted if this information is already

known to the other participants.

• Purpose is educational only.

Page 14: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 14/21

Inspection Meeting

• During this session, the team convenes and is

led through the work product by the reader.

• During this, all inspectors can report defects

or raise other issues, which are documented

on a form by the recorder.

• Can be rescheduled if it demands.

• Meeting should last no more than 2 hours.

Page 15: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 15/21

Inspection Meeting..

• At its conclusion, the group agrees on an

assessment of the product:

-accepted as is

-accepted with minor revisions

-major revisions needed and a second

inspection required

-rebuild the product

Page 16: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 16/21

Inspection Log Example

Page 17: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 17/21

Rework

• The author is responsible for resolving the

issues raised during the inspection meeting.

Page 18: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 18/21

Follow

• To verify that the necessary rework has been

performed properly. 

• To check if an additional inspection may be

required on a work product.

• Define explicit exit criteria for completing an

inspection.

Page 19: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 19/21

ComparisonWalkthrough Inspection

Primarily used for Educational Fault Detection;

Process Improvement

Involves Developer Group Developer Group;

Technical Expertise;

No Managers

Led By Author Moderator , Reader

Formality Fairly informal Very formal Rules

Data Collection Defects, Comments Defect Reports;

Defect Database

Page 20: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 20/21

Conclusion

• Inspections have been proven an efficient and

effective method for improving software quality

• Inspection is more costly in time & resources than

walkthrough.• Inspection is more successful in finding defect.

• Data from Bell-Northern Research:

Inspection cost: 1 hour per defect.Testing cost: 2-4 hours per defect.

Post-release cost : 33 hours per defect.

Page 21: Walk Inspect Puneet2

8/3/2019 Walk Inspect Puneet2

http://slidepdf.com/reader/full/walk-inspect-puneet2 21/21

References

• http://www.sei.cmu.edu/str/descriptions/insp

ections_body.html 

• IEEE Std. 1028-1997, IEEE Standard for 

Software Reviews

• Daniel Freedman and Gerald Weinberg

‘‘Handbook of Walkthroughs, Inspections, and 

Technical Reviews’’ Third Ed. (Dorset House,

1990)