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
中科院分区:
文献类型:
--
作者:
A. L. Correa;C. Werner;M. Barros
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.