Nothing Special   »   [go: up one dir, main page]

Skip to main content

On the Evaluation of BDD Requirements with Text-based Metrics: The ETCS-L3 Case Study

  • Conference paper
  • First Online:
Intelligent Decision Technologies

Part of the book series: Smart Innovation, Systems and Technologies ((SIST,volume 309))

  • 424 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 379.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://github.com/wyounas/homer.

  2. 2.

    https://www.nltk.org.

  3. 3.

    https://universaldependencies.org/u/pos/.

  4. 4.

    https://scipy.github.io/devdocs/tutorial/optimize.html.

  5. 5.

    https://projects.shift2rail.org/s2r_ip2_n.aspx?p=X2RAIL-3.

  6. 6.

    http://www.astrail.eu/.

  7. 7.

    https://www.performingrail.com/.

  8. 8.

    https://www.blinn.edu/writing-centers/handouts-and-worksheets.html.

  9. 9.

    Lower score means better results.

References

  1. 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)

    Google Scholar 

  2. North, D.: Introducing BDD (Mar 2006). http://dannorth.net/introducing-bdd/

  3. Binamungu, L.P., Embury, S.M., Konstantinou, N.: Maintaining behaviour driven development specifications: challenges and opportunities. In: IEEE 25th SANER Conference (2018)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. Vinay, S., Aithal, S., Desai, P.: An NLP based requirements analysis tool. In: International Advance Computing Conference. IEEE (2009)

    Google Scholar 

  7. Oliveira, G., Marczak, S., Moralles, C.: How to evaluate BDD scenarios’ quality? In: ACM International Conference Proceeding Series, pp. 481–490 (2019)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Article  Google Scholar 

  12. Berry, D.M., Kamsties, E., Krieger, M.: From contract drafting to software specification: Linguistic sources of ambiguity (2003)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. Rosadini, B., et al.: Using NLP to detect requirements defects: an industrial experience in the railway domain. In: 23rd International Conference, REFSQ 2017 (2017)

    Google Scholar 

  17. Saavedra, R., Ballejos, L.C., Ale, M.A.: Requirements quality evaluation : state of the art and research challenges (2013)

    Google Scholar 

  18. Gnesi, S., Trentanni, G.: QuARS: A NLP Tool for Requirements Analysis. In: REFSQ Workshops (2019)

    Google Scholar 

  19. 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)

    Article  Google Scholar 

  20. 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)

    Article  Google Scholar 

  21. Jurafsky, D., Martin, J.: Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition. Pearson Prentice Hall (2009)

    Google Scholar 

  22. Salton, G., McGill, M.J.: Introduction to Modern Information Retrieval. McGraw-Hill Inc., New York (1986)

    MATH  Google Scholar 

  23. Bird, S., Klein, E., Loper, E.: Natural Language Processing with Python—Analyzing Text with the Natural Language Toolkit. O’Reilly Media Inc. (2009)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. Agac, S., Akan, Y., B.T.: Detecting and resolving referential ambiguity. In: CEUR Workshop Proceedings (2021)

    Google Scholar 

  26. Hougardy, A.: ERTMS/ETCS. System requirements specification. Chapter 5—procedures, version 3.0.0. Technical report (2008)

    Google Scholar 

  27. Group, E.E.U.: Deliverable D4.2 Moving Block Specifications Part 3—System Specification. Technical report (2020)

    Google Scholar 

  28. 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)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Stefano Marrone .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics