21.08.2013 Views

Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

368 Chapter 29 ■ <strong>Software</strong> metrics and quality assurance<br />

29.6 It is common practice <strong>for</strong> software development organizations to lay down standards<br />

<strong>for</strong> coding. Suggest a number of coding standards <strong>for</strong> a programming language<br />

of your choice. Suggest quality factors that are enhanced by adherence to the<br />

standards.<br />

29.7 Suggest a quality assurance plan <strong>for</strong> each of the software development projects listed<br />

in Appendix A. Assume that each project will use the waterfall model as its process<br />

model.<br />

Answers to self-test questions<br />

29.1 There are many possible suggestions. One <strong>for</strong>mula that builds on<br />

McCabe, but takes some account of references to data is:<br />

complexity = number of decisions + (number of data references –<br />

number of statements)<br />

This has the characteristic that if each statement refers to one data item<br />

only, the second term is zero.<br />

29.2 Correctness and reliability.<br />

29.3 Cost, size.<br />

29.4 Correctness, reliability.<br />

•<br />

Further reading<br />

A most comprehensive and readable book is: N.E. Fenton and S. Lawrence Pfleeger,<br />

<strong>Software</strong> Metrics: A Rigorous and Practical <strong>Approach</strong>, International Thomson<br />

Computer Press, 1996.<br />

McCabe’s famous original cyclomatic complexity is described in this paper: J.T.<br />

McCabe, A complexity measure, IEEE Transactions on <strong>Software</strong> <strong>Engineering</strong>, SE-2<br />

(4) (December 1976).<br />

A well-known book that presents a whole number of ways of measuring software: M.H.<br />

Halstead, Elements of <strong>Software</strong> Science, Elsevier, 1977.<br />

A most readable book on software quality. It explains what measures can be used during<br />

each stage of software development: Darrel Ince, <strong>Software</strong> Quality Assurance: A<br />

Student Introduction, McGraw-Hill, 1995.<br />

The seminal book on continuous process improvement: W. Edwards Deming, Out of<br />

the crisis: quality, productivity and competitive position, Cambridge University Press,<br />

1986.

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

Saved successfully!

Ooh no, something went wrong!