[论文解读] Are "non-functional" requirements really non-functional?: an investigation of non-functional requirements in practice
本文通过分析11个工业规格中的530个非功能性需求(NFRs),调查非功能性需求是否真正‘非功能性’。研究发现,大多数NFRs描述的是系统行为而非抽象质量,表明在实践中应将它们与功能性需求同等对待。
Non-functional requirements (NFRs) are commonly distinguished from functional requirements by differentiating how the system shall do something in contrast to what the system shall do. This distinction is not only prevalent in research, but also influences how requirements are handled in practice. NFRs are usually documented separately from functional requirements, without quantitative measures, and with relatively vague descriptions. As a result, they remain difficult to analyze and test. Several authors argue, however, that many so-called NFRs actually describe behavioral properties and may be treated the same way as functional requirements. In this paper, we empirically investigate this point of view and aim to increase our understanding on the nature of NFRs addressing system properties. We report on the classification of 530 NFRs extracted from 11 industrial requirements specifications and analyze to which extent these NFRs describe system behavior. Our results suggest that most requirements are not non-functional as they describe behavior of a system. Consequently, we argue that many so-called NFRs can be handled similarly to functional requirements.
研究动机与目标
- 调查所谓的非功能性需求(NFRs)是否真正‘非功能性’,或是否描述了系统行为。
- 了解NFRs在实际工业需求规格中如何被分类和记录。
- 评估NFRs在行为内容方面在多大程度上可被视同于功能性需求。
- 挑战软件开发实践中将NFRs与功能性需求传统分离的做法。
提出的方法
- 从11份工业软件需求规格中提取了530个非功能性需求。
- 根据需求是否描述系统行为或非功能性质量,对每个需求进行分类。
- 分析每个需求的语言结构和语义内容,以确定其行为性与非行为性特征。
- 采用定性与定量分析方法,评估描述可观测或可测试行为的NFRs所占比例。
- 应用分类框架,以区分行为性NFRs与传统非功能性质量(如性能、安全性等)。
实验结果
研究问题
- RQ1非功能性需求在多大程度上描述系统行为而非抽象质量?
- RQ2非功能性需求在工业实践中通常如何记录,其描述的常见特征是什么?
- RQ3是否有一部分非功能性需求可重新归类为行为性需求,从而视同于功能性需求处理?
- RQ4许多NFRs具有行为性质,这对需求工程实践有何影响?
主要发现
- 在分析的530个非功能性需求中,大多数描述的是系统行为而非性能或可靠性等抽象质量。
- 许多传统上被标记为非功能性的需求实际上指定了可观测或可测试的行为,如响应时间或错误处理。
- 在实践中,功能性需求与非功能性需求之间的界限往往模糊,因为许多NFRs描述了系统在特定条件下的行为。
- 研究结果表明,将这些行为性NFRs视同于功能性需求处理,可提高其可测试性和在软件开发中的可分析性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。