Title :
Sentence-to-Code Traceability Recovery with Domain Ontologies
Author :
Hayashi, Shinpei ; Yoshikawa, Takashi ; Saeki, Motoshi
Author_Institution :
Dept. of Comput. Sci., Tokyo Inst. of Technol., Tokyo, Japan
fDate :
Nov. 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.
Keywords :
natural language processing; ontologies (artificial intelligence); semantic Web; source coding; text analysis; code fragments; natural language sentence specifying features; ontology-based technique; prioritization mechanism; proof-of- concept tool; semantic relations; sentence-to-code traceability recovery; software product; source code; traceability links; domain ontology; feature location; traceability;
Conference_Titel :
Software Engineering Conference (APSEC), 2010 17th Asia Pacific
Conference_Location :
Sydney, NSW
Print_ISBN :
978-1-4244-8831-5
Electronic_ISBN :
1530-1362
DOI :
10.1109/APSEC.2010.51