Docsity

Capturing Requirements - Software Project Plan and Management - Notes | CPSC 6179, Study notes of Computer Science

Partial preview of the text

Download Capturing Requirements - Software Project Plan and Management - Notes | CPSC 6179 and more Study notes Computer Science in PDF only on Docsity!

Capturing Requirements

The reality of requirements (Dilbert, Sunday 01/29/2006) Some times, this seems to be the way it is. Dilbert © 2006 by Scott Adams, Inc. Copied from www.dilbert.com © 2006 United Feature Syndicate, Inc.

What Are Requirements?

Requirements are more than just a wish list by the customer. Requirements really should be linked to outcomes of defined test procedures. Is it a requirement if we cannot say it has been met? Requirements should be stated in a formal language with as much precision as possible. Statements such as “the system must perform at acceptable levels” are useless unless there is a generally accepted agreement on what such a statement means. Ideally, the programmer should have some modest familiarity with the application and be able to understand and refine requirements. Requirements form the basis of an implied contract between the sponsor and software developer. “We’ll make you happy” is not a proper response to requirements, although we do like happy customers.

Why Are Requirements Important?

Incomplete or poorly understood requirements lead to bad code, unacceptable systems, and unhappy customers. Admittedly, may customers want little involvement in the project, wanting you, the developer, to “do it”. The Ariane–5 explosion was caused by a reuse of software from the less capable Ariane–4. Basically, this was a requirements problem. Requirements state what the system is to do, usually not how to do it. One can imagine exceptions to this, but those are rare.

Characteristics of Good Requirements

Feasibility: It should be possible to do what is required. Example: HOE (The Homing Overlay Experiment) This was an interceptor missile guided by an infrared telescope. Part of experiments in the SDI. Radar Telescope Time delay gives range to target No range to target Frequency shift gives range rate No range rate

Characteristics of Good Requirements (p3)

Complete: The requirements should be complete. How can one determine this? It is a tough problem. This is one reason for the case–based method of interviewing experts. Not “Tell me everything you know about the problem.” Consistent: There can be no conflicting requirements. This takes a lot of work, but must be done. Formal models help here. Testable: How can you determine if the requirements are met if you cannot write a test for each one of them? Buy–In: All “stakeholders” should agree to the requirements.