Bachelor thesis
Cite …

Guided Exploration and Visualization of Trace Links in Visual Studio Code

Abstract

Modern software systems rely on numerous interconnected artifacts: requirements, documentation, models, and code. Traceability links between these artifacts support comprehension, maintenance, and onboarding of new personnel. While automated Trace Link Recovery (TLR) approaches such as ARDoCo and LiSSA can generate these links, developers rarely use them effectively because they are not integrated into their daily development environment and workflows.

This thesis introduces trace-viz, a Visual Studio Code extension that integrates automatically generated or imported trace links directly into the IDE. The extension supports multiple trace visualization modes like sentence-to-file. It enables interactive exploration of trace links through inline markers, context tooltips and quick navigation. Trace-viz was developed to have a modular and expandable architecture.

A think-aloud evaluation using software comprehension tasks showed that trace-viz improves developers efficiency and accuracy when working with trace links. Participants reported lower navigation effort, better understanding of artifact relationships, increased confidence identifying relevant files and were able to save time with their task. Compared to using trace links in raw CSV format, the extension led to more consistent task completion and reduced cognitive load.

The results demonstrate that embedding trace-link visualization directly into the IDE provides meaningful support for software tasks, comprehension and maintenance. Trace-viz successfully bridges the gap between automated TLR approaches and real-world developer workflows. Future work should include expanding visualization methods and conducting broader evaluations across diverse project types.