Local search-based pattern matching features in EMF-IncQuery
Title | Local search-based pattern matching features in EMF-IncQuery |
Publication Type | Conference Paper |
Year of Publication | 2015 |
Authors | Búr, M., Ujhelyi, Z., Horváth, Á., and Varró, D. |
Conference Name | 8th International Conference on Graph Transformation |
Date Published | 07/2015 |
Publisher | Springer |
Conference Location | L'Aquila, Italy |
Keywords | IncQuery |
Abstract | 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. |
Notes | Tool demonstration paper |
URL | http://link.springer.com/chapter/10.1007/978-3-319-21145-9_18 |
DOI | 10.1007/978-3-319-21145-9_18 |