PSP Code Review Script, Codes and Instructions-Software Quality-Handout, Exercises of Software Development Methodologies

This handout is part of Software Quality course. It was provided by Dr. Raja Sahay at Biju Patnaik University of Technology, Rourkela. It includes: PSP, Code, Review, Script, Entry, criteria, Review, procedure, Defect, Recording, Log

Typology: Exercises

2011/2012

Uploaded on 07/09/2012

chandu
chandu 🇮🇳

4

(4)

44 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PSP Code Review Script
Entry criteria Check that the following are on hand:
- the requirements statement
- the program design
- the program source code
- the coding standards
- a copy of the Code Review Checklist
General - Use the Code Review Checklist.
- Follow the checklist instructions during the review.
- At review completion, fill in the To Date and
To Date % columns and the Totals row.
1 Review procedure - First produce the finished program source code.
- Before compiling or testing the program, print out a
source code listing.
- Next, do the code review.
- During the code review, carefully check every line of
source code to find and fix as many of the defects as
you can.
2 Fix the defects - Fix all defects found.
- Check the fixes to ensure they are correct.
- Record the defects in the Defect Recording Log.
3Review for
coverage - Verify that the program design fulfills all the functions
described in the requirements.
- Verify that the source code implements all the design.
4 Review the program
logic - Verify that the design logic is correct.
- Verify that the program correctly implements the design
logic.
5 Check names and
types - Verify that all names and types are correctly declared
and used.
- Check for proper declaration of integer, long integer,
and floating point data types.
6 Check all variables - Ensure that every variable is initializes.
- Check for overflow, underflow, or out-of-range
problems.
7 Check program
syntax - Verify that the source code properly follows the
language specifications.
8 Scan program Do an overall scan of the program to check for system
issues and unexpected problems.
Exit criteria At completion you must have:
- the completed and corrected source code
- completed Time Recording Log
- completed Defect Recording Log
docsity.com

Partial preview of the text

Download PSP Code Review Script, Codes and Instructions-Software Quality-Handout and more Exercises Software Development Methodologies in PDF only on Docsity!

PSP Code Review Script

Entry criteria Check that the following are on hand:

  • the requirements statement
  • the program design
  • the program source code
  • the coding standards
  • a copy of the Code Review Checklist General - Use the Code Review Checklist.
  • Follow the checklist instructions during the review.
  • At review completion, fill in the To Date and To Date % columns and the Totals row.

1 Review procedure - First produce the finished program source code.

  • Before compiling or testing the program, print out a source code listing.
  • Next, do the code review.
  • During the code review, carefully check every line of source code to find and fix as many of the defects as you can.

2 Fix the defects - Fix all defects found.

  • Check the fixes to ensure they are correct.
  • Record the defects in the Defect Recording Log.

3 Review for coverage

  • Verify that the program design fulfills all the functions described in the requirements.
  • Verify that the source code implements all the design.

4 Review the program logic

  • Verify that the design logic is correct.
  • Verify that the program correctly implements the design logic.

5 Check names and types

  • Verify that all names and types are correctly declared and used.
  • Check for proper declaration of integer, long integer, and floating point data types.

6 Check all variables - Ensure that every variable is initializes.

  • Check for overflow, underflow, or out-of-range problems.

7 Check program syntax

  • Verify that the source code properly follows the language specifications.

8 Scan program Do an overall scan of the program to check for system issues and unexpected problems. Exit criteria At completion you must have:

  • the completed and corrected source code
  • completed Time Recording Log
  • completed Defect Recording Log

docsity.com