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

  • Authors:
  • Alexandre Correa;Cláudia Werner;Márcio Barros

  • Affiliations:
  • COPPE, UFRJ, Computer Science Department, Federal University of Rio de Janeiro, Rio de Janeiro, RJ, Brazil;COPPE, UFRJ, Computer Science Department, Federal University of Rio de Janeiro, Rio de Janeiro, RJ, Brazil;UNIRIOTEC, Computer Science Department, Federal University of the State of Rio de Janeiro, Rio de Janeiro, RJ, Brazil

  • Venue:
  • MODELS'07 Proceedings of the 10th international conference on Model Driven Engineering Languages and Systems
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 as OCL Smells, and OCL refactorings on the understandability of OCL expressions. Current results show that most refactorings significantly improve the understandability of OCL specifications.