skip to main content
Skip header Section
Software Requirements: Styles and TechniquesDecember 2001
Publisher:
  • Pearson Education
ISBN:978-0-201-74570-2
Published:01 December 2001
Pages:
608
Skip Bibliometrics Section
Bibliometrics
Skip Abstract Section
Abstract

From the Book: Have you ever used a new piece of software that didn’t meet your expectations If so, it might be because nobody stated the expectations in a tangible manner. Software requirements are about writing the right expectations in the right way. These days, many people get involved in writing requirements. It is not only a job for specialists; users, customers, suppliers, and programmers also get involved. In small companies we sometimes even see employees without special training being asked to write requirements for a new software product. Furthermore, the roles of expert user, analyst, designer, and programmer seem to blend more and more. This book is important and relevant for many people involved in software requirements: The analyst, working as a requirements engineer or a consultant, can find tricks here and there, and he can look at requirements written by other specialists. The customer can find ways to ensure that the new product will meet his business goals, and suggestions for handling contracts and tenders. Software suppliers can find ideas for helping the customer and for writing competitive proposals. Users can prepare themselves for working with specialists or the developers. They can also find ways to describe their work tasks, and examples of what to write and what not to write in theirrequirements. Programmers and other developers can learn how to express requirements without specifying technical details, and how to reduce risks when developing a system. IT students can learn about theory and practice in requirements engineering, and get a foundation for case studies and projects. You don’t have to read the whole book. How can we cover so many topics for so many audiences The answer is simple: you don’t have to read all of the book. If you read most of Chapter 1, you should then be able to read sections of the book in almost any order, according to your needs. Background When I began to work in the software industry in 1962, software requirements were relatively unimportant since at the time hardware was very expensive, and software was comparatively cheap. Renting a computer for an hour cost the same as paying someone to work for 30 hours and computers were 5000 times slower than they are today. Software development was carried out either on a time and materials basis, or as a small part of the really important job — making better hardware. The customer paid until he had a program that printed results he could use with some effort. Nobody thought of usability. Everything to do with computers was a specialist’s job. Today things have completely changed. Hardware is cheap, and software development is expensive and very hard to keep within budget — particularly if the customer wants a result matching his expectations. For this reason software requirements are growing in importance as a means for the customer to know in advance what solution he will get and at what cost. Unfortunately, software requirements are still a fuzzy area. Little guidance is available for the practitioner, although several textbooks exist. One particularly critical issue is the lack of real-life examples of requirements specifications. This textbook is based on real-life examples, and it discusses the many ways of specifying software requirements in practice. We emphasize practical issues such as: what analysts write in real-life specifications; what works and what doesn’t work the balance between giving the customer what he needs and over-specifying the requirements the balance between completeness and understandability the balance between describing what goes on in the application domain and what goes on in the computer reducing the risk to both customer and supplier writing requirements so that they can be verified and validated writing low-cost requirements specifications. During my time in industry, I have worked as a programmer, a project manager, and later as a department manager and quality manager. However, I always loved programming and had a key role in the critical parts of the programs. We programmed many things, from business applications, scientific applications, and process control, to compilers, operatin distributed databases. When I worked as a developer from the mid-1970s, our team had to write software requirements, but we always felt uncertain about what we wrote. Was it # Prefacerequirements or design specifications We realized that requirements were important, but felt stupid not knowing what to do about it. Furthermore, nobody else in our multinational company could show us a good example of software requirements, although there were corporate rules and guidelines for what to write. In the mid-1980s I became a full professor in software engineering at Copenhagen Business School. That let me see development from two other sides: the user side and the customer side. I didn’t have the constant pressure of turning out code and products, so I had time to look at the industry from another perspective. For a long period I studied human—computer interaction and came up with systematic ways of developing good user interfaces — the missing links between studying the users and producing a good prototype. To my disappointment, industry didn’t care at that time (the Web has now changed that attitude). In the early 1990s, I decided that it was time to change subject. I asked around in industry to find out what was the most difficult part of development. Everyone I asked said requirements and all that stuff at the beginning of the project. That was how I became interested in requirements. I went to my research advisor, Jon Turner of New York University, and said, Jon, I want to do research in requirements. He looked at me for some seconds and said, Don’t. Why I asked. He replied that it was impossible to do anything significant in that area, and what researchers actually did had little to do with what industry needed. Alan M. Davis (1992) has observed the same thing. This was a real challenge to me. To begin with, I had great problems in getting to see other people’s requirements. I talked to developers from many companies and asked them: Do you write software requirements Usually they said yes. I then asked, Could I see the one you are using or writing right now There was a pause — then various replies, such as, No, it’s confidential, and it would be too much trouble to get permission for you to read it. Or, Well, it isn’t quite finished yet; maybe you could see it later. Or even this amazing variant, Well, we’re working on it, but right now we are too busy testing the system. When we have finished testing, we will write the requirements, and then you may see them. Every now and then I got permission to see some real-life software requirements. Usually they were inspired by the IEEE 830 guidelines, since they contained all the introductory sessions such as Scope and Audience. However, when it came to the specific requirements, they were bewildering, and IEEE 830 suggested no guidance. Part of what I saw was program design; there were also some dataflow diagrams, and the rest made little sense to me. Where were the requirements Six months later, I saw some software requirements that were so good that I could learn from them. Jens-Peder Vium was the first to show me a good requirements specification, and it is included in this book as the Danish Shipyard case (see Chapter 11). Although vastly better than anything else I had seen at that time, it too had deficiencies, and together we worked on improving the various techniques involved. Soon my studies gained momentum, and I got to see many other good requirements, some of which are included in this book. A year later, so many people wanted me to look at their requirements that I had to say no to many of them. My conclusion from these initial studies was that people were ashamed of the requirements they had written, but they didn’t know how to make them better. Furthermore, everybody had some good parts in their specification, and some serious weaknesses. If all the good things could be combined, we would be close to a general solution. However, there were some important problems that none of the practitioners seemed able to solve: How do you avoid writing anything about the product, yet be able to verify its requirements How do you ensure that the requirements correctly reflect the customer’s business goals How do you specify quality factors such as usability or maintainability in a verifiable manner Research, experiments, and luck helped me develop answers to these questions. These answers are included throughout the book, for instance in sections 3.8, 6.6, 6.11, and 8.7. Using the book for courses The book is a considerably extended version of an earlier book, which we used successfully at professional courses for analysts a developers, as well as for computer science students. Depending on the audience, we selected different parts of the book for discussion. We have even used the book with Information Systems (IS) students with no understanding of programming. In this case we combined it with a short course in data modeling, data flow, and basic understanding of development activities. The figures in the book are available in PowerPoint format, and the checklists as Word documents. Solutions to some of the exercises are available for teachers. E-mail the author at of the figures are rich in detail, and as a result, you can easily spend 5—30 minutes discussing a single figure. In a typical course, only about one-third of the figures are discussed. The book suggests two kinds of course activities, discussions and exercises. Discussions are themes for course room discussions, and may also be used for homework. Exercises are for homework or for teamwork during course hours. Exercises and training projects You can run the exercises in many ways. At professional courses, we assign exercises to teams of three to five participants. Each team has to outline the answer in one to two overheads. That should be possible in about an hour, depending on the participant’s background and level of knowledge. For university students, the exercises are given as homework, but here too we tend to restrict answers to a few overheads. One or two teams present their solution to the other students. About 15 minutes are allowed for a presentation, including discussion. The students are asked to control the presentation themselves. They should usually imagine that they are developers or consultants, while the other students are customers. It is important to listen to the customer, explain the solution again if the customer hasn’t understood it, and identify weaknesses in one’s own solution. A successful presentation identifies many weaknesses. This attitude is extremely important in practice, but difficult to achieve because we all tend to defend our own solutions. However, exercises alone are not sufficient for training in requirements engineering. While programming exercises may give you programming training, this is not so with requirements. The art of discovering real demands and stating real requirements cannot be practiced through written exercises. It is necessary to practice using real companies. For university courses, we always combine the course with the students doing project work in a real company. The first part of the project is that the students have to find a company or organization on their own. This also trains them to find the way to the right people; a very important skill in requirements engineering. Acknowledgements This book has only one author, yet I mostly write we in the text. This is because most of the experiences I discuss and report here have originated in talks and collaboration with someone else. Thus a large and varied selection of my colleagues have contributed to the book and justify my use of we. I would particularly like to thank the following: Jens-Peder Vium, of Innovation & Quality Management, for permission to use the Danish Shipyard case (Chapter 11), and for many inspiring discussions and joint presentations. He has been a consultant for many years, and is an important source of knowledge about many different kinds of projects. Susan Willumsen, at that time a masters student, for her collaboration and sharp observations during the Danish Shipyard study. Houman Younessi, of Swinburne University, now Rensselaer at Hartford, for many theoretical and practical discussions that were the starting point of this book, and for some of the ideas behind the style concept and the maintainability requirements. Otto Vinter, of Bruel & Kjaer, for permission to use part of the Noise Source Location requirements (Chapter 14), some of the case studies, and for many inspiring discussions, particularly about error sources and prevention methods. Karin Lomborg (now Karin Berg) of Deloitte & Touche, for permission to use part of the Midland Hospital case (Chapter 12). Jan C. Clausen, of Katalyse, for helping me to see the basic difference between tasks and use cases, and for many inspiring discussions about requirements and usability. Klaus Jul Jeppesen, of Asea Brown Boveri, now the IT University, for information about large projects in control and manufacturing, customer negotiations, etc. Marianne Mathiassen, masters student, and Lotte Riberholt Andersen, Jeanette Andersen, and Annemarie Raahauge, of West Zealand county, for collaboration when developing the technique first known as ‘use cases with solutions’, later renamed to Tasks & Support. Lene Funder Andersen, Lene Frydenberg, Jens Wolf Frandsen, and Marc Olivier Collignon, diploma students, for being the first to try Tasks & Support in real life. They successfully managed to use the technique for writing requirements and run the tender process for a large telecommunications company. They also helped the company select the right proposal from among twenty suppliers. Dorte Olesen, Lars Henrik Søfren, and Jette M. Rosbk, of West Zealand county, for their impressive work when trying out Tasks & Support in a new hospital project. Erik Simmons, Intel Corporation, for teaching me Planguage and for reviewing the book as carefully as if it had been a requirements document. (Like a typical developer, I couldn’t repair all the defects.) Soren Lauesen June 2001

