Requirements that aren't features
Last updated
A queue app can do everything on its list and still fail: too slow on Monday morning, unreadable in sunlight, down when the one server restarts. Those are non-functional requirements: how well the system must do what it does, and the limits it must work within. In this lesson you'll name the kinds, put numbers on Pila's, and watch Monday morning with and without them.
By the end of this lesson you can
- Tell functional requirements from non-functional ones and constraints
- Name the quality characteristics in ISO/IEC 25010
- Write a non-functional requirement with a number in it
What, and how well
Functional requirements say what the system does (lesson 3.5). Non-functional requirements say how well: how fast, how reliable, how secure, how easy to use. They're also called quality requirements.
ISO/IEC 25010 is the standard list of qualities. Its 2023 edition has nine:
| Characteristic | Asks | For Pila |
|---|---|---|
| Functional suitability | Does it do what’s needed, correctly? | Never gives out number 61 |
| Performance efficiency | How fast, with what resources? | Replies within 10 seconds at 300 texts an hour |
| Compatibility | Does it work with other systems? | Works with the SMS company’s service |
| Interaction capability (usability) | Can people use it? | A first-time patient gets a number with no help |
| Reliability | Does it keep working? | Up on 99.5% of working mornings |
| Security | Is it protected, including people’s data? | Only staff see names |
| Maintainability | Can it be changed easily? | A new closing time takes one line |
| Flexibility (portability) | Can it move or adapt? | Can run for a second health centre |
| Safety | Can it avoid harm? | A failure never sends patients home who should be seen |
The 2023 edition renamed usability "interaction capability" and portability "flexibility", and added safety. Older books use the 2011 names.
Constraints
A constraint is a limit the solution has to work within, often set from outside the team:
- Budget: what the barangay can pay, including every text message, every month.
- Law: the Data Privacy Act of 2012 for names and numbers; the health department's reporting rules.
- Devices: basic phones that only text; one old computer at the counter.
- Connectivity: slow, patchy mobile data; power cuts.
- Time: the launch date Kap. Ernesto announced.
Constraints rule out whole designs before anyone draws one. Pila's "basic phones" constraint is why text messages come first and a smartphone app may never come.
0 of 8 placed right
Give out a queue number in reply to a text saying PILA.
Reply to 95% of texts within 10 seconds, at up to 300 texts an hour.
Work on basic phones that only send and receive texts.
Text messages cost no more than ₱5,000 a month.
The queue screen meets WCAG 2.2 level AA for contrast.
Delete names and phone numbers 30 days after the visit.
Counter staff can give a number to someone without a phone.
Be available from 6:30 a.m. to 5:30 p.m. on 99.5% of working days.
Putting a number on it
"Fast", "reliable" and "secure" are lesson 3.5's weasel words in disguise. Each non-functional requirement needs a measure: a number, a unit, and the conditions it holds under.
| Vague | With a number | Checked by |
|---|---|---|
| Fast | Replies to 95% of texts within 10 seconds, at 300 texts an hour | A load test before launch (lesson 6.4) |
| Always up | Available 6:30 a.m. to 5:30 p.m. on 99.5% of working days | Monitoring after launch (lesson 7.8) |
| Readable | Current number at least 10 cm tall; text contrast meets WCAG 2.2 level AA | Measuring the screen; a contrast checker |
| Private | Names and numbers deleted 30 days after the visit; only signed-in staff see names | A test, and a check of the database |
| Cheap to run | Text messages under ₱5,000 a month at 60 patients a day | The SMS company’s monthly bill |
The numbers here are Pila's, made up for the course. Real ones come from the stakeholders: ask Ate Cora how long patients will wait for a reply before they give up and walk over anyway.
Monday morning, with and without
- Week 1 The features are built and tested by five people on the team. Everything replies in a second.
- Week 2, Thursday Launch is set for Monday.
- Monday, 7:00 300 patients text PILA in the first hour after the weekend.
- Monday, 7:05 Replies take four minutes, then stop. Patients text again, which makes it worse. The line forms outside, as before.
- Monday, 9:00 Ate Cora goes back to paper numbers. Kap. Ernesto hears about it before Bea does.
Without non-functional requirements written down: Every feature worked. With five testers, so did the speed. Nobody had said how many people Monday would bring.
Switch to the other side to compare.
Spot the trap: “we’ll make it fast later”
With two weeks to launch, Marco says: “Let’s get the features done. We’ll make it fast later, if anyone complains.”
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- ISO/IEC 25010:2023, Product quality model: the quality characteristics of a software product
- ISO/IEC/IEEE 29148:2018, Requirements engineering: quality requirements and constraints alongside functional ones
- W3C: Web Content Accessibility Guidelines (WCAG) 2.2: measurable accessibility requirements, used for Pila’s