Abstract
A proper requirement definition phase is of a paramount importance in software engineering. It is the first and prime mean to realize efficient and reliable systems. System requirements are usually formulated and expressed in natural language, given its universality and ease of communication and writing. Unfortunately, natural language can be a source of ambiguity, complexity and omissions, which may cause system failures. Among the different approaches proposed by the software engineering community, Behavioural-Driven Development (BDD) is affirming as a valid, practical method to structure effective and non-ambiguous requirement specifications. The paper tackles with the problem of measuring requirements in BDD by assessing some traditional Natural Language Processing-related metrics with respect to a sample excerpt of requirement specification rewritten according to the BDD criteria. This preliminary assessment is made on the ERTMS-ETCS Level 3 case study whose specification, up to this date, is not managed by a standardisation body. The paper demonstrates the necessity of novel metrics able to cope with the BDD specification paradigms.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
Lower score means better results.
References
Silva, D., Gonçalves, T.G., da Rocha, A.R.C.: A requirements engineering process for IoT systems. In: Proceedings of the XVIII Brazilian Symposium on Software Quality, pp. 204–209 (2019)
North, D.: Introducing BDD (Mar 2006). http://dannorth.net/introducing-bdd/
Binamungu, L.P., Embury, S.M., Konstantinou, N.: Maintaining behaviour driven development specifications: challenges and opportunities. In: IEEE 25th SANER Conference (2018)
Solis, C., Wang, X.: A study of the characteristics of behaviour driven development. In: 2011 37th EUROMICRO Conference on Software Engineering and Advanced Applications. pp. 383–387. IEEE (2011)
Arrabito, M., Fantechi, A., Gnesi, S., Semini, L.: An experience with the application of three NLP tools for the analysis of natural language requirements. In: International Conference on the Quality of Information and Communications Technology (2020)
Vinay, S., Aithal, S., Desai, P.: An NLP based requirements analysis tool. In: International Advance Computing Conference. IEEE (2009)
Oliveira, G., Marczak, S., Moralles, C.: How to evaluate BDD scenarios’ quality? In: ACM International Conference Proceeding Series, pp. 481–490 (2019)
Campanile, L., et al.: Towards the use of generative adversarial neural networks to attack online resources. In: Web, Artificial Intelligence and Network Applications. pp. 890–901. Springer International Publishing, Cham (2020)
Marulli, F., et al.: A comparison of character and word embeddings in bidirectional LSTMs for POS tagging in Italian. In: International Conference on Intelligent Interactive Multimedia Systems and Services, pp. 14–23. Springer (2018)
Marulli, F., et al.: Exploring a federated learning approach to enhance authorship attribution of misleading information from heterogeneous sources. In: 2021 International Joint Conference on Neural Networks (IJCNN), pp. 1–8. IEEE (2021)
Marulli, F., Verde, L., Campanile, L.: Exploring data and model poisoning attacks to deep learning-based NLP systems. Procedia Computer Sci. 192, 3570–3579 (2021)
Berry, D.M., Kamsties, E., Krieger, M.: From contract drafting to software specification: Linguistic sources of ambiguity (2003)
Davis, A., et al.: Identifying and measuring quality in a software requirements specification. In: Proceedings of 1st International Software Metrics Symposium, pp. 141–152 (1993)
Gleich, B., Creighton, O., Kof, L.: Ambiguity detection: Towards a tool explaining ambiguity sources. In: 16th International Conference on Requirements Engineering: Foundation for Software Quality. Lecture Notes in Computer Science, vol. 6182, pp. 218–232 (2010)
Lami, G., Gnesi, S., Trentanni, G., Fabbrini, F., Fusani, M.: An automatic tool for the analysis of natural language requirements. Computer Syst. Sci. Eng. 20, 53–62 (2005)
Rosadini, B., et al.: Using NLP to detect requirements defects: an industrial experience in the railway domain. In: 23rd International Conference, REFSQ 2017 (2017)
Saavedra, R., Ballejos, L.C., Ale, M.A.: Requirements quality evaluation : state of the art and research challenges (2013)
Gnesi, S., Trentanni, G.: QuARS: A NLP Tool for Requirements Analysis. In: REFSQ Workshops (2019)
Génova, G., Fuentes, J.M., Morillo, J.L., Hurtado, O., Moreno, V.: A framework to measure and improve the quality of textual requirements. Require. Eng. 18, 25–41 (2011)
Arora, C., Sabetzadeh, M., Briand, L., Zimmer, F.: Automated checking of conformance to requirements templates using natural language processing. IEEE Trans. Software Eng. 41(10), 944–968 (2015)
Jurafsky, D., Martin, J.: Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition. Pearson Prentice Hall (2009)
Salton, G., McGill, M.J.: Introduction to Modern Information Retrieval. McGraw-Hill Inc., New York (1986)
Bird, S., Klein, E., Loper, E.: Natural Language Processing with Python—Analyzing Text with the Natural Language Toolkit. O’Reilly Media Inc. (2009)
Zhang, J., Nora, M.E.G.: Semantic NLP-based information extraction from construction regulatory documents for automated compliance checking. J. Comput. Civil Eng. 30 (2016)
Agac, S., Akan, Y., B.T.: Detecting and resolving referential ambiguity. In: CEUR Workshop Proceedings (2021)
Hougardy, A.: ERTMS/ETCS. System requirements specification. Chapter 5—procedures, version 3.0.0. Technical report (2008)
Group, E.E.U.: Deliverable D4.2 Moving Block Specifications Part 3—System Specification. Technical report (2020)
Nascimento, N., Santos, A., Sales, A., Chanin, R.: Behavior-driven development: an expert panel to evaluate benefits and challenges. In: ACM International Conference Proceeding Series, pp. 41–46 (2020)
Acknowledgements
The work of Maria Stella de Biase is granted by PON Ricerca e Innovazione 2014/2020 MUR—Ministero dell’Universitá e della Ricerca (Italy)—with the Ph.D. program XXXVI cycle. The work of Mariapia Raimondo is granted by INPS—Istituto Nazionale di Previdenza Sociale (Italy)—with the Ph.D. program XXXVI cycle.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Campanile, L., Biase, M.S.d., Marrone, S., Raimondo, M., Verde, L. (2022). On the Evaluation of BDD Requirements with Text-based Metrics: The ETCS-L3 Case Study. In: Czarnowski, I., Howlett, R.J., Jain, L.C. (eds) Intelligent Decision Technologies. Smart Innovation, Systems and Technologies, vol 309. Springer, Singapore. https://doi.org/10.1007/978-981-19-3444-5_48
Download citation
DOI: https://doi.org/10.1007/978-981-19-3444-5_48
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-3443-8
Online ISBN: 978-981-19-3444-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)