White, R;
Krinke, J;
Tan, R;
(2020)
Establishing Multilevel Test-to-Code Traceability Links.
In:
ICSE '20: Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering.
(pp. pp. 861-872).
ACM: Seoul, Korea.
Preview |
Text
icse20.pdf - Accepted Version Download (747kB) | Preview |
Abstract
Test-to-code traceability links model the relationships between test artefacts and code artefacts. When utilised during the development process, these links help developers to keep test code in sync with tested code, reducing the rate of test failures and missed faults. Test-to-code traceability links can also help developers to maintain an accurate mental model of the system, reducing the risk of architectural degradation when making changes. However, establishing and maintaining these links manually places an extra burden on developers and is error-prone. This paper presents TCtracer, an approach and implementation for the automatic establishment of test-to-code traceability links. Unlike existing work, TCtracer operates at both the method level and the class level, allowing us to establish links between tests and functions, as well as between test classes and tested classes. We improve over existing techniques by combining an ensemble of new and existing techniques and exploiting a synergistic flow of information between the method and class levels. An evaluation of TCtracer using four large, well-studied open source systems demonstrates that, on average, we can establish test-to-function links with a mean average precision (MAP) of 78% and test-class-to-class links with an MAP of 93%.
Type: | Proceedings paper |
---|---|
Title: | Establishing Multilevel Test-to-Code Traceability Links |
Event: | 42nd International Conference on Software Engineering |
Location: | Seoul, Republic of Korea |
Dates: | 23 May 2020 - 29 May 2020 |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1145/3377811.3380921 |
Publisher version: | https://doi.org/10.1145/3377811.3380921 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Chemical Engineering UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10091100 |
Archive Staff Only
View Item |