Abstract
The traceability links among software artifacts plays a very important role for the maintenance of consistency in the evolution of software product lines. This paper introduces an improved approach to the recovery of traceability information between requirement documents and source codes based on Latent Semantic Indexing (LSI) and the special features of object-oriented source codes. In order to obtain accurate traceability links, it employs the hierarchical information caused by the inheritance relationship among classes and recovers the traceability links using class clusters. Moreover, it assigns different weights for the terms in source codes according to their degrees of correlation to the documents. The case demonstrates the improved approach, and the experimental results show that it can increase the extraction precision by 3%~6%, compared with that based on the traditional LSI.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Dit, B., Revelle, M., Gethers, M., Poshyvanyk, D.: Feature location in source code: a taxonomy and survey. Journal of Software Maintenance and Evolution: Research and Practice 25(1), 53–95 (2013)
Marcus, A., Maletic, J.I., Sergeyev, A.: Recovery of Traceability Links between Software Documentation and Source Code. Int’l Journal of Software Engineering and Knowledge Engineering 15(4), 811–836 (2005)
Tai, X.Y.: Introduction to Information Retrieval Technology. Science and Technology (2006)
Antioniol, G., Canfora, G., Casazza, G., Lucia, A.D., Merlo, E.: Recovering Traceability Links between Code and Documentation. IEEE Trans. J. Soft. Eng. 28(10), 970–983 (2002)
Hayes, J.H., Dekhtyar, A., Osborne, J.: Improving Requirement Tracing via Information Retrieval. In: 11th IEEE Int’l Conf. Requirements Engineering, pp. 138–147 (2003)
Cleland-Huang, J., Settimi, R., Duan, C., Zou, X.C.: Utilizing Supporting Evidence to Improve Dynamic Requirements Traceability. In: 13th IEEE Int’l Conf. Requirements Engineering, pp. 135–144 (2005)
Marcus, A., Maletic, J.I.: Recovering Documentation to Source Code Traceability Links Using Latent Semantic Indexing. In: 25th Int’l Conf. Software Engineering, pp. 125–135 (2003)
Yin, L., Juan, L., Shu, L.M.: Research on Dynamic Requirement Traceability Method and Traces Precision. Journal of Software 20(2), 177–192 (2009)
Zeimpekis, D., Gallopoulos, E.: Design of a Matlab Toolbox for Term-Document Matrix Generation. In: Workshop on Clustering High Dimensional Data and Its Applications, pp. 38–48 (2005)
Zou, X., Settimi, R., Cleland-Huang, J.: Improving Automated Requirements Trace Retrieval: a Study of Term-based Enhancement Methods. Empirical Software Engineering 15(2) (2010)
Abadi, A., Oliveto, R., Tortora, G.: Assessing IR-based Traceability Recovery Tools through Controlled Experiment. Empirical Software Engineering 14(1), 57–92 (2009)
Bacchelli, A., Lanza, M., Robbes, R.: Linking e-mails and Source Code Artifacts. In: 32nd ACM/IEEE Int’l Conf. Software Engineering., vol. 1, pp. 375–384 (2010)
Gueheneuc, Y.G., Marcus, A., Antoniol, G., Rajlich, V.: Feature Location Using Probabilistic Ranking of Methods based on Execution Scenarios and Information Retrieval. IEEE Trans. J. Software Engineering 33(6), 420–432 (2007)
Lucia, A.D., Penta, M.D., Oliveto, R., Panichella, A., Panichella, S.: Improving IR-based Traceability Recovery Using Smoothing Filters. In: 19th Int’l Conf. Program Comprehension, pp. 21–30 (2011)
Capobianco, G., Lucia, A.D., Oliveto, R., Panichella, A., Panichella, S.: On the Role of the Nouns in IR-based Traceability Recovery. In: 17th Int’l Conf. Program Comprehension, pp. 148–157 (2009)
Yu, D., Yan, D.: Crosscutting concerns identifying based on execution patterns and fan-in analysis. Journal of Huazhong University of Science and Technology (Natural Science Edition) 40(1), 45–48 (2012)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Shao, J., Wu, W., Geng, P. (2013). An Improved Approach to the Recovery of Traceability Links between Requirement Documents and Source Codes Based on Latent Semantic Indexing. In: Murgante, B., et al. Computational Science and Its Applications – ICCSA 2013. ICCSA 2013. Lecture Notes in Computer Science, vol 7975. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39640-3_40
Download citation
DOI: https://doi.org/10.1007/978-3-642-39640-3_40
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-39639-7
Online ISBN: 978-3-642-39640-3
eBook Packages: Computer ScienceComputer Science (R0)