Cited By

  1. Pérez-Verdejo J, Sánchez-García Á, Ocharán-Hernández J, Mezura-Montes E and Cortés-Verdín K (2021). Requirements and GitHub Issues: An Automated Approach for Quality Requirements Classification, Programming and Computing Software, 47:8, (704-721), Online publication date: 1-Dec-2021.
  2. ACM
    Daneva M, Herrmann A, Condori-Fernandez N and Wang C Understanding the Most In-demand Soft Skills in Requirements Engineering Practice Proceedings of the 23rd International Conference on Evaluation and Assessment in Software Engineering, (284-290)
  3. ACM
    Tiwari S, Ameta D and Banerjee A An Approach to Identify Use Case Scenarios from Textual Requirements Specification Proceedings of the 12th Innovations in Software Engineering Conference (formerly known as India Software Engineering Conference), (1-11)
  4. ACM
    Wang C, Cui P, Daneva M and Kassab M Understanding what industry wants from requirements engineers Proceedings of the 12th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, (1-10)
  5. Gupta C and Gupta A (2018). A Collaborative Approach for Improvisation and Refinement of Requirement Prioritization Process, Journal of Information Technology Research, 11:2, (128-149), Online publication date: 1-Apr-2018.
  6. (Weber) Dupree J, Lank E and Berry D (2018). A case study of using grounded analysis as a requirement engineering method, Science of Computer Programming, 152:C, (1-37), Online publication date: 15-Jan-2018.
  7. Daneva M (2017). Striving for balance, Journal of Systems and Software, 134:C, (54-75), Online publication date: 1-Dec-2017.
  8. Daneva M, Wang C and Hoener P What the job market wants from requirements engineers? Proceedings of the 11th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, (448-453)
  9. ACM
    Aaramaa S, Dasanayake S, Oivo M, Markkula J and Saukkonen S Requirements volatility in software architecture design: an exploratory case study Proceedings of the 2017 International Conference on Software and System Process, (40-49)
  10. Pacheco C, Garcia I, Calvo-Manzano J and Arcilla M (2017). Reusing functional software requirements in small-sized software enterprises, Requirements Engineering, 22:2, (275-287), Online publication date: 1-Jun-2017.
  11. Venters C, Seyff N, Becker C, Betz S, Chitchyan R, Duboc L, McIntyre D and Penzenstadler B Characterising sustainability requirements Proceedings of the 39th International Conference on Software Engineering: Software Engineering in Society Track, (3-12)
  12. BjØrner D (2017). Manifest domains, Formal Aspects of Computing, 29:2, (175-225), Online publication date: 1-Mar-2017.
  13. ACM
    Delatorre P and Salguero A Training to capture software requirements by role playing Proceedings of the Fourth International Conference on Technological Ecosystems for Enhancing Multiculturality, (811-818)
  14. Fricker S, Schneider K, Fotrousi F and Thuemmler C (2016). Workshop videos for requirements communication, Requirements Engineering, 21:4, (521-552), Online publication date: 1-Nov-2016.
  15. Dabbagh M, Lee S and Parizi R (2016). Functional and non-functional requirements prioritization, Soft Computing - A Fusion of Foundations, Methodologies and Applications, 20:11, (4497-4520), Online publication date: 1-Nov-2016.
  16. Meireles M, Kanda J, Bonifacio B and Leao J Integrating Decision Making Methods on Requerimentos Elicitation Process Proceedings of the XII Brazilian Symposium on Information Systems on Brazilian Symposium on Information Systems: Information Systems in the Cloud Computing Era - Volume 1, (526-533)
  17. Regnell B What Is Essential? --- A Pilot Survey on Views About the Requirements Metamodel of reqT.org Proceedings of the 22nd International Working Conference on Requirements Engineering: Foundation for Software Quality - Volume 9619, (232-239)
  18. Glinz M and Fricker S (2015). On shared understanding in software engineering, Computer Science - Research and Development, 30:3-4, (363-376), Online publication date: 1-Aug-2015.
  19. Gravino C, Scanniello G and Tortora G (2015). Source-code comprehension tasks supported by UML design models, Journal of Visual Languages and Computing, 28:C, (23-38), Online publication date: 1-Jun-2015.
  20. ACM
    Ricca F, Scanniello G, Torchiano M, Reggio G and Astesiano E (2014). Assessing the Effect of Screen Mockups on the Comprehension of Functional Requirements, ACM Transactions on Software Engineering and Methodology, 24:1, (1-38), Online publication date: 14-Oct-2014.
  21. Ferrari A, Dell'Orletta F, Spagnolo G and Gnesi S Measuring and Improving the Completeness of Natural Language Requirements Proceedings of the 20th International Working Conference on Requirements Engineering: Foundation for Software Quality - Volume 8396, (23-38)
  22. Condori-Fernandez N, España S, Sikkel K, Daneva M and González A Analyzing the Effect of the Collaborative Interactions on Performance of Requirements Validation Proceedings of the 20th International Working Conference on Requirements Engineering: Foundation for Software Quality - Volume 8396, (216-231)
  23. ACM
    Scanniello G, Gravino C, Genero M, Cruz-Lemus J and Tortora G (2014). On the impact of UML analysis models on source-code comprehensibility and modifiability, ACM Transactions on Software Engineering and Methodology, 23:2, (1-26), Online publication date: 1-Mar-2014.
  24. Terawaki Y Framework for quantitatively evaluating the quality requirements of software system Proceedings of the 15th international conference on Human Interface and the Management of Information: information and interaction design - Volume Part I, (383-392)
  25. Regnell B reqT.org Proceedings of the 19th international conference on Requirements Engineering: Foundation for Software Quality, (112-118)
  26. Bennett-Therkildsen A, Jørgensen J, Nørskov K and Rubin N Redefinition of the requirements engineer role in mjølner's software development process Proceedings of the 19th international conference on Requirements Engineering: Foundation for Software Quality, (285-291)
  27. Daneva M, Buglione L and Herrmann A Software architects' experiences of quality requirements Proceedings of the 19th international conference on Requirements Engineering: Foundation for Software Quality, (1-17)
  28. ACM
    Palma F, Susi A and Tonella P Using an SMT solver for interactive requirements prioritization Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering, (48-58)
  29. Lauesen S and Kuhail M Use cases versus task descriptions Proceedings of the 17th international working conference on Requirements engineering: foundation for software quality, (106-120)
  30. ACM
    Mairiza D, Zowghi D and Nurmuliani N An investigation into the notion of non-functional requirements Proceedings of the 2010 ACM Symposium on Applied Computing, (311-317)
  31. Gaffar A Enumerating mobile enterprise complexity 21 complexity factors to enhance the design process Proceedings of the 2009 Conference of the Center for Advanced Studies on Collaborative Research, (270-282)
  32. ACM
    Petersen K, Rönkkö K and Wohlin C The impact of time controlled reading on software inspection effectiveness and efficiency Proceedings of the Second ACM-IEEE international symposium on Empirical software engineering and measurement, (139-148)
  33. Krüger I, Farcas C, Farcas E and Menarini M Requirements modeling for embedded realtime systems Proceedings of the 2007 International Dagstuhl conference on Model-based engineering of embedded real-time systems, (155-199)
  34. Rech J, Bogner C and Haas V (2007). Using Wikis to Tackle Reuse in Software Projects, IEEE Software, 24:6, (99-104), Online publication date: 1-Nov-2007.
  35. Pacheco C and Tovar E Stakeholder identification as an issue in the improvement of software requirements quality Proceedings of the 19th international conference on Advanced information systems engineering, (370-380)
  36. Blaauboer F, Sikkel K and Aydin M Deciding to adopt requirements traceability in practice Proceedings of the 19th international conference on Advanced information systems engineering, (294-308)
  37. Kim S, Chang S and La H A systematic process to design product line architecture Proceedings of the 2005 international conference on Computational Science and its Applications - Volume Part I, (46-56)
  38. Thelin T Team-Based Fault Content Estimation in the Software Inspection Process Proceedings of the 26th International Conference on Software Engineering, (263-272)
  39. Thelin T, Runeson P, Wohlin C, Olsson T and Andersson C (2004). Evaluation of Usage-Based Reading—Conclusions after Three Experiments, Empirical Software Engineering, 9:1-2, (77-110), Online publication date: 1-Mar-2004.
  40. ACM
    Power N and Moynihan T A theory of requirements documentation situated in practice Proceedings of the 21st annual international conference on Documentation, (86-92)
  41. Thelin T, Runeson P and Wohlin C (2003). An Experimental Comparison of Usage-Based and Checklist-Based Reading, IEEE Transactions on Software Engineering, 29:8, (687-704), Online publication date: 1-Aug-2003.
Contributors
  • IT University of Copenhagen

Recommendations