COEN 286: Software Quality Assurance and Testing -- fall, 2001

Code Inspection Exercise

Prof. John Noll

Santa Clara University

Tue Oct 23 11:34:13 2001


Due Monday, October 22, at the beginning of class.

1. Introduction

We discussed various kinds of ``verification'' techniques (inspections, reviews, walkthroughs, etc.). This exercise investigates formal inspections. We will again use the Budget Program from last year.

2. Instructions

This exercise consists of two parts. The first part consists of the preparation for the second part, which is an in-class inspection exercise.

2.1 Preparation

As we discussed in class, formal inspections require individual preparation:

  1. Obtain the source code listings for Budget Program. You might want to use a copy with line numbers.
  2. Review the code listing for errors, using the checklists as guides. Note any errors found by type and line number, and also record the total amount of time you spent reviewing the code.

2.2 Inspection

On Monday, October 22, we will conduct a formal review of the code.

3. Deliverables

Submit a list of errors organized by line number, identified by checklist section and subsection and brief explanation.


line 6: Data reference error A.3: array element at this location may
not be initialized.
line 8: ...

At the end of your list, report the total amount of time spent on the preparation.

Include the usual title page with your name and id. Follow the general guidelines spelled out on the home page.