DocumentCode :
3450483
Title :
Facilitating program comprehension by mining association rules from source code
Author :
Tjortjis, Christos ; Sinos, Loukas ; Layzell, Paul
Author_Institution :
Dept. of Comput., Univ. of Manchester Inst. of Sci. & Technol., UK
fYear :
2003
fDate :
10-11 May 2003
Firstpage :
125
Lastpage :
132
Abstract :
Program comprehension is an important part of software maintenance, especially when program structure is complex and documentation is unavailable or outdated. Data mining can produce structural views of source code thus facilitating legacy systems understanding. This paper presents a method for mining association rules from code aiming at capturing program structure and achieving better system understanding. A tool was implemented to assess this method. It inputs data extracted from code and derives association rules. Rules are then processed to abstract programs into groups containing interrelated entities. Entities are grouped together if their attributes participate in common rules. The abstraction is performed at the function level, in contrast to other approaches, that work at the program level. The method was evaluated using real, working programs. Programs are fed into a code analyser which produces the input needed for the mining tool. Results show that the method facilitates program comprehension by only using source code where domain knowledge and reliable documentation are not available or reliable.
Keywords :
data mining; reverse engineering; software maintenance; association rule mining; data mining; function level; interrelated entities; legacy systems understanding; program comprehension; program structure; software maintenance; source code; structural views; system understanding; Algorithm design and analysis; Association rules; Data mining; Documentation; Guidelines; Performance analysis; Software maintenance; Software performance; Software tools; Spatial databases;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Program Comprehension, 2003. 11th IEEE International Workshop on
ISSN :
1092-8138
Print_ISBN :
0-7695-1883-4
Type :
conf
DOI :
10.1109/WPC.2003.1199196
Filename :
1199196
Link To Document :
بازگشت