Title :
Refactoring to improve the understandability of specifications written in object constraint language
Author :
Correa, A. ; Werner, C. ; Barros, M.
Author_Institution :
COPPE/UFRJ, Univ. Fed. do Rio de Janeiro, Rio de Janeiro
fDate :
4/1/2009 12:00:00 AM
Abstract :
Object constraint language (OCL) is the object management group standard language for the precise specification of constraints associated with MetaObject facility specification-compliant models and metamodels. Although OCL has been created with the intention of being a simpler language when compared with traditional formal specification languages, it is common to find specifications containing OCL constraints that are difficult to understand and evolve. A set of potential problematic constructions often found in specifications written in OCL and a set of refactorings that can be applied to remove them are presented. We present an experimental study that has been performed to evaluate the effects of applying those strategies on the understandability of OCL specifications. The approach to provide automated support for OCL refactorings is also discussed.
Keywords :
formal specification; software maintenance; specification languages; OCL refactorings; formal specification languages; metaobject facility specification-compliant models; object constraint language; object management group;
Journal_Title :
Software, IET
DOI :
10.1049/iet-sen.2008.0022