Local search-based pattern matching features in EMF-IncQuery

TitleLocal search-based pattern matching features in EMF-IncQuery
Publication TypeConference Paper
Year of Publication2015
AuthorsBúr, M., Ujhelyi, Z., Horváth, Á., and Varró, D.
Conference Name8th International Conference on Graph Transformation
Date Published07/2015
Conference LocationL'Aquila, Italy

Graph patterns provide a declarative formalism to describe model queries used for several important engineering tasks, such as well-formedness constraint validation or model transformations. As different pattern matching approaches, such as local search or incremental evaluation, have different performance characteristics (smaller memory footprint vs. smaller runtime), a wider range of practical problems can be addressed. The current paper reports on a novel feature of the EMF-IncQuery framework supporting local search-based pattern matching strategy to complement the existing incremental pattern matching capabilities. The reuse of the existing pattern language and query development environment of EMF-IncQuery enables to select the most appropriate strategy separately for each pattern without any modifications to the definitions of existing patterns. Furthermore, a graphical debugger component is introduced that visualizes the execution of the search process, helping to understand how complex patterns behave. This tool paper presents the new pattern matching feature from an end users viewpoint while the scientific details of the pattern matching strategy itself are omitted. The approach is illustrated on a case study of automated identification of anti-patterns over program models created from Java source code.

NotesTool demonstration paper