期刊名称:International Journal of Software Engineering & Applications (IJSEA)
印刷版ISSN:0976-2221
电子版ISSN:0975-9018
出版年度:2015
卷号:6
期号:6
页码:13
出版社:Academy & Industry Research Collaboration Center (AIRCC)
摘要:One major problem in maintaining a software system is to understand how many functional features in thesystem and how these features are implemented. In this paper a novel approach for locating features incode by semantic and dynamic analysis is proposed. The method process consists of three steps: The firstuses the execution traces as text corpus and the method calls involved in the traces as terms of document.The second ranks the method calls in order to filter out omnipresent methods by setting a threshold. Andthe third step treats feature-traces as first class entities and extracts identifiers from the rest method sourcecode and a trace-by-identifier matrix is generated. Then a semantic analysis model-LDA is applied on thematrix to extract topics, which act as functional features. Through building several correspondingmatrices, the relations between features and code can be obtained for comprehending the system functionalintents. A case study is presented and the execution results of this approach can be used to guide futureresearch.