12.07.2015 Views

Verification and Validation - Ian Sommerville

Verification and Validation - Ian Sommerville

Verification and Validation - Ian Sommerville

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Inspection checks 1Data faultsControl faultsInput/output faultsAre all program variables initialised before their values areused?Have all constants been named?Should the upper bound of arrays be equal to the size of thearray or Size -1?If character strings are used, is a de limiter explicitlyassigned?Is there any possibility of buffer overflow?For each conditional statement, is the condition correct?Is each loop certain to terminate?Are compound statements correctly bracketed?In case statements, are all possible cases accounted for?If a break is required after each case in case statements, hasit been included?Are all input variables used?Are all output variables assigned a value before they areoutput?Can unexpected inputs cause corruption?©<strong>Ian</strong> <strong>Sommerville</strong> 2004 Software Engineering, 7th edition. Chapter 22 Slide 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!