• DocumentCode
    1684058
  • Title

    Using fuzzy code search to link code fragments in discussions to source code

  • Author

    Bettenburg, Nicolas ; Thomas, Stephen W. ; Hassan, Ahamed E.

  • Author_Institution
    Software Anal. & Intell. Lab. (SAIL), Queen´´s Univ. Kingston, Kingston, ON, Canada
  • fYear
    2012
  • Firstpage
    319
  • Lastpage
    328
  • Abstract
    When discussing software, practitioners often reference parts of the project´s source code. Such references have different motivations, such as mentoring and guiding less experienced developers, pointing out code that needs changes, or proposing possible strategies for the implementation of future changes. The fact that particular parts of a source code are being discussed makes these parts of the software special. Knowing which code is being talked about the most can not only help practitioners to guide important software engineering and maintenance activities, but also act as a high-level documentation of development activities for managers. In this paper, we use clone- detection as specific instance of a code search based approach for establishing links between code fragments that are discussed by developers and the actual source code of a project. Through a case study on the Eclipse project we explore the traceability links established through this approach, both quantitatively and qualitatively, and compare fuzzy code search based traceability linking to classical approaches, in particular change log analysis and information retrieval. We demonstrate a sample application of code search based traceability links by visualizing those parts of the project that are most discussed in issue reports with a Treemap visualization. The results of our case study show that the traceability links established through fuzzy code search- based traceability linking are conceptually different than classical approaches based on change log analysis or information retrieval.
  • Keywords
    data visualisation; fuzzy set theory; information retrieval; program diagnostics; software maintenance; Eclipse project; Treemap visualization; change log analysis; clone detection; code fragments; fuzzy code search-based traceability links; high-level documentation; information retrieval; link code fragments; maintenance activities; project source code; software engineering; Europe; Software maintenance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering (CSMR), 2012 16th European Conference on
  • Conference_Location
    Szeged
  • ISSN
    1534-5351
  • Print_ISBN
    978-1-4673-0984-4
  • Type

    conf

  • DOI
    10.1109/CSMR.2012.39
  • Filename
    6178898