Sentence-to-Code Traceability Recovery with Domain Ontologies

  • Authors:
  • Shinpei Hayashi;Takashi Yoshikawa;Motoshi Saeki

  • Affiliations:
  • -;-;-

  • Venue:
  • APSEC '10 Proceedings of the 2010 Asia Pacific Software Engineering Conference
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose an ontology-based technique for recovering trace ability links between a natural language sentence specifying features of a software product and the source code of the product. Some software products have been released without detailed documentation. To automatically detect code fragments associated with sentences describing a feature, the relations between source code structures and problem domains are important. We model the knowledge of the problem domains as domain ontologies having concepts of the domains and their relations. Using semantic relations on the ontologies in addition to method invocation relations and the similarity between an identifier on the code and words in the sentences, we locate the code fragments corresponding to the given sentences. Additionally, our prioritization mechanism which orders the located results of code fragments based on the ontologies enables users to select and analyze the results effectively. To show effectiveness of our approach in terms of accuracy, a case study was carried out with our proof-of-concept tool and summarized.