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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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)
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)
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)
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)
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)
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
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)
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)
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)
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)
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)
Škorić, M., Utvić, M., Stanković, R.: Transformer-based composite language models for text evaluation and classification. Mathematics 11(22) (2023)
Author information
Authors and Affiliations
Corresponding author
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
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)