Title :
Recovering traceability links between a simple natural language sentence and source code using domain ontologies
Author :
Yoshikawa, Takashi ; Hayashi, Shinpei ; Saeki, Motoshi
Author_Institution :
Dept. of Comput. Sci., Tokyo Inst. of Technol., Tokyo, Japan
Abstract :
This paper proposes an ontology-based technique for recovering traceability 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 the functional descriptions written in the form of simple sentences, the relationships between source code structures and problem domains are important. In our approach, we model the knowledge of the problem domains as domain ontologies. By using semantic relationships of the ontologies in addition to method invocation relationships and the similarity between an identifier on the code and words in the sentences, we can detect code fragments corresponding to the sentences. A case study within a domain of painting software shows that we obtained results of higher quality than without ontologies.
Keywords :
natural language processing; ontologies (artificial intelligence); program diagnostics; software maintenance; software reusability; domain ontology; functional description; method invocation; natural language sentence; ontology-based technique; product source code; software maintenance; software product; software reuse; traceability link recovery; Computer science; Documentation; Java; Natural languages; Ontologies; Open source software; Painting; Programming; Software maintenance; Software quality;
Conference_Titel :
Software Maintenance, 2009. ICSM 2009. IEEE International Conference on
Conference_Location :
Edmonton, AB
Print_ISBN :
978-1-4244-4897-5
Electronic_ISBN :
1063-6773
DOI :
10.1109/ICSM.2009.5306390