DocumentCode
3337833
Title
Discovering Program´s Behavioral Patterns by Inferring Graph-Grammars from Execution Traces
Author
Zhao, Chunying ; Ates, Keven ; Kong, Jun ; Zhang, Kang
Author_Institution
Univ. of Texas at Dallas, Dallas, TX
Volume
2
fYear
2008
fDate
3-5 Nov. 2008
Firstpage
395
Lastpage
402
Abstract
Frequent patterns in program executions represent recurring sequences of events. These patterns can be used to reveal the hidden structures of a program, and ease the comprehension of legacy systems. Existing grammar-induction approaches generally use sequential algorithms to infer formal models from program executions, in which program executions are represented as strings. Software developers, however, often use graphs to illustrate the process of program executions, such as UML diagrams, flowcharts and call graphs. Taking advantage of graphs´ expressiveness and intuitiveness for human cognition, we present a graph-grammar induction approach to discovering program´s behavioral patterns by analyzing execution traces represented in graphs. Moreover, to improve the efficiency, execution traces are abstracted to filter redundant or unrelated traces. A grammar induction environment called VEGGIE is adopted to facilitate the induction. Evaluation is conducted on an open source project JHotDraw. Experimental results show the applicability of the proposed approach.
Keywords
data mining; graph grammars; learning by example; program diagnostics; program visualisation; software maintenance; execution trace; formal model; graph-grammar induction approach; legacy system comprehension; program behavioral pattern discovery; sequential algorithm; software developer; visual environment; Application software; Cognition; Flowcharts; Humans; Lattices; Pattern analysis; Reverse engineering; Sequences; Software engineering; Unified modeling language; Graph-grammar Induction; Program Execution;
fLanguage
English
Publisher
ieee
Conference_Titel
Tools with Artificial Intelligence, 2008. ICTAI '08. 20th IEEE International Conference on
Conference_Location
Dayton, OH
ISSN
1082-3409
Print_ISBN
978-0-7695-3440-4
Type
conf
DOI
10.1109/ICTAI.2008.68
Filename
4669801
Link To Document