Grupo Alarcos · Conference paper · 2008
Using cognitive techniques for assessing the influence of coupling on the maintainability of OCL expressions
Luis Alberto Reynoso, Marcela Genero Bocco, Mario Piattini Velthuis, María Esperanza Manso Martínez
This paper is part of a project we have been developing for the past three years, related to the maintainability of expressions written with the Object Constraint language (OCL). Our objective is to find which elements of OCL influence on the comprehensibility and modifiability of OCL expressions. Coupling is recognized as a key characteristic of software artifacts, which affects comprehensibility and maintainability. In addition, whenever an expression operates in a large context, modelers need to know all the UML artifacts the expression relies on. Therefore, we believe that coupling should also affect to the comprehension of OCL expressions and, consequently, their modifiability. We believe that two main factors of the import coupling are the number of different objects which are coupled to the contextual instance and the depth of coupling. For measuring these factors we have defined two measures (the number of navigated classes -NNC- and the depth of navigation -DN-) based on two cognitive techniques (chunking and tracing). For testing if both coupling measures (and their interaction) could be indicators of the comprehensibility and modifiability of OCL expressions, we carried out a specific family of experiments which will be carefully described in this paper. The obtained results confirm our hypothesis, revealing that coupling really affects to the maintainability of OCL expressions.
On the same topic
- 2007 Using Verbal Protocols to Assess the Influence of Import-Coupling on the Comprehensibility of OCL Expressions
- 2006 Measuring object coupling in OCL expressions: A cognitive theory-based approach
- 2006 Does object coupling really affect the understanding and modifying of OCL expressions?
- 2010 Assessing the influence of import-coupling on OCL expression maintainability: A cognitive theory-based perspec