一种基于字符串匹配算法的通用模型转换设计模式检测方法
A Generic Approach to Detect Design Patterns in Model Transformations Using a String-Matching Algorithm
摘要:
维护软件工件是工程师面临的最困难的任务之一。与任何其他代码一样,工程师开发的模型转换也需要维护。为了促进程序的理解,软件工程师依赖于许多技术,如设计模式检测。因此,在模型转换实现中检测设计模式对开发人员来说具有巨大的价值。在本文中,我们提出了一个通用的技术来检测设计模式及其变化的模型转换实现自动。它以一组模型转换规则和模型转换设计模式的参与者作为输入,以查找后者在前者中的出现。该技术还检测模式的某些退化形式,从而表明改进模型转换实现的潜在机会。
英文摘要:
Maintaining software artifacts is among the hardest tasks an engineer faces. Like any other piece of code, model transformations developed by engineers are also subject to maintenance. To facilitate the comprehension of programs, software engineers rely on many techniques, such as design pattern detection. Therefore, detecting design patterns in model transformation implementations is of tremendous value for developers. In this paper, we propose a generic technique to detect design patterns and their variations in model transformation implementations automatically. It takes as input a set of model transformation rules and the participants of a model transformation design pattern to find occurrences of the latter in the former. The technique also detects certain kinds of degenerate forms of the pattern, thus indicating potential opportunities to improve the model transformation implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。