Linguistic Patterns, Styles, and Guidelines for Writing Requirements Specifications: Focus on Use Cases and Scenarios
Open Access
- 14 October 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 143506-143530
Abstract
A system requirements specification is a technical document extensively used during the respective system life cycle. It gathers the concerns and needs of various stakeholders, describes the common vision of that system, and therefore supports its development and operation processes. The popular form to write requirements specifications is with natural languages that, however, exhibit characteristics that often introduce quality problems, such as inconsistency, incompleteness, and vagueness, which shall be mitigated or avoided to some extent. This paper is part of a series of papers that have discussed linguistic patterns and linguistic styles to produce technical documentation more systematically and consistently. Specifically, this paper proposes a cohesive set of patterns and styles to better write use cases and scenarios. It also presents 38 practical guidelines and supports the discussion with concrete pedagogical examples represented with different styles, namely: visual use cases diagram (UML), a rigorous requirements specification language (RSL), and two informal controlled natural languages, one with a compact (CNL-A) and another with a more complete and verbose writing style (CNL-B). We conducted a pilot evaluation session with 24 subjects who provided encouraging feedback, with positive scores in all the analyzed dimensions. Based on this feedback, we may conclude that the adoption of these patterns, styles, and guidelines would help to produce better requirements specifications, written more systematically and consistently.Keywords
Funding Information
- Portuguese Fundação para a Ciência e a Tecnologia (UIDB/50021/2020, 02/SAICT/2017/29360)
This publication has 32 references indexed in Scilit:
- An Experience with the Application of Three NLP Tools for the Analysis of Natural Language Requirements2020
- From Requirements to Automated Acceptance Tests with the RSL Language2020
- Key Challenges in Agile Requirements Engineering2017
- Bridging User Story Sets with the Use Case Model2016
- Improving agile requirements: the Quality User Story framework and toolRequirements Engineering, 2016
- Unifying and Extending User Story Models2014
- Identifying Combinatorial Effects in Requirements Engineering2013
- Use Case-Based Effort Estimation Approaches: A Comparison CriteriaCommunications in Computer and Information Science, 2011
- Attempto Controlled English for Knowledge Representation2008
- A Scenario Construction ProcessRequirements Engineering, 2000