Bookmarks

Quality attribute

A measurable property of a software system — performance, availability, security and others — that shows how well the system performs beyond its functions.

Also: attribute of quality, software quality property, quality characteristic

checked 8 Nov

All terms

Functions answer the question of what a system does; quality attributes answer how well it does it: how fast, how long without failures, how secure and how easy to change. Users notice them indirectly — through delays, downtime and data leaks — so architects state attributes explicitly and make them testable.

Attribute categories

The term is close to “non-functional requirements”: both cover the same properties of a system. SEI materials — the QAW and ATAM methods — use exactly this term, quality attributes. ISO/IEC 25010 breaks the attributes down: the 2011 edition defines eight product quality characteristics, the 2023 edition nine, and each characteristic has sub-characteristics. The table below follows the 2011 edition.

CharacteristicWhat it describes
Functional suitabilitycompleteness, correctness and appropriateness of functions
Performance efficiencyresponse time, resource utilisation, capacity
Compatibilitycoexistence and interoperability with other systems
Usabilityunderstandability, learnability, user error protection, interface accessibility
Reliabilitymaturity, availability, fault tolerance, recoverability
Securityconfidentiality, integrity, non-repudiation, accountability, authenticity
Maintainabilitymodularity, reusability, analysability, modifiability, testability
Portabilityadaptability, installability, replaceability

Quality attribute scenario

On its own an attribute is abstract — “the system must be reliable” does not commit anyone to anything. That is why SEI methods phrase attributes as scenarios: the Quality Attribute Workshop surfaces the attributes critical to a system — availability, performance, security, compatibility, modifiability — while ATAM evaluates the architecture against the measures of each attribute. A quality attribute scenario consists of six parts:

  • source — who generated the stimulus: a user, an external tester, a hardware failure;
  • stimulus — the event: a request, a node failure, an intrusion attempt;
  • artifact — what the stimulus affects: a process, a database, the whole system;
  • environment — under what conditions: normal operation, overload, failure;
  • response — what happens: the system encrypts the data, shows an error, switches to the backup;
  • response measure — how to verify: latency of at most 200 ms, downtime of at most 5 minutes.

How attributes are measured

A measure turns an attribute into a testable requirement. Examples of such scenarios: “a remote user requests a report from the database over the web at peak hours and receives it within five seconds” is a performance measure; “engineers replace the discrete-event generator in less than two person-weeks” is a modifiability measure. Availability of 99.9% means about 43 minutes of downtime per month.

Attributes conflict with one another: tightening security adds latency, and optimising performance to the limit can hurt portability and maintainability. That is why attributes are ranked by priority, and cloud frameworks such as Well-Architected reduce them to six “pillars” — from operational excellence and reliability to cost efficiency.

Sources

the term is written from these pages

Verified 8 Nov

Not to be confused with

what it is mixed up with and how it differs

  • NFRnon-functional requirements

    An NFR is a requirement on an attribute with a number and a deadline (“availability of 99.9%”); a quality attribute is the property of the system itself.

In depth in the references

where the topic is covered in detail