Title :
Using cognitive techniques for assessing the influence of coupling on the maintainability of OCL expressions
Author :
Reynoso, Luis ; Genero, Marcela ; Piattini, Mario ; Manso, Esperanza
Author_Institution :
Nat. Univ. of Comahue, Neuquen
Abstract :
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.
Keywords :
Unified Modeling Language; cognition; constraint handling; object-oriented languages; software maintenance; software metrics; OCL expressions; UML; Unified Modeling Language; cognitive technique; contextual instance; coupling measure; object constraint language expression maintenance; software artifact; Area measurement; Character recognition; Cognitive informatics; Context awareness; Context modeling; Coordinate measuring machines; Navigation; Software maintenance; Testing; Unified modeling language;
Conference_Titel :
Cognitive Informatics, 2008. ICCI 2008. 7th IEEE International Conference on
Conference_Location :
Stanford, CA
Print_ISBN :
978-1-4244-2538-9
DOI :
10.1109/COGINF.2008.4639187