Recovering traceability links between code and documentation
Giuliano Antoniol, Gerardo Canfora, Gerardo Casazza et al. · IEEE Transactions on Software Engineering · 2002
Software system documentation is almost always expressed informally in natural language and free text. Examples include requirement specifications, design documents, manual pages, system development journals, error logs, and related maintenance reports. We propose a method based on information retrieval to recover traceability links between source code and free text documents. A premise of our work is that programmers use meaningful names for program items, such as functions, variables, types, classes, and methods. We believe that the application-domain knowledge that programmers process when writing the code is often captured by the mnemonics for identifiers; therefore, the analysis of these mnemonics can help to associate high-level concepts with program concepts and vice-versa. We apply both a probabilistic and a vector space information retrieval model in two case studies to trace C++ source code onto manual pages and Java code to functional requirements. We compare the results of applying the two models, discuss the benefits and limitations, and describe directions for improvements.
Cited by 967 works. doi:10.1109/tse.2002.1041053
Authors
References
- Elements of Information Theory
- Introduction to Algorithms
- Term-weighting approaches in automatic text retrieval
- Information Retrieval: Data Structures and Algorithms
- Algorithms on Strings, Trees and Sequences
- Algorithms on strings, trees, and sequences computer science and computational biology
- Algorithms on strings, trees, and sequences
- Elements of Information Theory
- Reverse engineering and design recovery: a taxonomy
- gIBIS: a hypertext tool for exploratory policy discussion