Non-functional Requirements
Non-functional requirements can make or break your solution. The non-functional requirements (NFRs) specify the qualities your product must have if it is to succeed with your customers, in the marketplace, in the office, and in its operating environment. Non-functional requirements specify how well your solution performs its functional requirements .
Imagine for a moment that you are an engineer. You work for the electricity company that supplies a city and the surrounding area. Your job is to monitor the flow of electricity in the city and make adjustments to the supply as demand ebbs and flows over the day and from season to season .
Your IT people are building a new solution to provide you with the functionality that allows you to see the supply in real time on an array of screens. This information should allow you to intervene whenever you detect some abnormality that needs your correction. Some of this monitoring functionality will be automated, but the role of the engineer is to intervene and make adjustments if the situation becomes critical .
Now imagine the non-functional requirements that apply to this electricity monitoring and correcting solution. Non-functional requirements are designated by types, and these types are shown in the following list .
-
Look and Feel: The appearance and style of the solution
-
Usability and Humanity: The solution’s ease of use, and any special considerations needed for a better user experience
-
Performance: How fast, how many, how available, how scalable, how accurate the functionality must be
-
Operational and Environmental: The operating environment of the solution, and any considerations that must be considered for this environment
-
Maintainability and Support: Expected changes, and the time needed to make them; also, specification of the support to be given to the solution
-
Security: Access, integrity, privacy, recoverability, and auditability of the product
-
Cultural: Special requirements that come about because of the culture and customs of people who come in contact with the solution
-
Compliance: The laws and standards that apply to your solution
The requirements types you see on this list have been derived from a large collection of specifications that we have written over the years. From these we extracted the most useful properties for solutions to have. For convenience, we grouped them into eight major non-functional requirement types, and within those, subtypes or variations on the type. You can see the complete list and discussions on all the non-functional types in the Volere Requirements Specification Template. You find this in Appendix A .
Later in the chapter we’ll discuss each of these requirement types fully. For now, we’ll introduce them by looking at some practical examples. We’ll choose some of the NFRs that are relevant for the electricity solution. Let’s go back to our engineer .
Think of the functional requirements as those that cause the product to do the work and the non-functional requirements as those that specify the quality of that functionality.
The obvious first choice of non-functional requirement for your electricity solution is Security . Unless you are a highly qualified engineer you have no right to be messing around with the city’s electricity supply. Thus, the obvious security requirements must include provisions for preventing unauthorized people from accessing this solution. You also need security requirements to warn an operator if the consequences of her actions could be detrimental .
An even greater threat to the city’s electricity supply comes from cyberattacks. Hostile actors with bad intentions can bring down an electricity grid, so some of your security requirements are aimed at keeping the grid safe from any variation of a cyberattack .
Next up is Operational and Environmental . These have to do with the operating environment of a solution. In this case, your solution would need to connect to and interact with the statewide or national electricity grid, with each of numerous suppliers putting electricity into the grid, along with some city-owned systems that supply information about traffic, human movement, weather, and other factors .
Compliance requirements would also be high on the list. These have to do with laws that apply to your solution. In this case, the electricity monitoring solution would be subject to various city and state regulations applicable to the electricity supply. The engineer wants to be certain that her actions are within the law .
Look and Feel non-functional requirements are significant. The engineer would not want screens with a cartoonlike interface. Like most engineers, she wants a professional or engineering look to the solution. Its appearance must also make her feel that it is reliable .
The UX designer would work with you to design the final screens, but first you need to determine the requirements for the look and feel. Most of all, you want the interface to fit seamlessly into the engineer’s world so that it feels like the natural way for her to do her work .
Let’s look at a different situation to see some other examples. This time you are an insurance adjuster working for an insurance company specializing in automotive insurance. You are responsible for processing insurance claims made when policyholders damage their cars .
Usability and Humanity requirements are important here. Although you are a skilled adjuster, you need usability that gives you convenient access to all the information you need in order to settle insurance claims. You need to be able to see the police report on the accident and the body shop’s quote for repairs (possibly several of these), and you need to consider any personal statements made by people involved in the accident. So, the usability requirements specify a solution that allows you to process the claims quickly and accurately .
Cultural non-functional requirements are important to you, or at least to your employer. This loss adjustment solution is to be used in different states and in different countries. Local culture must be taken into account to ensure that no matter where they are, adjusters can understand the language and the technical terminology being used .
Look and Feel requirements specify that your adjustment solution is compatible in appearance with the other applications that you use. The insurance company has interface standards, and these non-functional requirements specify conformity with them .
Compliance requirements are important because the solution naturally would have to comply with insurance law applicable to the country or state of the insured’s motor vehicle .
Privacy , which comes under the heading of Security, must also be specified. The privacy requirements would specify that personal information about the policyholder is not released or available to anyone except the insurance adjuster and his supervisor .
Some of the other types are also applicable to this example, but now let’s turn to a more general look at non-functional requirements. To understand the significance of non-functional requirements it’s useful to consider a company that early on recognized the impact that non-functional requirements can have. The most obvious example of such a company is Apple. Apple’s attention to look and feel, usability, security, operability, and so on has made its products both extremely popular and much imitated. People are willing to pay a premium to have them .
Similarly, your choice of household appliances is often based on non-functional requirements. All dishwashers wash dishes—it’s their ease of use, their speed, and their environmental credentials that make the difference to consumers .
Non-functional properties may be the difference between an accepted, well-liked product and an unused one.
Spend a moment thinking of the end users of your solution. You have to provide the functionality that is needed for them to do their work. The non-functional requirements are those that make the product fit into the users’ world. If you get the right non-functional requirements, they bring about solutions that are readily, even enthusiastically, welcomed by their intended users .
PUCs and NFRs
A product use case, a PUC, is the part of the response to a business event that is done by the automated product. In the previous chapter, we discussed how a scenario can be used to describe the product use case by showing it as a number of processing steps, and for each step, you determine the functional requirements.
Non-functional requirements, however, do not fit so neatly into this way of partitioning. Some of them can be linked directly to a functional requirement, some apply to the product use case as a whole, and some apply to the entire product. Figure 26.1 shows possible links between the functionality and the associated non-functional requirements.
Figure 26.1
In this example, the product use case has three functional requirements, each having some non-functional properties. The use case as a whole must meet certain usability requirements, whereas the look and feel requirements relate to the entire solution.
Non-functional Requirement Types
Let’s look at each type of non-functional requirement in detail.
As you read through these requirement types, keep in mind that sometimes it is difficult to say exactly which type a requirement is. When this sort of uncertainty arises, it could indicate that you have several requirements posturing as one, or that you have one of those not-uncommon requirements that is just too difficult to categorize. If this bothers you, then you can give a requirement multiple types. Don’t sweat it. The category is not important. The requirement is.
There is one other thing to keep in mind as you go through the various non-functional requirements: For the moment, we are dealing only with the description and rationale of the requirement. Some of the examples we give might seem a little vague, ambiguous, or loosely worded. The method of attack is to initially capture the stakeholder’s intention for the requirement. Later you will add a measurement—this is the fit criterion —to the requirement to clarify it and make it testable. For example, you might write a fit criterion for a usability requirement that specifies how quickly a first-time user can learn to use the product and achieve certain tasks. Or you might specify the improvement in usability and thus efficiency that the new product must achieve.
We discuss fit criteria in the next chapter, but for the moment we ask you to accept that it is possible to measure such things as “attractive,” “exciting,” “easy,” and other adjectives that appear in the descriptions of non-functional requirements.
Look and Feel Requirements: Type 10
The Type number refers to the section of the Volere Template in Appendix A .
Look and feel requirements describe the intended spirit, the mood, the style of your solution’s appearance. Keep in mind that these requirements are about the intention of the appearance and are not a detailed design of an interface. For many projects, the prime look and feel requirement would be something like this:
Description: The product shall comply with corporate branding standards.
Or:
Description: The product shall conform to the established look and feel of the owning organization’s products.
These requirements do not in any way attempt to say that the company logo must occupy 10% of the screen, nor do they talk about the colors or the typefaces to be used. They simply state that the product must comply with the established branding standards. These standards are published elsewhere—your organization has a department (usually the communications department) or group responsible for these standards—and you and your UX designer have access to them.
Sometimes the look and feel requirements have nothing to do with corporate standards. For example, they might have to specify the appearance of an app. Appearances matter, and first impressions are important. Think of your favorite app, on either your computer, tablet, or phone. Why do you like it? The answer to that might be complex, but a significant part of it has to do with the way it looks. It does not have to be beautiful, but its appearance must be consistent with what it is doing. You don’t want your bank app to look like your music app, which in turn should not look like your office apps. In some cases, you might have a particular situation where the appearance of the solution is crucial to its success.
Look and feel requirements specify the spirit of the solution’s appearance. They are not the design of the interface.
Let’s say that you are discovering the requirements for a solution to be used by a police force. In this case, you would write a look and feel requirement that the solution must have “a police look and feel.” Perhaps it would be more helpful to write the requirement as “Similar to the look and feel of existing solutions at police headquarters.” This kind of requirement might seem mere and obvious, but imagine if you had not specified any look and feel, and the developers implemented the solution with an inappropriate appearance. Cops are cops, and they want their gear to look like police gear. You don’t have to describe how to achieve a “police look,” but you must specify it.
Can you measure and test whether it has a “police look and feel”? Yes. You could measure the product’s approval or acceptance by a test panel of police officers. Or you could measure its adherence to established police solutions. The reason for the product having a “police appearance” is to have it accepted and used by police officers. If your test panel accepts it and uses it, then you have achieved a solution that fits the requirement. By the way, you would probably test the “police look” of the product using mockups and prototypes, and thus avoid the expense of building the real thing and risking it being rejected.
Consider whether some of the following sample look and feel requirements are appropriate for your current or next project.
The product shall
-
● Appear simple to use
-
● Be approachable so that people do not hesitate to use it
-
● Appear authoritative so that users feel they can rely on it and trust it
-
● Conform to your customers’ other products
-
● Be attractive to children or some other target audience
-
● Be unobtrusive so that people are not aware of it
-
● Appear innovative and state of the art
-
● Be professional looking
-
● Be conservative
-
● Appear intriguing
-
● Be exciting
-
● Be cool
If you’re thinking that some of the above are vague and untestable, then please withhold judgment until we have talked about fit criteria. We’ll get to that in the next chapter, where we discuss how you can add a measurement to the requirement that allows any of the above to be tested. So initially, your look and feel requirements might appear to lack substance, but your intention is to capture the desired feel of the solution, and later you make it measurable, and thus tangible.
Today, in some application areas, software has become a commodity, and the distinction between the functionality of competing products has largely disappeared. In such cases, it falls to the non-functional requirements to differentiate one product from another. Usually, the noticeable and exceptional products have a distinctly superior look and feel.
You should always consider the audience for your product and whether they require some special appearance or feel to the solution. Your client has in mind the kind of experience she wants visitors to the site to have, and much of that experience is down to your look and feel requirements.
If you have a few moments and wish to amuse yourself to good avail, think of a product and come up with look and feel requirements for one or more of the following customer segments:
-
● Gen-Z
-
● Sailors
-
● Vampires
-
● Mothers
-
● Taylor Swift fans
-
● Submariners
-
● Gormogons
-
● Residents of Coober Pedy
-
● Heavy metal streaming audience
To reiterate the key point, the look and feel requirements describe the intention of the appearance and are not the design of the interface . To design the product at this stage would be premature—you do not yet know the complete requirements of the product. Designing is the task of the product’s designers and UX designers, once they know the requirements.
Usability and Humanity Requirements: Type 11
How many times in the past year or so have you downloaded an app to your device, used it for a few days, a few hours, or perhaps a few minutes, and then deleted it? The first reason for deleting it would be that it lacked the functionality you needed or it asked you to pay for something that was not valuable to you. The next reason would be its poor usability: You found it so awkward or opaque to use that you just gave up on it.
Why was it unusable?
-
● Sheer incompetence (there is nothing in this book that can help with that).
-
● The app’s builder never thought about usability requirements (there is a lot in this book that can help with that).
-
● The builder didn’t bother to find out anything about the kind of people who would be using it or the circumstances under which they would be using it.
This can happen at any time, but it shouldn’t. As consumers, we have become intolerant of poor usability and demand that the products we use, whether they are software, consumer goods, or services, be easy to use and likable. Usability might be one of the key factors that determine whether your customers accept or reject your solution.
Usability requirements make the solution conform to the user’s abilities and expectations of the user experience.
The usability and humanity requirements specify a solution that conforms to the users’ human abilities and expectations. So, you must consider your target customer segment. What kind of people are they? What kind of product do they need to do their jobs? The usability and humanity requirements ensure that you make a successful solution for them. This is illustrated in Figure 26.2 .
Figure 26.2
Consider the capabilities, knowledge, and circumstances of your intended audience when writing the usability requirements. Imagine what it’s like to do this job. Ask what would make this product fit most seamlessly into this person’s world.
As an example of usability requirements in real life, let’s look at Amazon. The Amazon site is easy to navigate, which makes it easier for customers to find things—this, of course, being the purpose of the site. It is also friendly and makes you feel like a valued customer. You can write reviews, get guidance from fellow customers and Amazon’s recommendations, check out and arrange delivery easily, return products conveniently, see your past orders, and so on. Amazon’s attention to the non-functional requirements has made it so attractive to shop at its site that people do just that. Many people. As a result, Amazon has become the world’s largest online retailer and has made its owner staggeringly rich. (We are not promising Bezos-like riches if you pay attention to non-functional requirements, but it might help.)
The circumstances of your intended customers have an impact on your usability requirements. Will your customer be juggling other apps at the time of using yours? Will she need to consult the grocery shopping list, send a photo of a product to her spouse, and make a payment at more or less the same time?
Does the customer for your product have a disability? For example, customers who are partially sighted or have poor eyesight should be considered. Seniors sometimes struggle to use some apps, not because the seniors are incapable but because they just can’t read the miniature typefaces on the screen. Colorblindness can hamper a customer’s ability to use a solution. About 1 in 12 males are red-green colorblind (yes, these are the important traffic light colors) and might be part of your usability requirements.
The usability of a product affects productivity, efficiency, error rates, and so on. It also affects acceptance: whether people actually use the product or are able to use the product. Carefully consider what your customer is trying to achieve with the product before writing usability requirements. For example, you might write one of the following sample requirements:
The product shall be usable by customers with no previous experience of it.
The product (an accounting solution) shall be usable by people with no formal accounting training.
The product shall be used in cold conditions and the operator might be wearing heavy gloves.
The product shall be used by office staff with ten years of schooling and fluency in English or Spanish.
The product shall be easy to learn by certified mechanical engineers.
“Easy to use” and “easy to learn” are slightly different characteristics. Easy-to-use products are designed to facilitate an ongoing efficiency, so perhaps some training is necessary before using the product. For example, suppose you were specifying a product to be used for some repetitive tasks in an office by clerical workers. You would be well-advised to make it easy to use, even if the ease of use means training people to use the product. The ongoing efficiency will pay for this extra effort many times over.
Adobe Lightroom (Photoshop, or any of the other professional-level photo manipulation products) is a case in point. Lightroom is a comprehensive product that offers an amazing wealth of options for the manipulation of digital images to its intended audience of photographers. The Lightroom learning curve is a steep one: There is a lot to be learned, and we would venture to say that it is not particularly easy to learn (at least it was not for one of your authors). However, once learned, Lightroom’s features make manipulating images a straightforward—even easy—task. Given the depth of functionality needed to do the task and its inherent complexity, Adobe has made its product easy to use once you have learned how to use it.
By contrast, easy-to-learn products are aimed at those tasks that are done infrequently and, therefore, may be forgotten between uses—yearly reports, rarely used features of a software product, and so on. Products that are used by the public for which no prior training is feasible—telephones, internet connections in public places, and dispensing machines—need to be easy or quick to learn.
Your requirement might be as follows:
Description: The product shall be easy to use by a member of the public on the first attempt without training.
Rationale: This new checkout product will save a considerable amount on the cost of transactions, so we need our retail customers to voluntarily switch to using it.
The rationale provides a justification of the customer’s need , and also provides rich information to the builder of the solution. In this case, the rationale says that this has to be a solution that attracts people to use it; otherwise, there is no point in building it.
We had a client who asked for the product to be “friendly.” Because we could not immediately think of a suitable measurement for this requirement, we felt, naturally enough, that we could not write the description as “friendly” and leave it at that. Some questioning revealed that the product the client wanted would appeal to the personnel consultants who were to use it. He knew that the consultants would be more productive if they switched to the new product, but he also knew that they would not use it, or would use it badly, if they didn’t like it.
With that understanding, the requirement began to look like this:
The product shall be liked by the personnel consultants.
We suggested to the client that we could measure the number of consultants who, after an initial training period, preferred to work with the new product rather than their old way. The client agreed with this plan: He said that he would be satisfied if 75% of the consultants were using the product after a six-week familiarization period.
Thus, we had the description and rationale for our usability requirement:
Description: The product shall provide the preferred way of working for the personnel consultants.
Rationale: To build the consultants’ confidence in the product and achieve a 75% take-up rate
Usability and humanity requirements can cover areas such as these:
-
● Rate of acceptance or adoption by the users
-
● Productivity gained as a result of the product’s introduction
-
● Reduction of error rates
-
● Usage by people who do not speak the language of the country where the product is to be used
-
● Personalization and internationalization to allow users to change to local spelling, currency, and other preferences
-
● Accessibility to people with disabilities (this is sometimes mandated by law)
-
● Use by people with no previous experience of the product (an important, albeit often-forgotten consideration)
-
● Able to be used during the hours of darkness (this caters to vampire users)
Usability requirements are derived from what your client is trying to achieve with the operability of the product, and from which kind of experience the users expect. Naturally, the users’ characteristics and circumstances make a difference to their expectations. You, as the requirements analyst, have to discover these characteristics and determine which levels of usability will turn the product into a useful and pleasant experience for them.
Before you write your usability requirements, it is essential to have a very clear picture of who will be using your product. In Chapter 6 , Customer Segments , we discussed the process of constructing a persona: a virtual person that is a distillation of the majority of your users. You survey your user community, to derive this archetypal character to represent that community. As a consequence, you write the usability requirements to suit the persona—the embodiment of almost all of the people who will actually use your product—instead of writing them to suit your own personal preferences or the preferences of just one or two of the loudest users.
Take a break and amuse yourself with usability requirements for some of these users. The product can be anything you choose:
-
● Round-the-world sailors
-
● Circus clowns
-
● Rock concert attendees
-
● Zombies
-
● Members of the US Lawn Mower Racing Association
-
● The most boring people in the world
Pay attention to usability, as it often leads you to discover the differentiating factor between yours and competing products.
Performance Requirements: Type 12
Performance requirements are written when your product needs to perform some tasks in a given amount of time, or do some tasks to a specific level of accuracy, or have certain data storage capacity, or achieve a certain volume of throughput.
Think about the performance needs of the product if it is to be successful. For example:
The product shall identify whether an aircraft is hostile or friendly within 0.05 seconds.
Capacity is another performance requirement. This requirement is one of the most critical ones for an ATM network, or other distributed solutions:
The product shall support 50,000 concurrent users.
We previously mentioned a solution that predicts when ice will form on roads and schedules trucks to treat them with deicing material. The client for this solution wants to sell it to road authorities around the world. These authorities are responsible for geographical areas of varying sizes, so the client needed to ensure that the product could handle the largest area covered by any potential client. Initially, we would have written the requirement as follows:
The product shall accommodate the largest geographical area of any road authority in the world.
Of course, this is not a practical requirement to hand over to a designer, so eventually we refined it:
Description: The product shall be able to analyze 5,000 roads.
Rationale: This is the anticipated maximum number of roads in the area of any potential customer for the product.
When you are thinking about performance requirements, consider such aspects as these:
-
● Speed to complete a task
-
● Accuracy of the results
-
● Safety to the operator
-
● Volumes of data to be held by the product
-
● Number of concurrent users or transactions at peak times
-
● Minimum acceptable performance
-
● Ranges of acceptable performance
-
● Throughput, such as the rate of transactions
-
● Efficiency of resource usage
-
● Reliability, often expressed as the mean time between failures
-
● Availability—the uptime or time periods when users can access the product
-
● Fault tolerance and robustness
-
● Scalability of most of the above
-
● Performance that is an improvement over any current solution by a specified percentage
The last aspect mentioned would require your organization to benchmark the performance of any previous system. Without such a benchmark, it would be impossible to tell if a new solution outperformed the old one. You might consider benchmarking the system to be replaced during your Blastoff. This way, you and your developers have a target to aim at.
Performance requirements can include the risk of damage to people or property. If your product is a lawn mower, then there is a genuine need for the product to avoid cutting off the user’s toes. Isaac Asimov included the following requirement in his laws of robotics:
A robot shall not injure a human being or, through inaction, allow a human being to come to harm.
Hardware is not the only potential source of damage. You should consider whether your software product could cause damage, either directly or indirectly. The ice-predicting product schedules trucks to spread deicing material on roads. Because environmental damage from this material can be serious, the following requirement is necessary:
Description: The product shall schedule deicing activities so that the minimum necessary amounts of deicing material are spread on roads.
Rationale: To minimize environmental damage to the area adjacent to treated roads
In some cases, you may want to specify a performance requirement for the outcome of a product use case. For example, we found this performance-related requirement:
Description: When a scheduled truck reports that it has broken down, the product shall provide a substitute truck that can arrive at the breakdown within 30 minutes of the breakdown notification.
Rationale: To make the road safe as soon as possible
Performance requirements come mainly from the operating environment. Each environment has its own set of circumstances and conditions. The people, machines, devices, environmental conditions, and so on all place demands on the product. The way your product responds to these conditions—how fast it has to be, how strong, how big, how often—dictates the appropriate performance requirements.
Operational and Environmental Requirements: Type 13
Operational requirements specify what the product has to do if it is to operate correctly in its environment. In some cases, the operating environment creates special circumstances that have an effect on the way the product must be constructed:
Description: The product shall be waterproof, shockproof, and able to withstand freezing temperatures.
Rationale: The product shall be used in and around trucks at night and during rainstorms, snow, and freezing conditions.
Not all products must operate in extreme environments; most products are built to operate on laptops or workstations installed in offices with an uninterruptible power supply. However, within any office, it is almost always necessary to interoperate with existing solutions. The operational requirements in these cases specify what your product must do to successfully collaborate with other products.
Sometimes the collaboration is with external systems, or there is a need to access external databases. These items show up as adjacent systems on the work context model:
The product shall interact in compliance with the Visa International and Regional Operating Regulations issued January 15, 2023.
To find the operational requirements, look at your product boundary and consider the needs of each adjacent system. Interview the representative of each of these systems to find its interoperational requirements.
If you are intending to use ready-made products as part of your solution, then here is where you specify the interoperability requirements. These requirements would specify what is needed to achieve correct interfacing between the products, or what customization or configuration is needed to complete the solution.
You should also consider the uniqueness of the environment when using ready-made solutions. Because something works in one place does not mean it works in another. For example, a ready-made that works perfectly well in a UK hospital might be unsuitable for a US hospital. The environment and work practices would be quite different.
The people who make up the workforce are considered part of the operating environment. Our colleague Aase Tvieto works at a Norwegian university. She told us about the installers of an accounting system who were not told that a lot of people from outside Norway worked at visiting academic jobs at the university. These people were contracted to receive their payments in foreign banks. This omission led to a system that struggled to account for foreign currencies, and caused a considerable amount of frustration and inconvenience to both the visiting academics and the university’s administrative staff.
You might have to describe the physical environment affecting the users when they use the product. This often means special constraints are placed on the way the product is constructed. For example, if the product will be used by people in wheelchairs, or while people are driving, in the dark (remember the vampires), in a hurry, and so on, then you must specify that constraint.
Mobile devices have their own special set of requirements:
The product shall survive a drop of 10 feet (3 m) onto a hard surface.
The product shall be usable in variable lighting conditions.
The product shall conserve battery life.
If you are building products for sale, you should include any requirements needed to turn the product into a distributable or saleable item. It is also appropriate to describe any requirements that relate to the successful installation of the product.
Maintainability and Support Requirements: Type 14
Usually, at requirements time you do not know exactly how much maintenance your solution will undergo in its lifetime, nor do you always know which type of maintenance it will need. But you do know, beyond any uncertainty, that it will need maintenance. Almost anything you build today will still be around in five years (and probably more). Despite the unpredictability of events during the life of your solution, you can, to some extent, foresee some of the maintenance for certain products. Consider whether any changes might occur in the following areas:
-
● The organization that deploys your solution
-
● The technology used by your solution
-
● Other technology that affects your solution
-
● The operating environment
-
● Attitudes within the marketplace
-
● Laws that apply to the product
-
● Changes to the government (either by democratic or revolutionary means)
-
● User demographics
-
● Business rules
If you know or strongly suspect that the product will undergo relatively heavy maintenance due to expected changes, then specify the types of expected changes and the amount of time allowed for those changes.
If you are creating a software product that should be able to run on several different operating systems, then specify them:
Description: The product shall be readily portable to Android and iOS.
Rationale: We anticipate moving into the mobile device market.
Here you are saying to the developer that you want to be able to implement the product on another platform at some point in the future, and that you will hold her accountable for the adaptability of the product to a new device. When you attach the fit criterion (coming up in the next chapter) to this requirement, you should specify the characteristics of the device and the expected time or effort necessary to make the transition.
The deicing product had this requirement:
The product shall be translated into various foreign languages. As yet, the languages are unknown.
This requirement had a major effect on the product’s designers. They designed the interface in such a way as to make it easy to add new languages and new alphabets. Also, they took into account the fact that different languages sometimes mean different cultures and different ways of presenting data.
As well as specifying that the solution must be able to be opened up, requirements might also impose constraints. For example:
Description: The product shall be written using the organization’s standard technology stack.
Rationale: Developers can maintain the codebase.
Support requirements are also covered in this section of the requirements specification. In some cases, your client may indicate that the product will be supported by the existing help desk; in other cases, the product must be entirely self-supporting. By making this point clear at requirements time, you ensure that the designer builds in the appropriate mechanisms for contacting the help desk or providing answers for questions likely to arise with usage.
Security Requirements: Type 15
There are a number of ways to look at security. The “CIA trinity”—confidentiality, integrity, and availability—has become quite standard. Confidentiality covers access and privacy; integrity covers both integrity and audit; availability covers the acceptable amount of downtime that a solution is allowed. This also covers how much loss of data is acceptable. We have presented these in a slightly different order below, and we have also considered that availability is covered as a performance requirement (see above).
We also refer you to the National Institute of Standards and Technology (NIST; https://www.nist.gov ) and suggest you check its Cybersecurity Framework.
Shari Lawrence Pfleeger, a security consultant, points out that security can be thought of as having four aspects.
-
Access: The product’s data and functionality are accessible to authorized users and can be produced in a timely manner. Other access requirements focus on denying access to unauthorized people.
-
Privacy: Data stored by the product is protected from unauthorized or accidental disclosure. Privacy can also be considered to be a compliance or legal requirement, but we will deal with it here as a security issue. Privacy also includes specifying how long data can be retained.
-
Integrity: The product’s data is the same as the source, or authority, of the data, and is protected from corruption.
-
Audit: This is what the product has to do to allow complete verification of its operations and data.
Access
Access means the solution’s data is, well, accessible. In other words, the product stores its data in a way that users can get at it and understand it.
In a security context, access requirements specify what the product has to do to ensure that the product’s data is available only to authorized users. At the same time, the security employed must not hinder or unreasonably delay the authorized users from getting what they want when they want it.
When you write this kind of requirement, you are specifying the allowable access—who is authorized, under which circumstances authorization is valid, and which data and what functions are accessible to each authorized user. For example:
The product shall ensure that only authorized users have access to the [name of] data (or function).
The term “authorized” may also need some further explanation. For example, are all authorized users authorized all the time? Does access depend on the time of day or the location of the user at the time of access? Is there a need for some kind of emergency override? Must a user collaborate with another authorized user to gain access? In other words, is the authorization conditional? If so, write these conditions as a requirement.
Alternatively, you might write this kind of requirement as a roles and permissions table. That is, roles on one dimension, functions on the other and intersections showing who can access what parts of the solution’s functionality and data.
You don’t normally specify security technology. However, your client might have already implemented some security technology—biometrics, passkeys, and so on. In this case, your security requirements should specify this technology as a technological constraint.
Privacy
Privacy is a concern to more and more people, and particularly to organizations. We are dealing with privacy under the heading of security, but these requirements could also be envisioned as compliance requirements. Most Western countries have laws governing privacy of personal information held within computer systems. The European Union’s GDPR (General Data Protection Regulation) is being adopted by more and more countries—including the United States—as their own law. GDPR is regarded as the toughest privacy and security law in the world, hence the take-up by other countries, not just those processing data within or exporting data from the EU.
We suggest that you speak with senior management to determine how serious they are about privacy. For example, is management 100% committed to the privacy of customer data, or are they prepared to sail a little closer to the wind? You also need to spend some time with the company lawyers and standards custodians, and work with them to interpret the relevant privacy laws whether they be GDPR or local regulations. This is done so that you can specify privacy requirements in a way that they are both adequate for their purpose and understandable to the developers.
If GDPR is too far-reaching for your needs, then you would write requirements for what the product has to do to ensure the privacy of its data. This capability is partly controlled by access, as we discussed earlier, and partly by the product ensuring that its data is not sent or distributed to unauthorized people. This means the product must have control over what copies—including printing—of the data can be made and distributed.
Privacy breaches can lead to loss of customer confidence, to penalties, and to fines. If your solution holds personal information about the organization’s customers, then it must protect that information. Significant fines can be levied if that private information is ever released, either accidentally or intentionally, from the organization.
For your own amusement, try some privacy requirements for the following:
-
● Politicians
-
● Crooks
-
● Girlfriends or boyfriends
-
● Chefs
-
● Cats
Integrity
Integrity means that the data held by your solution corresponds exactly to what was delivered to the product from the adjacent system. The adjacent system is the originator, and therefore, the authority for the data. You must consider requirements for preventing the loss or corruption of data and, should the worst happen, what the solution does to recover lost or corrupted data. You might also consider what happens when the original data changes. Does your version of the data remain, or should it be updated to reflect its new status?
In our deicing example, weather stations send data about temperature and precipitation to the deicing solution. The weather station originates the data so that any copies stored by the deicing solution must be faithful to the weather station’s version. Here is the appropriate integrity requirement:
The product shall ensure that its road temperature data corresponds exactly to the data transmitted by the weather station.
You should also consider other integrity requirements, such as those that cause the product to prevent unintentional misuse by authorized users—the most common form of data corruption. Naturally, the product must protect itself against improper usage by outsiders as well. It must also protect itself from bad data being imported.
Integrity also covers those requirements to prove the integrity of the product after some abnormal happening. These events can include such things as a power failure, an exceptional operating condition, or unusual environmental conditions such as a fire, flood, or bombing.
Immunity is also the concern of the security requirements. You specify requirements for the product to protect itself against malevolent software such as viruses, malware, denial-of-service attacks, Trojan horses, and any of the many other variations on the theme of attacking a computer system.
Backup, recovery, and archiving requirements are needed to maintain the integrity of the product’s data in the event of any unwanted disruption. You should talk to your operations people to determine what steps are needed by the product to prevent loss of data. You need to speak with your accountants and legal team to determine what archiving is needed.
Auditing
Auditing is part of the security section of your specification. Most accounting products have a requirement that they be able to be audited. This should ensure that no mistakes are made and that the results shown by the product are correct. Audits are also used to detect fraud or misuse, so audit requirements are often written to say that the product must leave an audit trail. The precise nature of your audit requirements must be negotiated with your own auditors, who naturally are stakeholders for your project.
Audit requirements are standard for any product dealing with money or valuable information or assets. Their inclusion often results in requirements for the product to retain its records for a given time.
Audit may also mean that the product maintains data on who has accessed which information. The intention of this kind of requirement is to ensure the integrity of the product’s information:
Description: The product shall retain a journal of all transactions for the statutory period.
Rationale: This is required by the auditors and by accountancy laws.
… And No More
Charles Pfleeger, a security consultant, suggests adding “… and no more” to your requirements. This phrase means that the product must do exactly what the requirement specifies and no more than it specifies. For example, if the requirement is to find a name and address from a file, then the product must not change the name and address after finding them, or transmit the name and address in contravention to the privacy requirements as discussed above.
Consider this access requirement:
The product shall allow access to authorized users.
The “… and no more” heuristic yields a complementary requirement:
The product shall ensure that only authorized users are able to gain access.
For security reasons, you might consider adding an overriding requirement to your specification:
The product shall not do anything except that which has been specified as a requirement.
Sometimes well-meaning product builders make the product perform faster or be bigger than specified, or they add unspecified features. While these properties may be beneficial to one or more parts of the product, they may well have a detrimental effect on the product as a whole or on the security of the product. We know of several cases where unauthorized or unspecified features added to a bank’s website opened serious security loopholes. Make sure that your development team does not build in extra features or properties without first negotiating their inclusion as requirements.
Clearly, security is essential. It should be assigned a priority that reflects the value of misusing the product. For example, if your product is to be used by a bank, or if it processes credit card or financial trading transactions, then the value of misuse (in financial terms) is high. Similarly, if your product is intended for the military, then misuse may result in loss of life (perhaps even your own) or loss of a military advantage. Thus, for financial, military, or life-support products, security has the highest priority, and consumes more of the budget, than many commercial systems.
You should consider calling in a security expert as a consultant stakeholder. Software developers are not usually trained in security, and the security of some functionality and data is so important that you need experts to advise on the security requirements.
Cultural Requirements: Type 16
Cultural requirements specify special factors that would make the product unacceptable because of customs, religions, languages, taboos, prejudices, or almost any other aspect of human behavior. Cultural requirements are needed when you try to sell a product into a different country, state, or organization, particularly when its culture and/or language is different from your own.
While “hello” and “stop” are almost universally recognized words and have the same meaning in all cultures, most other words don’t. In English we have a single word for “you,” whether we are speaking to one or many people (excluding the Southern “y’all”). Many other languages, however, have a different word for the plural and singular “you.” Matters become even more complicated in those languages that have a different “you” depending on the familiarity of the contact. In French, for example, you use the formal vous to speak with people in a business situation—especially superiors—and tu when speaking to family and close friends. To use tu too soon in a relationship can be thought of as rude. In Denmark, the familiar du is used almost always except when speaking to old people, when you say de . To use the formal de is considered stiff and unnatural by most people.
Sometimes cultural requirements are not immediately obvious. We take our own culture for granted, and we don’t give a lot of thought to how other people might perceive our products and ourselves. If your product is to be used outside your own country, and in some cases outside your own local region or state or even your own organization, consider whether you should call on the services of a cultural expert.
Cultural requirements are often unexpected, and at first glance they sometimes appear to be irrational, such as vampires will not enter your house unless you invite them in. But you have to keep in mind that the reason behind the requirements lies outside your own culture. If your reaction is “Why on earth do they do it like that?”, the answer is probably culture. It is also worth noting that different professions might have cultural differences. The culture of, say, engineering is quite different from that of marketing.
Following are some cultural requirements you might consider.
Religious observances:
The product shall not display religious symbols or words associated with mainstream religions.
Cultural sensitivity:
The product shall not display terms, icons, or images deemed unsuitable by the communications director (or whoever makes that kind of decision in your organization).
Spelling:
The product shall use American spelling.
Forcing political or cultural alignment:
The product shall offer the choice of language in the order appropriate for the region of the country.
This last requirement comes from Belgium, where three languages are spoken; each region naturally considers its language to be the most important. It is considered inappropriate to offer French before Flemish if the user is logged in from Flanders.
The more we build products for use in different walks of life, by different professions, and for different socioeconomic groups in different countries, the more we need to consider cultural requirements.
Cultural diversity and inclusion mean that your solution should not discriminate or fail to include minorities. Sometimes this means that you must allow individual users to nominate their own titles, pronouns, and honorifics. In any event, there is an overarching requirement:
The product shall not discriminate against recognized segments of society.
Bear in mind that some of these cultural diversity and inclusion requirements might also be compliance requirements.
Compliance Requirements: Type 17
The cost of litigation is one of the major risks for OTS software and it can be expensive for other kinds of software as well. You must make yourself aware of the laws that apply to your kind of product and write requirements to ensure that the product complies with these laws. Even if you are building software for use inside your own organization, be aware that laws applying to the workplace might be relevant.
A compliance requirement looks like this:
The product shall comply with the Americans with Disabilities Act.
This is a very broad requirement, and you would need to sit down with lawyers to determine all of the parts of the ADA that are applicable to your product. That would probably result in you writing multiple requirements to ensure compliance. You need to consult with your lawyers to determine what these requirements should be.
You are required by law to display copyright notices, particularly if you are using other people’s products. Additionally, products are required by law to display warning messages if there is any danger that some dim-witted user might do the wrong thing with it. For example, a blanket made in a southeast Asian country carries this warning:
Warning. Do not use this blanket as a hurricane shelter.
A label on a child’s scooter:
This product moves when used.
Start with your company’s lawyers; they have far more experience with the law than you. Here are several things that you can do to facilitate compliance.
-
● Examine adjacent systems or users—that is, the entities that have contact with your product. You can use your context diagram to identify them.
-
● Consider their legal requirements and rights. For example, are any of the disabled-access laws applicable? Does the adjacent system have any rights to privacy for the data that you hold? Do you need proof of transaction? Or nondisclosure of the information your product has about the adjacent system?
-
● Determine whether any laws are relevant to your product. For example, are data protection, privacy laws, guarantees, consumer protection, consumer credit, or right to information laws applicable?
-
● Check laws like the Sarbanes-Oxley Act (SOX), Health Insurance Portability and Accountability Act (HIPAA), Privacy and Electronic Communications (EC Directive) Regulations, General Data Protection Regulation (GDPR), EU Consumer Laws, Federal Trade Commission Act, Financial Services and Markets Act, and more.
There’s more. Lots more. We urge you to consult your organization’s lawyers. After all, they are paid to give advice on matters of legal compliance.
Standards
Compliance requirements are not limited to the law of the land. Some products must comply with industrial or professional standards. For example:
The product shall comply with our ISO 9001 certification.
There is also the possibility that your solution must comply with organizational policies. There may be internal standards or there might be rules that apply to your or your customer’s organization. For example, there might be rules about improper use of the solution, or there might be standards over and above any national standards.
Now that we have considered the content of the non-functional requirements, let’s look at ideas for finding them.
Finding the Non-functional Requirements
Like all requirements, the non-functional ones can come to light at any time. Nevertheless, there are certain places to look that provide better opportunities to discover them.
Business Use Cases
We have stressed the efficacy of business events for the discovery of requirements, and they will pay off once again here. The business use case, the BUC, is the response to a business event. It is the functionality that is triggered by an external adjacent system (when the business event happens) and continues to execute until the functionality needed to achieve the outcome of the business event has been completed.
If you look closely at this functionality and the triggering adjacent system, the non-functional requirements become easier to see.
Take, for example, the BUC shown in Figure 26.3 . This diagram plays loosely with diagramming notation, but that is deliberate to illustrate the point.
Figure 26.3
A business use case that is triggered by an adjacent system, in this case a nurse in a hospital. The BUC accesses a database of patient records and other medical information.
Now let’s look at the adjacent system, the nurse, and ask what non-functional requirements are needed for her.
Usability requirements would be high on the list. Nurses are typically busy, and solutions aimed at them must be highly usable, highly efficient, and with a logical workflow. Usable solutions are responsible for fewer errors being committed, which for hospital work is pretty important. For example:
Description: The product shall have a logical workflow.
Rationale: Hospital experience has shown that familiar working practices result in fewer errors.
There is also a usability requirement to do with your solution being consistent with other solutions that she operates:
Description: The product shall appear familiar to nurses.
Rationale: Nurses are too busy to learn new interfaces. We want nurses to start using the solution on their first exposure to it.
Of course, you could think of this requirement as a learnability requirement. The types of requirements often overlap.
Look and feel requirements also come into play. The appearance has to be medical—a nurse would not want to operate a solution that looks like a game:
Description: The product must have a medical or clinical appearance consistent with other hospital products.
Rationale: Nurses will feel more confident and be more willing to use the solution if it has an appearance that is compatible with the nurses’ work.
This requirement is slightly more difficult to quantify, but you will be able to write a suitable fit criterion for it after you have read Chapter 27 , Fit Criteria and Rationale .
Operational requirements are also there to be discovered. This business use case will probably have to operate by linking to several databases, several medical devices, and imaging devices, and of course must be available throughout the hospital. You would write quite a few operational requirements to accommodate the interfaces with these other devices.
Privacy requirements must be treated very carefully. This is a medical solution, so there are probably patient records available to it. These are highly confidential, and there are severe penalties for disclosing them. To get the privacy requirements, you must sit down with the hospital administrators and lawyers and probably several other specialists.
Compliance requirements are needed to ensure that the product does not transgress relevant laws and standards that apply to medical solutions. Again, the lawyers are valuable stakeholders.
Of course, there would be a lot more to it than space permits here. The point is that you can take each business use case individually, and by inspecting its functionality and its adjacent systems, dig out its non-functional requirements using the checklist in the template to help you.
The Template
The Requirements Specification Template in Appendix A has more explanation and examples of the non-functional requirements. You can use this template as a checklist of non-functional requirement types when interviewing your stakeholders. Go through the template looking at each of the subtypes of non-functional requirements and probe for examples of each.
Prototypes and Non-functional Requirements
You can use prototypes to help uncover non-functional requirements. At requirements time, the prototype usually takes the form of a whiteboard sketch, a paper prototype, a wireframe, or some other quick-and-dirty mockup of what the product might be like. The intention here is not to design the product, but rather to ensure that you have understood the needs by reverse engineering the requirements from the prototype. We discussed this process in Chapter 10 , Generating Sacrificial Candidate Solutions .
In the case of the road deicing solution, let’s say your stakeholders respond favorably to a sketch of a screen showing the roads to be treated in a glowing, cold blue color, the safe roads in green, and the treated roads in yellow. This is illustrated in Figure 26.4 , albeit without the color. This prototype yields at least these usability requirements:
Figure 26.4
A sketched prototype of a screen for the road deicing solution. The screen is a proposal for the engineers and is used to elicit requirements.
Description: The product shall clearly distinguish between safe and unsafe roads.
Description: The product shall make any unsafe roads obvious.
You do not yet know that “a glowing, cold blue color” is intuitive—you need some ergonomic input, help from a UX designer, or user surveys for that. Nevertheless, the intention is clear from the prototype.
Go over your prototypes using the template. For each non-functional type, which requirements does the prototype suggest? Go through the prototype carefully, keeping in mind that the prototype is not the requirement, but rather a simulation of the requirements.
The Client
The client for the product may also have expectations that are relevant to your quest for non-functional requirements. In many cases, the reason for building a new product is to provide a service to the users or to the customers of the business, and the attractiveness of that service depends on its non-functional qualities. For example, providing portable, highly usable, or secure functionality may be crucial to the development effort. Alternatively, your client may say that if you cannot provide a live, interactive display of the current trading position, then he does not want the product. Thus, your client becomes the prime source of the critical non-functional requirements.
Once the functional requirements are met, the non-functional qualities may be what persuade potential customers to buy your product. After all, your own buying decisions are often influenced by the non-functional properties of the products you bought. Also think about the non-functional requirements of products that you admire.
Table 26.1
Finding Non-functional Requirements
| Who or What Is (Are) … | Do They (Does It) Have These Requirements? |
|---|---|
| The users (Template section 2 ) | Look and Feel (Type 10)Usability (11): Are there any special considerations for this kind of user?Security (15): Do you have to protect the users, or protect against them?Cultural (16): Is there a risk of offending or misleading your users? |
| The operating environment (5, 6, 8) | Operational (13): Particularly collaborating products.Performance (12): Demands made by the environment.Maintenance (14): Consider proposed changes to the environment. |
| The client, customer, and other stakeholders (2) | Look and Feel (10)Usability (11)Cultural (16) |
| The adjacent systems (6, 8) | Compliance (17): Include special rights for this kind of adjacent system.Operational (13)Performance (12) |
Table 26.1 summarizes the questions to ask for a use case or a functional requirement. Ask your client to what degree these questions are relevant to the product you are specifying. Your client, or the marketing department, is the source of information about what will make customers buy the product.
For each use case or the product as a whole, consider the factor in the first column of Table 26.1 . When you have adequate knowledge of this factor, use it as a trigger to start questioning your stakeholders about the requirement types in the second column.
Don’t Write a Solution
We have already mentioned the inadvisability of writing a solution instead of a requirement. This practice is so widespread (especially with non-functional requirements) and potentially so serious that you will forgive us if we mention it again.
Don’t presuppose a solution or enforce a solution by the way you write your requirements. By the same token, don’t adopt a current solution to a problem and write that as the requirement. Suppose, for example, that you write a security requirement like this:
The product shall require a password to access account data.
Now the designer is forced to use a password in the solution. As a result, even if a better security device than passwords is available—and there absolutely are—the product builder may not use it. In this case, writing a solution as the requirement prevents the designer from searching for an alternative, and probably better, solution.
By writing:
The product shall ensure that account data can be accessed only by authorized users.
you are asking the product designer or a security consultant—people qualified to do this—to find the most effective security solution.
Apart from potentially solving the wrong problem, one of the main concerns with writing a solution instead of a requirement is that technology is constantly changing. Solutions lock you into one technology or another, and whatever you choose may be out of date by the time the product is built. By writing a requirement that does not include any technological component, you not only allow the designer to use the most appropriate, up-to-date technology, but also allow the product to change and adapt to new technologies as they emerge.
To follow the guideline of not writing solutions, examine your requirements. If any of them contain an item of technology or a method, ask why the requirement exists. Rewrite the requirement to suit your answer, and ask why again. Do this three times. At that stage, the requirement is as good as it is ever likely to be.
Review
Imagine a world where an automated process takes longer to do than if you had done it manually; where your phone was so difficult to use that it required you to frequently refer to the instruction manual in order to use it; where your neighbor could see your transactions whenever you used your online banking; where the appearance of your mail app so repulsed you that you stopped using it; where the websites you visit use questionable cultural language; where your notes app does not connect to any other app and cannot receive messages from the internet; where the internet must be reconnected each day, and then runs slowly and intermittently; where none of your household appliances are easy or pleasant to use.
This dysfunctional world is where nobody thinks about non-functional requirements.
Despite their obvious importance, you should not overly worry about what type of non-functional requirement one is. Take, for example, an NFR about colorblindness. Is it a usability requirement, or is it about accessibility? Or perhaps compliance? It doesn’t matter. As long as you have discovered the requirement, it’s fine whatever you call it.
For example, take the case of a non-functional privacy requirement about compliance with GDPR (which you could consider to be a security requirement or a compliance one). Complying with GDPR uncovers a range of associated requirements, both functional and non-functional:
The solution shall allow a manager to create a Subject Access Request report and send it to a Data Subject on request.
That is a functional requirement. The following one looks like a functional requirement but is actually a compliance non-functional requirement:
The solution shall store all data within the European Union.
(You might find an equivalent requirement within the United States.)
The solution shall allow corrections to be made to data where a Data Subject notifies the company of an inaccuracy. (Functional requirement)
The moral of the story is to not worry about whether a requirement is functional or non-functional, but to worry about finding all the requirements.
Resources
The Requirements Specification Template packaged in Appendix A of this book is the most comprehensive source of non-functional requirements available. And you already own it.
The Arc42 Quality Model ( https://quality.arc42.org ) distills the qualitative aspect into the eight most important system qualities.
The Quest for Software Requirements by Roxanne Miller (MavenMark Books, 2009). This book is an excellent guide to non-functional requirements. Miller starts with general business analysis skills, then has many, many questions you ask to drive out non-functional requirements.
Business Analysis Agility: Solve the Real Problem, Deliver Real Value by James Robertson and Suzanne Robertson (Addison-Wesley, 2019). This looks at how to enhance your story map with the non-functional requirements.
The Business Analysis Body of Knowledge (BABOK Guide) by the International Institute of Business Analysis (IIBA, 2021). This primarily addresses the domain of business analysis, and touches upon non-functional requirements in the context of requirements analysis and documentation.
Software Requirements, Third Edition by Karl Wiegers (Microsoft Press, 2013). This book offers insights into modern requirements practices, including non-functional requirements.
User Stories Applied: For Agile Software Development by Mike Cohn (Addison-Wesley, 2004). While primarily focused on user stories, this book touches on non-functional requirements and how they should be incorporated into agile projects.