Skip to main content

An Improved Approach to the Recovery of Traceability Links between Requirement Documents and Source Codes Based on Latent Semantic Indexing

  • Conference paper
Computational Science and Its Applications – ICCSA 2013 (ICCSA 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7975))

Included in the following conference series:

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.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. IBM, http://www-306.ibm.com/software/awdtools/reqpro/

  4. IBM, http://www.teleogic.com/index.cfm

  5. Tai, X.Y.: Introduction to Information Retrieval Technology. Science and Technology (2006)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. Yin, L., Juan, L., Shu, L.M.: Research on Dynamic Requirement Traceability Method and Traces Precision. Journal of Software 20(2), 177–192 (2009)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Google Scholar 

  13. Abadi, A., Oliveto, R., Tortora, G.: Assessing IR-based Traceability Recovery Tools through Controlled Experiment. Empirical Software Engineering 14(1), 57–92 (2009)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics