DocumentCode
2110655
Title
Efficient and Accurate Software Pattern Detection
Author
Pettersson, Niklas ; Löwe, Welf
Author_Institution
Sch. of Math. & Syst. Eng., Vaxjo Univ., Vaxjo
fYear
2006
fDate
6-8 Dec. 2006
Firstpage
317
Lastpage
326
Abstract
Pattern detection is part of many solutions to software engineering problems. Unfortunately, it is a hard problem in itself in both theory and practice. Both exact and approximative approaches have been used earlier to increase efficiency. We propose a novel method to improve the performance of pattern detection, which is in many cases both exact and efficient. It is based on the idea of filtering information from the program representation (graphs), which is unnecessary for detecting a particular pattern. This makes the remaining program representation graph planar, in many cases, thus allowing for linear pattern detection. We evaluate our approach experimentally: we detect six design patterns in six software systems. Filtering leads to planar program representation graphs in 14 out of 36 cases. For most of the remaining graphs, filtering makes the graphs almost planar and gives a significant reduction of the graph size, which speeds up existing heuristics.
Keywords
object-oriented methods; object-oriented programming; software engineering; information filtering; program representation graph; software engineering; software pattern detection; Databases; Graph theory; Information filtering; Information filters; Logic programming; Mathematics; Production facilities; Software engineering; Software systems; Systems engineering and theory;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 2006. APSEC 2006. 13th Asia Pacific
Conference_Location
Kanpur
ISSN
1530-1362
Print_ISBN
0-7695-2685-3
Type
conf
DOI
10.1109/APSEC.2006.33
Filename
4137433
Link To Document