Non-Functional Requirements and Quality Attributes
Specify measurable quality requirements for performance, security, privacy, usability, reliability, and more.
Introduction
A system can do everything on the functional list and still fail: slow, insecure, confusing, or unavailable when it matters. Non-functional requirements (NFRs) specify quality attributes and constraints. They strongly shape the architecture, so discovering them late is costly.
The common failure is vagueness. “The system should be fast and secure” is a wish, not a requirement.
Learning Objectives
- Identify the main quality attribute categories.
- Write NFRs that are measurable, with scale and context.
- Distinguish targets from hard limits.
- Elicit NFRs from stakeholders with concrete questions.
- Use AI to prompt for overlooked quality attributes.
1. Quality Attribute Categories
| Category | Question | SignalDesk concern |
|---|---|---|
| Performance | How fast, how much throughput? | Search and theme pages stay responsive |
| Scalability | How does it behave as load grows? | A customer with 200,000 items |
| Availability / reliability | How often is it up, how does it fail? | Import must not lose data |
| Security | Who may access what? | Workspace data isolation |
| Privacy / compliance | How is personal data handled? | Customer emails inside feedback |
| Usability | How easily can people use it? | A PM can produce a summary unaided |
| Accessibility | Can people with disabilities use it? | Keyboard navigation, screen readers |
| Maintainability | How easily can it change? | Adding a new import source |
| Portability / compatibility | Where must it run? | Supported browsers |
| Observability | Can we tell what it is doing? | Audit trail of changes |
| Data retention | How long is data kept? | Deletion on request |
Not every category applies equally. Choose those that matter and justify omissions.
2. Make Quality Measurable
A measurable NFR has:
- Quality: what attribute.
- Measure: how you quantify it.
- Target: the required value.
- Context: conditions, load, and environment.
- Priority: how important it is.
Template:
1
[Function/scope] shall [meet measure] of [target] under [conditions].
| Vague | Measurable |
|---|---|
| Fast search | Search results shall be returned within 1 second for the 95th percentile of queries in a workspace with 50,000 items. |
| Highly available | The service shall be available at least 99.5% per calendar month, excluding announced maintenance windows of at most 4 hours. |
| Secure | A user shall be able to access only data in workspaces to which they have been granted membership. |
| Easy to use | In a usability test, at least 4 of 5 new users shall complete “create a theme and attach three items” without assistance in 5 minutes. |
| Accessible | The web application shall conform to WCAG 2.2 Level AA for all user-facing pages. |
Numbers above are illustrative. Real targets must come from stakeholder needs and what is economically justified. A 99.99% target costs much more than 99.5%; ask whether the business needs it.
3. Target Versus Limit
Sometimes you need two values:
- Target: what we aim for.
- Minimum acceptable: below which the system fails its purpose.
Example: “Import of a 10,000-row CSV shall complete within 60 seconds (target) and in no case exceed 5 minutes (limit).”
This gives designers room and gives testers a pass/fail threshold.
4. Security and Privacy Need Specific Statements
Avoid “the system shall be secure.” Specify observable behaviors:
- The system shall require authentication for all non-public endpoints.
- The system shall encrypt customer data in transit and at rest.
- The system shall record an audit entry for each export of feedback data, including user, time, and scope.
- The system shall delete all data of a workspace within 30 days of a verified deletion request.
- The system shall allow personal data in a feedback item to be redacted without deleting the item.
When regulations apply (for example data protection law), involve qualified legal or compliance advisers. AI can list topics to ask about, but it cannot determine legal obligations.
5. Eliciting NFRs
Stakeholders rarely volunteer NFRs. Ask scenario-based questions:
- “If the system is down for an hour on a Monday morning, what happens?”
- “How many feedback items will your biggest customer have in two years?”
- “Who must never see this data?”
- “What happens if an item is imported twice?”
- “What devices and browsers do your users actually use?”
- “How long must we keep this data? When must we delete it?”
Look at existing evidence too: usage data, support tickets, contracts, and service-level agreements.
6. Conflicts Between Qualities
Quality attributes trade off. Strong audit logging may affect performance; strict privacy controls may reduce convenience. Record known tensions and assign priorities. These feed the architecture trade-off decisions in the next course.
7. Use AI to Find Missing Qualities
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Act as a software quality and requirements specialist.
System summary and context:
[Paste scope and context.]
Our current NFRs:
[Paste NFRs.]
Tasks:
1. Identify quality attribute categories not yet covered.
2. For each existing NFR, point out missing measure, target, or
context.
3. Suggest scenario-based questions to ask stakeholders for each gap.
4. Flag potential conflicts between NFRs.
Do not propose specific numeric targets as facts. Where a number is
needed, ask which evidence would justify it.
Take the questions to stakeholders. Do not accept AI-suggested numbers as requirements without justification.
8. Practical Exercise
Write at least 20 NFRs for SignalDesk across at least seven categories. Each must have a measure, target, context, rationale, source or open question, and priority.
Then:
- Mark which targets are confirmed and which are placeholders needing evidence.
- Identify three pairs of NFRs that may conflict.
- For five NFRs, describe how you would measure or verify them.
Verification
You are ready to continue when:
- Each NFR is measurable and has context.
- Placeholder targets are labeled and tracked as open questions.
- Security and privacy requirements describe observable behavior.
- Potential conflicts between NFRs are recorded.
Key Takeaways
- NFRs shape architecture and cost; discover them early.
- “Fast” and “secure” are not requirements until measured.
- Targets need justification; stricter is not automatically better.
- AI helps find gaps, but numbers must be grounded in evidence.
What’s Next?
Next, we express requirements from the user’s perspective: user stories for backlog-friendly needs and use cases for detailed interaction flows.