Skip to main content

Automated and Robust User Story Coverage

  • Conference paper
  • First Online:
Product-Focused Software Process Improvement (PROFES 2022)

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

  • 1439 Accesses

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Notes

  1. 1.

    https://github.com/nh-group/dextorm.

References

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

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

    Google Scholar 

  3. Standard for configuration management in systems and software engineering. IEEE Standard 828–2012 (2012)

    Google Scholar 

  4. Cohn, M.: User stories applied: For agile software development. Addison-Wesley Professional (2004)

    Google Scholar 

  5. Mordinyi, R., Biffl, S.: Exploring traceability links via issues for detailed requirements coverage reports. In: 2017 IEEE 25th International Requirements Engineering Conference Workshops (REW)

    Google Scholar 

  6. 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

  7. Nugroho, Y.S., Hata, H., Matsumoto, K.: How different are different diff algorithms in git? Empirical Softw. Eng. 25(1), 790–823 (2020)

    Google Scholar 

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

    Google Scholar 

  9. Myers, E.W.: An o(ND) difference algorithm and its variations. Algorithmica 1(1), 251–266 (1986)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nicolas Herbaut .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 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

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)

Publish with us

Policies and ethics