Abstract
Current practices in software testing such as Test Driven Development or Behavior Driven Development aim at linking code to expected behavior. In this context, code coverage is widely used to improve code quality, reduce bugs and ssure requirements satisfaction. Even if change tracking software allows finely analyzing code evolution, associating a particular code chunk to the requirements at the origin of the code modification is difficult for a large code base. In this preliminary work, we propose a new “user story coverage” metric that reports lacking requirement coverage quality, to help developers focus their efforts on enhancing unit and integration tests. We propose a methodology to compute this metric in a robust and automated fashion and evaluate its feasibility on open-source projects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Zampetti, F., Di Sorbo, A., Visaggio, C.A., Canfora, G., Di Penta, M.: Demystifying the adoption of behavior-driven development in open source projects. Inf. Softw. Technol. 123, 106311 (2020). https://doi.org/10.1016/j.infsof.2020.106311
Bach, T., Andrzejak, A., Pannemans, R., Lo, D.: The impact of coverage on bug density in a large industrial software project. In: 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), pp. 307–313 (2017)
Standard for configuration management in systems and software engineering. IEEE Standard 828–2012 (2012)
Cohn, M.: User stories applied: For agile software development. Addison-Wesley Professional (2004)
Mordinyi, R., Biffl, S.: Exploring traceability links via issues for detailed requirements coverage reports. In: 2017 IEEE 25th International Requirements Engineering Conference Workshops (REW)
Ziftci, C., Kruger, I.: Getting more from requirements traceability: requirements testing progress. In: 2013 7th International Workshop on Traceability in Emerging forms of Software Engineering (TEFSE) (2013). https://doi.org/10.1109/tefse.2013.6620148
Nugroho, Y.S., Hata, H., Matsumoto, K.: How different are different diff algorithms in git? Empirical Softw. Eng. 25(1), 790–823 (2020)
Falleri, J.-R., Morandat, F., Blanc, X., Martinez, M., Monperrus, M.: Fine-grained and accurate source code differencing. In: Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering, pp. 313–324 (2014)
Myers, E.W.: An o(ND) difference algorithm and its variations. Algorithmica 1(1), 251–266 (1986)
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 Switzerland AG
About this paper
Cite this paper
Gudin, M., Herbaut, N. (2022). Automated and Robust User Story Coverage. In: Taibi, D., Kuhrmann, M., Mikkonen, T., Klünder, J., Abrahamsson, P. (eds) Product-Focused Software Process Improvement. PROFES 2022. Lecture Notes in Computer Science, vol 13709. Springer, Cham. https://doi.org/10.1007/978-3-031-21388-5_39
Download citation
DOI: https://doi.org/10.1007/978-3-031-21388-5_39
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-21387-8
Online ISBN: 978-3-031-21388-5
eBook Packages: Computer ScienceComputer Science (R0)