Skip to main content

Automated Quality Concerns Extraction from User Stories and Acceptance Criteria for Early Architectural Decisions

  • Conference paper
  • First Online:
Software Architecture (ECSA 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14889))

Included in the following conference series:

  • 692 Accesses

Abstract

User stories serve as a fundamental tool in agile software development methodologies, articulating the functional requirements of a system from an end-user perspective. However, while user stories are crucial for capturing the desired features and functionalities, they frequently overlook the non-functional aspects critical to the system’s success. Despite their paramount importance, these quality concerns often remain implicit or underrepresented in user stories, necessitating a deliberate effort to extract them during the elicitation and architectural analysis phases. Failure to address these quality concerns upfront may lead to poor architectural decisions. Consequently, this oversight may result in sub-optimal system designs, increased development costs, delayed time-to-market, diminished user satisfaction, and increased operational risks. This paper presents an ISO-25010 compliant Transfer Learning approach for automated quality concerns extraction from user stories and corresponding acceptance criteria. The proposed solution is constructed upon the Transformer-based RoBERTa-Large model, leveraging and extending its pre-trained capabilities. This approach proficiently classifies user stories and acceptance criteria into 5 most critical user quality concerns including Usability, Performance, Reliability, Security, and Compatibility. This process involves cleaning and preprocessing the dataset followed by fine-tuning the pre-trained models on the refined data set. A comparative analysis of the Three mainstream BERT variants including RoBERTa-base, DistilBERT and XLNET is also provided. Considering the non-availability of public data sets in this scope, a dataset of approximately 1000 user stories with acceptance criteria was compiled from diverse sources and real-world projects. This dataset was subsequently labeled through an extensive labeling activity. The findings suggest that the RoBERTa-Large fine-tuned variant achieves an impressive level of performance in terms of accuracy, precision, recall and Avg F1 score.

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Pokharel, P., Vaidya, P.: A study of user story in practice. In: 2020 International Conference on Data Analytics for Business and Industry: Way Towards a Sustainable Economy (ICDABI), pp. 1–5 (2020)

    Google Scholar 

  2. Abrahamsson, P., Fronza, I., Moser, R., Vlasenko, J., Pedrycz, W.: Predicting development effort from user stories. In: 2011 International Symposium on Empirical Software Engineering and Measurement, pp. 400–403 (2011)

    Google Scholar 

  3. Popli, R., Chauhan, N., Sharma, H.: Prioritising user stories in agile environment. In: 2014 International Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT), pp. 515–519 (2014)

    Google Scholar 

  4. Kustiawan, Y.A., Lim, T.Y.: User stories in requirements elicitation: a systematic literature review. In: 2023 IEEE 8th International Conference on Software Engineering and Computer Systems (ICSECS), pp. 211–216 (2023)

    Google Scholar 

  5. Siahaan, D., Raharjana, I.K., Fatichah, C.: User story extraction from natural language for requirements elicitation: identify software-related information from online news. Inf. Softw. Technol. 158, 107195 (2023)

    Article  Google Scholar 

  6. Tovar Onofre, M.Á., Camargo, J.E.: Automatic class extraction from Spanish text of user stories using natural language processing. In: Narváez, F.R., Urgilés, F., Bastos-Filho, T.F., Salgado-Guerrero, J.P. (eds.) SmartTech-IC 2022. CCIS, vol. 1705, pp. 33–47. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-32213-6_3

    Chapter  Google Scholar 

  7. Yuhana, U.L., Rochimah, S., et al.: Identification of conflicts in user story requirements using the clustering algorithm. In: 2022 International Conference on Computer Engineering, Network, and Intelligent Multimedia (CENIM), pp. 1–5. IEEE (2022)

    Google Scholar 

  8. Veitía, F.J.P., Roldán, L., Vegetti, M.: User stories identification in software’s issues records using natural language processing. In: 2020 IEEE Congreso Bienal de Argentina (ARGENCON), pp. 1–7. IEEE (2020)

    Google Scholar 

  9. Ahmed, M., Khan, S.U.R., Alam, K.A.: An NLP-based quality attributes extraction and prioritization framework in agile-driven software development. Autom. Softw. Eng. 30(1), 7 (2023)

    Article  Google Scholar 

  10. Gilson, F., Galster, M., Georis, F.: Extracting quality attributes from user stories for early architecture decision making. In: 2019 IEEE International Conference on Software Architecture Companion (ICSA-C), pp. 129–136 (2019)

    Google Scholar 

  11. Devlin, J., Chang, M.-W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)

  12. Škorić, M., Utvić, M., Stanković, R.: Transformer-based composite language models for text evaluation and classification. Mathematics 11(22) (2023)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Khubaib Amjad Alam .

Editor information

Editors and Affiliations

Ethics declarations

Data Availibility

The data that supports the findings of the current study, are available from the corresponding author upon reasonable request.

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Alam, K.A., Asif, H., Inayat, I., Khan, SUR. (2024). Automated Quality Concerns Extraction from User Stories and Acceptance Criteria for Early Architectural Decisions. In: Galster, M., Scandurra, P., Mikkonen, T., Oliveira Antonino, P., Nakagawa, E.Y., Navarro, E. (eds) Software Architecture. ECSA 2024. Lecture Notes in Computer Science, vol 14889. Springer, Cham. https://doi.org/10.1007/978-3-031-70797-1_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-70797-1_24

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-70796-4

  • Online ISBN: 978-3-031-70797-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics