首页 | 本学科首页   官方微博 | 高级检索  
     


Refactoring object constraint language specifications
Authors:Alexandre Correa  Cláudia Werner
Affiliation:(1) COPPE/UFRJ – Computer Science Department, Federal University of Rio de Janeiro, C.P. 68511, 21945-970 Rio de Janeiro, Brazil
Abstract:The object constraint language (OCL) plays an important role in the elaboration of precise models. Although OCL was designed to be both formal and simple, OCL specifications may be difficult to understand and evolve, particularly those containing complex or duplicated expressions. In this paper, we discuss how refactoring techniques can be applied in order to improve the understandability and maintainability of OCL specifications. In particular, we present several potentially bad constructions often found in OCL specifications and a collection of refactorings that can be applied to replace such constructions by better ones. We also briefly discuss how refactorings can be automated and how model regression testing can be used to increase our confidence that the semantics of an OCL specification has been preserved after manually performed refactorings.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号