An empirical study of the impact of OCL smells and refactorings on the understandability of OCL specifications

An empirical study of the impact of OCL smells and refactorings on the understandability of OCL specifications
复制标题

OCL 气味和重构对 OCL 规范可理解性影响的实证研究

DOI:
10.1007/978-3-540-75209-7_6
复制
发表时间:
2007
期刊:
--
影响因子:
--
通讯作者:
M. Barros
M. Barros
中科院分区:
--
文献类型:
--
作者:
A. L. Correa;C. Werner;M. Barros

文献摘要

被引文献

相似文献

对象约束语言(OCL)是一种OMG标准,在精确模型的细化中起着重要的作用。然而,不难发现包含过于复杂的OCL表达式的模型和元模型。重构是一种可以在这种情况下使用的技术,因为它的目标是通过逐步提高内部软件质量来降低复杂性。事实上,已经提出了几个重构来提高OCL表达式的质量。本文介绍了一项实证研究的结果,研究了不良OCL结构(也称为OCL气味)和OCL重构对OCL表达式可理解性的影响。目前的结果表明,大多数重构显著提高了OCL规范的可理解性。
The Object Constraint Language (OCL) is a OMG standard that plays an important role in the elaboration of precise models. However, it is not hard to find models and metamodels containing overly complex OCL expressions. Refactoring is a technique that can be used in this context since its goal is to reduce complexity by incrementally improving the internal software quality. Indeed several refactorings have already been proposed to improve the quality of OCL expressions. This paper presents the results of an empirical study that investigates the impact of poor OCL constructs, also known asOCL Smells,and OCL refactoringson the understandability of OCL expressions. Current results show that most refactorings significantly improve the understandability of OCL specifications.