Skip to main content

Visualizing Multilevel Test-to-Code Relations

  • Conference paper
  • First Online:
Information and Communication Technology and Applications (ICTA 2020)

Abstract

The test-to-code traceability (TCT) links play an important role in the process of software maintenance and re-engineering. However, the main issue is how to visualize these links efficiently and effectively to support the comprehension and maintenance of these links. In this work, a visualization approach is presented that displays the TCT links in two levels, class-level, and method level. Visualization traceability links at a method-level provide detailed information of the traceability links that support the development of software in different tasks such as, software maintenance, refactoring, and change impact analysis. The visualization approach is implemented using our visualization tool namely TCTracVis. The presented tool is evaluated on a real simple project and the achieved results confirm that the proposed approach and tool are efficient to support several tasks in software development.

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.

    Integrated Technology Group (ITG) https://github.com/rayyad79/HRSystem.git.

References

  1. Winkler, S., von Pilgrim, J.: A survey of traceability in requirements engineering and model-driven development. Softw. Syst. Model. 9(4), 529–565 (2010)

    Article  Google Scholar 

  2. Roman, G.-C., Cox, K.C.: Program visualization: the art of mapping programs to pictures. In: Proceedings of the 14th International Conference on Software Engineering (1992)

    Google Scholar 

  3. Qusef, A., et al.: Scotch: slicing and coupling based test to code trace hunter. In: 2011 18th Working Conference on Reverse Engineering. IEEE (2011)

    Google Scholar 

  4. Csuvik, V., Kicsi, A., Vidács, L.: Evaluation of textual similarity techniques in code level traceability. In: Misra, S. (ed.) ICCSA 2019. LNCS, vol. 11622, pp. 529–543. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-24305-0_40

    Chapter  Google Scholar 

  5. Csuvik, V., Kicsi, A., Vidács, L.: Source code level word embeddings in aiding semantic test-to-code traceability. In: 2019 IEEE/ACM 10th International Symposium on Software and Systems Traceability (SST). IEEE (2019)

    Google Scholar 

  6. Qusef, A., et al.: Recovering test-to-code traceability using slicing and textual analysis. J. Syst. Softw. 88, 147–168 (2014)

    Article  Google Scholar 

  7. Ghafari, M., Ghezzi, C., Rubinov, K.: Automatically identifying focal methods under test in unit test cases. In: 2015 IEEE 15th International Working Conference on Source Code Analysis and Manipulation (SCAM). IEEE (2015)

    Google Scholar 

  8. Hurdugaci, V., Zaidman, A.: Aiding software developers to maintain developer tests. In: 2012 16th European Conference on Software Maintenance and Reengineering. IEEE (2012)

    Google Scholar 

  9. White, R., Krinke, J., Tan, R.: Establishing multilevel test-to-code traceability links. In: 42nd International Conference on Software Engineering (ICSE 2020). ACM (2020)

    Google Scholar 

  10. Koschke, R.: Software visualization in software maintenance, reverse engineering, and re-engineering: A research survey. J. Softw. Maintenance Evol. Res. Pract. 15(2), 87–109 (2003)

    Article  Google Scholar 

  11. Parizi, R.M., Lee, S.P., Dabbagh, M.: Achievements and challenges in state-of-the-art software traceability between test and code artifacts. IEEE Trans. Reliab. 63(4), 913–926 (2014)

    Article  Google Scholar 

  12. De Lucia, A., et al.: Adams re-trace: a traceability recovery tool. In: Ninth European Conference on Software Maintenance and Reengineering. IEEE (2005)

    Google Scholar 

  13. Cleland-Huang, J., et al.: Best practices for automated traceability. Computer 40(6), 27–35 (2007)

    Article  Google Scholar 

  14. Chen, X., Hosking, J., Grundy, J., Amor, R.: DCTracVis: a system retrieving and visualizing traceability links between source code and documentation. Autom. Softw. Eng. 25(4), 703–741 (2018). https://doi.org/10.1007/s10515-018-0243-8

    Article  Google Scholar 

  15. Merten, T., Jüppner, D., Delater, A.: Improved representation of traceability links in requirements engineering knowledge using Sunburst and Netmap visualizations. In: 2011 4th International Workshop on Managing Requirements Knowledge. IEEE (2011)

    Google Scholar 

  16. Van Rompaey, B., Demeyer, S.: Establishing traceability links between unit test cases and units under test. In: 2009 13th European Conference on Software Maintenance and Reengineering. IEEE (2009)

    Google Scholar 

  17. Aljawabrah, N., Qusef, A.: TCTracVis: test-to-code links visualization tool. In: Proceedings of the Second International Conference on Data Science, E-Learning and Information Systems, pp. 1–4 (2019)

    Google Scholar 

  18. Li, Y., Maalej, W.: Which traceability visualization is suitable in this context? A comparative study. In: Regnell, B., Damian, D. (eds.) REFSQ 2012. LNCS, vol. 7195, pp. 194–210. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-28714-5_17

    Chapter  Google Scholar 

  19. Meedeniya, D.A., Rubasinghe, I.D., Perera, I.: Traceability establishment and visualization of software artefacts in DevOps practice: a survey. Int. J. Adv. Comput. Sci. Appl. (IJACSA) 10(7), 66–76 (2019)

    Google Scholar 

  20. Gergely, T., Balogh, G., Horváth, F., Vancsics, B., Beszédes, Á., Gyimóthy, T.: Differences between a static and a dynamic test-to-code traceability recovery method. Software Qual. J. 27(2), 797–822 (2018). https://doi.org/10.1007/s11219-018-9430-x

    Article  Google Scholar 

  21. Aljawabrah, N., Gergely, T., Kharabsheh, M.: Understanding test-to-code traceability links: the need for a better visualizing model. In: Misra, S. (ed.) ICCSA 2019. LNCS, vol. 11622, pp. 428–441. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-24305-0_32

    Chapter  Google Scholar 

  22. Kamalabalan, K., et al.: Tool support for traceability of software artifacts. In: 2015 Moratuwa Engineering Research Conference (MERCon). IEEE (2015)

    Google Scholar 

  23. Klochkov, Y., et al.: Classifiers of nonconformities in norms and requirements. In: 2016 5th International Conference on Reliability, Infocom Technologies, and Optimization (Trends and Future Directions) (ICRITO). IEEE (2016)

    Google Scholar 

  24. Kugele, S., Antkowiak, D.: Visualization of trace links and change impact analysis. In: 2016 IEEE 24th International Requirements Engineering Conference Workshops (REW). IEEE (2016)

    Google Scholar 

  25. Singhal, S., Suri, B., Misra, S.: An empirical study of regression test suite reduction using MHBG_TCS tool. In: Proceedings of International Conference on Computing Networking and Informatics (ICCNI), pp. 1–5, October 2017

    Google Scholar 

  26. Misra, S., Adewumi, A., Maskeliūnas, R., Damaševičius, R., Cafer, F.: Unit testing in global software development environment. In: Panda, B., Sharma, S., Roy, N.R. (eds.) REDSET 2017. CCIS, vol. 799, pp. 309–317. Springer, Singapore (2018). https://doi.org/10.1007/978-981-10-8527-7_25

    Chapter  Google Scholar 

  27. Rodrigues, A., Lencastre, M., Gilberto Filho, A.D.A.: Multi-VisioTrace: traceability visualization tool. In: 2016 10th International Conference on the Quality of Information and Communications Technology (QUATIC), pp. 61–66. IEEE (2016)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nadera Aljawabrah .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Aljawabrah, N., Qusef, A., Gergely, T., Pati, A. (2021). Visualizing Multilevel Test-to-Code Relations. In: Misra, S., Muhammad-Bello, B. (eds) Information and Communication Technology and Applications. ICTA 2020. Communications in Computer and Information Science, vol 1350. Springer, Cham. https://doi.org/10.1007/978-3-030-69143-1_39

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-69143-1_39

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-69142-4

  • Online ISBN: 978-3-030-69143-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics