@sjbutler

Sentence-to-Code Traceability Recovery with Domain Ontologies

, , and . Software Engineering Conference (APSEC), 2010 17th Asia Pacific, page 385 -394. (30 2010-dec. 3 2010)

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.

Links and resources

Tags

community

  • @sjbutler
  • @dblp
@sjbutler's tags highlighted