Planning and requirements · lesson 6 of 10
Ideas in this lesson
ANon-functional requirementhow well, not what
BISO/IEC 25010the standard's list of quality characteristics
CConstrainta limit the solution must work within
DWeasel wordsfrom lesson 3.5

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:

Quality characteristics in ISO/IEC 25010:2023, with a Pila example
CharacteristicAsksFor Pila
Functional suitabilityDoes it do what’s needed, correctly?Never gives out number 61
Performance efficiencyHow fast, with what resources?Replies within 10 seconds at 300 texts an hour
CompatibilityDoes 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
ReliabilityDoes it keep working?Up on 99.5% of working mornings
SecurityIs it protected, including people’s data?Only staff see names
MaintainabilityCan 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
SafetyCan 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

  1. Give out a queue number in reply to a text saying PILA.

  2. Reply to 95% of texts within 10 seconds, at up to 300 texts an hour.

  3. Work on basic phones that only send and receive texts.

  4. Text messages cost no more than ₱5,000 a month.

  5. The queue screen meets WCAG 2.2 level AA for contrast.

  6. Delete names and phone numbers 30 days after the visit.

  7. Counter staff can give a number to someone without a phone.

  8. 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.

Pila’s non-functional requirements, beside their measures
VagueWith a numberChecked by
FastReplies to 95% of texts within 10 seconds, at 300 texts an hourA load test before launch (lesson 6.4)
Always upAvailable 6:30 a.m. to 5:30 p.m. on 99.5% of working daysMonitoring after launch (lesson 7.8)
ReadableCurrent number at least 10 cm tall; text contrast meets WCAG 2.2 level AAMeasuring the screen; a contrast checker
PrivateNames and numbers deleted 30 days after the visit; only signed-in staff see namesA test, and a check of the database
Cheap to runText messages under ₱5,000 a month at 60 patients a dayThe 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

  1. Week 1 The features are built and tested by five people on the team. Everything replies in a second.
  2. Week 2, Thursday Launch is set for Monday.
  3. Monday, 7:00 300 patients text PILA in the first hour after the weekend.
  4. Monday, 7:05 Replies take four minutes, then stop. Patients text again, which makes it worse. The line forms outside, as before.
  5. 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”

Spot the trapMarco

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

Which is a non-functional requirement?
“Pila must work on basic phones that only send texts.” What kind of requirement is it?
Why should non-functional requirements be written before the design is settled?

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.

All sources for Simple Software Development