Solid requirements engineering has increasingly been recognized as the key to improved, on-time, and on-budget delivery of software and systems projects. Nevertheless, a few undergraduate engineering programs stress the importance of this discipline. Recently, however, some software and systems engineering programs have introduced requirements engineering as mandatory in their curricula. In addition, new software tools are emerging that are empowering practicing engineers to improve their requirements engineering habits. However, these tools are not usually easy to use without significant training, and many working engineers are returning for additional courses that will help them understand the requirements engineering process.
This book is intended to provide a comprehensive treatment of the theoretical and practical aspects of discovering, analyzing, modeling, validating, testing, and writing requirements for systems of all kinds, with an intentional focus on software-intensive systems. This book brings into play a variety of formal methods, social models, and modern requirements writing techniques to be useful to the practicing engineer.
Audience
This book is intended for professional software engineers, systems engineers, and senior and graduate students of software or systems engineering. Much of the material is derived from the graduate-level “Requirements Engineering” course taught at Penn State’s Great Valley School of Graduate and Professional Studies and online through its World Campus, where the authors work. The typical student in that course has 5 years of work experience as a software or systems engineering professional and an undergraduate degree in engineering, science, or business. Typical readers of this book will have one of the following or similar job titles:
- Software engineer
- Systems engineer
- Sales engineer
- Systems analyst
- [XYZ] engineer (where “XYZ” is an adjective for most engineering disciplines, such as “electrical” or “mechanical”)
- Project manager
- Business analyst
- Technical architect
- Lead architect
- Product Owner
Many others can benefit from this text including the users of complex systems and other stakeholders.
Exemplar Systems
Although various exemplar systems will be used to illustrate points throughout the book, four particular systems will be used repeatedly. These systems were selected because they involve application domains with which most readers are likely to be familiar and because they cover a wide range of applications from embedded to organic in both industrial and consumer implementations. Consider a domain, however, with which you (and the authors) are likely unfamiliar, say, mining of anthracite coal. Imagining the obvious difficulties in trying to communicate about such a system highlights the importance of domain understanding in requirements engineering. This topic will be discussed at length in Chapter 1 .
The first of these running examples is an airline baggage handling system, probably similar to one found in every major airport. Check-in clerks and baggage handlers tag your bags at check-in with a barcode ID tag. Then the baggage is placed on a conveyor belt where it moves to a central exchange point and is redirected to the appropriate auxiliary conveyor for loading on an airplane-bound cart or a baggage carousel. Along the way, the system may conduct some kind of image scan and processing to detect the presence of unauthorized or dangerous contents (such as weapons or explosives). A baggage handling system is an embedded, real-time system, that is, the software is closely tied to the hardware, and deadline satisfaction is a key goal of the system.
The Denver International Airport tried to build a very sophisticated version of such a system several years ago. The system used PCs, thousands of remote-controlled carts, and a 21-mile-long track. Carts moved along the track, carrying luggage from check-in counters to sorting areas and then straight to the flights waiting at airport gates. After spending $230 million over 10 years, the project was canceled (de Neufville 1994). Much of the failure can be attributed to requirements engineering mistakes.
The second exemplar system is a point of sale (POS) system for a large pet store chain. This type of system would provide such capabilities as cashier functions and inventory tracking, tax reporting, and end-of-year closeout. It might handle self-checkout, coupon scanning, product returns, and more. This business domain is transaction-oriented and although there are many available off-the-shelf systems let’s assume there is a need for a custom system. This type of system is organic, that is, it is not tied to any specialized hardware. PCs or PC-based cash registers, storage devices, and network support comprise the main hardware.
The third system that will be explored is for a “Smart Home,” that is, a home in which one or more PCs control various aspects of the home’s climate control, security, ambiance, entertainment, and so forth. A Smart Home is a consumer application and a semi-detached system—it uses some specialized but off-the-shelf hardware and software. We will imagine that this Smart Home is being built for someone else (not you) so that you can remain objective about its features.
The fourth exemplar is a wet-well pumping system for a wastewater treatment station. Well-pumping systems, which are found in industrial and residential applications, are commonly used to illustrate various concepts in embedded, real-time systems control. The third and fourth systems are described in Appendices A and B, which include comprehensive (though imperfect) requirements specifications.
For the purposes of experimentation and practices, or for use in a course project, you are encouraged to select another appropriate system. Possible choices include:
Passenger safety restraint system for an automobile of your choice.
Family tree maker and genealogical database system.
Game of your choosing (keep it simple—3-D chess or checkers or popular board games are best).
Simulation of some familiar enterprise (e.g., a traffic intersection, elevator control, manufacturing environment).
High-level requirements for a safety-critical system such as a power plant.
Any aspect of your work that seems suitable to automation.
You can use your imagination, consult the many resources that are available on the Web, and have fun as you learn to “scope out” one or another of these systems.
Course Adoption
This book was written to support both undergraduate and graduate requirements engineering courses. The authors and their colleagues have used previous editions of this book in more than 50-course offerings at Penn State. Previous editions of the book have also been adopted by instructors at numerous universities worldwide.
Each chapter includes simple, intermediate, and advanced exercises. Advanced exercises are suitable as a research assignment or Independent study and are denoted by an asterisk (*). Vignettes at different locations of each chapter provide mini-case studies showing how the learnings in the chapter can be employed in real systems.
Sample requirements specifications are found in Appendices A and B. The first is for a smart home system. The second specification is for a well-pumping system. Those working in real-time systems or control engineering will be familiar with the widespread use of a well-pumping system in papers and texts. Neither of these requirements specifications is perfect nor complete. But they are used throughout the text for discussion, examples, and exercises. A possible course assignment could involve improving one of the specifications based on lessons from the text.
For those interested in adopting this text for an undergraduate or graduate course in requirements engineering, the following describes how the authors use the text in their courses (Kilcay-Ergin and Laplante 2012). For instructors adopting this text for courses in either a university or industrial setting, the authors can provide lecture notes upon request. Please contact them at (Philip Laplante, [email protected] ) or (Mohamad Kassab, [email protected] ) for further information.
New for the Fourth Edition
Since the first edition, there have been made many changes and improvements. Feedback from instructors, students, and corporate users of the text was used to correct, expand, and improve the materials. Notable additions in the fourth edition include two newly added chapters: “On Non-Functional Requirements” ( Chapter 5 ) and “Requirements Engineering: Road Map to the Future” ( Chapter 12 ). The latter provides a discussion on the relationship between requirements engineering and emerging disruptive technologies (Internet of Things, Cloud Computing, Blockchain, AI, and Affective Computing).
All chapters of the book were significantly expanded with new materials that keep the book relevant to the current industrial practices. Particularly, the reader will find expanded discussions on new elicitation techniques, agile approaches (e.g., Kanpan, SAFe, DEVOps), requirements tools, requirements representation, risk management approaches, and functional size measurement methods. The provided statistics on RE state of practices were also updated throughout the book with results derived from a 2020 survey conducted by the authors. Besides, the fourth edition also has significant additions of vignettes, exercises, references throughout the book. Of course, this edition also implemented corrections and the removal of outdated material from the previous edition.
Throughout the book, the reader will also find newly added scannable QR codes that will direct the reader to one of the following:
- Stay Updated : a link to where the reader may find more up-to-date content when they become available.
- Share Your Opinion : the reader is invited to share an opinion (or experience) on selected topics.
- Quick Access : a link to a quick summary on a topic or quick access to a tool.
- Supplemental Materials : a link to supplemental materials by the authors on the selected topic.
- Watch: a link to a short video on a selected topic.
Requirements engineering is a dynamic field and the authors intend that this text keep pace with these changes. If you have any ideas for new material to be included in future additions of the book, please send these to the authors at (Phillip Laplante, [email protected] ) or (Mohamad Kassab, [email protected]) .
Notes on Referencing and Errors
The authors have tried to uphold the highest standards for giving credit where credit is due. Each chapter contains a list of related readings, which have been extensively updated for the fourth edition, and they should be considered the primary references for that chapter. Where direct quotes or nonobvious facts are used, an appropriate note or in-line citation is provided. In particular, it is noted where the authors published portions in preliminary form in other scholarly publications.
Despite these best efforts and those of the reviewers and publisher, there are still likely errors to be found. Therefore, if you believe that you have found an error—whether it is a referencing issue, factual error, or typographical error, please contact the authors at the emails addressed referenced previously. You can access the list of known errata at https://phil.laplante.io/requirements/errata.php .
https://phil.laplante.io/requirements/errata.php
Disclaimers
When discussing certain proprietary systems, every effort has been taken to disguise the identities of any organizations as well as individuals that are involved. In these cases, the names and even elements of the situation have been changed to protect the innocent (and guilty). Therefore, any similarity between individuals or companies mentioned herein is purely coincidental.
REFERENCES
- de Neufville, R. (1994, December) The baggage system at Denver: Prospects and lessons. Journal of Air Transport Management , 1(4): 229–236.
- Kilicay-Ergin, N., & Laplante, P. A. (2012) An online graduate requirements engineering course. IEEE Transactions on Education . Available http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6253277&isnumber=4358717