Non-Functional Requirements Revisited

Feng-Lin Li, Jennifer Horkoff, John Mylopoulos, Lin Liu, Alexander BorgidaiStar 2013

Introduction

In traditional Requirements Engineering (RE), Non-Functional Requirements (NFRs)—such as security, performance, and usability—have long been treated as "softgoals." These are often vague, subjective criteria that are difficult to measure and even harder to integrate into automated reasoning systems. This paper, presented at the 6th International i Workshop, challenges this orthodoxy by proposing a more rigorous, ontology-based definition of NFRs as Quality Goals*.

The Problem with Traditional NFRs

The authors identify a fundamental flaw in how NFRs are currently modeled. In standard frameworks, a softgoal like "Security" is treated as an independent entity. However, security cannot exist in a vacuum; it must qualify a specific subject (e.g., a "Secure Message"). If the subject does not exist, the requirement is irrelevant. Furthermore, the inherent "softness" of these goals leads to complex 4-valued logics (satisfied, denied, partially satisfied, partially denied) that often result in conflicting or ambiguous results during automated analysis.

The Proposed Framework: Quality Goals and Constraints

To address these issues, the authors introduce a revisited goal modeling framework grounded in the DOLCE (Descriptive Ontology for Linguistic and Cognitive Engineering) ontology. This framework introduces two key concepts:

  1. Quality Goals: These are requirements that existentially depend on a subject. Instead of a generic "Low Cost" goal, the framework uses Quality'[Subj], such as Low Cost [Trip].
  2. Quality Constraints (QCs): To handle vagueness, Quality Goals are "defuzzified" into measurable constraints. For example, the preference for "Low Cost" is operationalized by a constraint like "Price ≤ 500€."
Meta-model of the revisited goal modeling framework showing the relationships between goals, quality goals, and constraints.

By adopting this structure, the framework moves away from partial contribution links (like "help" or "hurt") in favor of binary "make" and "break" links. This simplification avoids the aggregation problems common in traditional NFR frameworks and allows for clearer reasoning about which system alternatives truly satisfy stakeholder needs.

Practical Application: The Travelling Example

The paper illustrates the framework using a "Travelling Example," where a traveler plans a trip to Europe. This example demonstrates the two primary ways Quality Goals can be refined:

  • Refinement by Quality: A high-level goal like "Nice Trip" is refined into specific qualities like "Low Cost" and "Comfort."
  • Refinement by Subject: A goal like "Low Cost [Trip]" is further broken down into "Low Cost [Flight]" and "Low Cost [Hotel]."
Goal model for the 'Take a Nice Trip' example, illustrating refinement by quality and subject, as well as the use of Quality Constraints.

As shown in the model, the use of Priority Links (HasPriorityTo) allows stakeholders to rank their preferences. This enables the system to automatically select the best architectural alternative—such as choosing a specific flight that satisfies both cost and comfort constraints according to the traveler's priorities.

Conclusion and Future Work

By grounding NFRs in formal ontology and linking them to concrete metrics, the authors provide a path toward more precise and automated Requirements Engineering. While the framework successfully handles measurable constraints, future work remains to address highly ambiguous qualities (like "user-friendliness") and to better account for environmental context. Ultimately, this approach aims to solve the "requirements selection problem" by providing a clear, logical basis for choosing between competing system designs.

Summary updated

BibTeX
@inproceedings{li2013non,
  author = {Feng-Lin Li and Jennifer Horkoff and John Mylopoulos and Lin Liu and Alexander Borgida},
  title = {{Non-Functional Requirements Revisited}},
  booktitle = {iStar},
  year = {2013},
}
Figure