Title :
Behavioral Pattern Identification through Visual Language Parsing and Code Instrumentation
Author :
De Lucia, Andrea ; Deufemia, Vincenzo ; Gravino, Carmine ; Risi, Michele
Author_Institution :
Dipt. di Mat. e Inf., Univ. di Salerno, Fisciano
Abstract :
In this paper we present a new technique able to recover behavioral design pattern instances which combines static analysis, based on visual language parsing, with dynamic analysis, based on source code instrumentation. In particular, the dynamic analysis is performed through the automatic instrumentation of the method calls involved in the candidate pattern instances identified during static analysis. The results obtained from a program monitoring activity are matched against the definitions of the pattern behaviors expressed in terms of monitoring grammars. We also present and discuss the results of a case study on JHotDraw 5.1 software library performed to assess the retrieval effectiveness of the proposed approach.
Keywords :
program compilers; software engineering; visual languages; JHotDraw 5.1 software library; behavioral pattern identification; dynamic analysis; program monitoring; source code instrumentation; static analysis; visual language parsing; Design engineering; Instruments; Monitoring; Pattern analysis; Pattern matching; Performance analysis; Reverse engineering; Software libraries; Software maintenance; Software performance;
Conference_Titel :
Software Maintenance and Reengineering, 2009. CSMR '09. 13th European Conference on
Conference_Location :
Kaiserslautern
Print_ISBN :
978-0-7695-3589-0
DOI :
10.1109/CSMR.2009.29