Title :
Impact of the visitor pattern on program comprehension and maintenance
Author :
Jeanmart, Sébastien ; Guéhéneuc, Yann-Gaël ; Sahraoui, Houari ; Habra, Naji
Author_Institution :
PReCISE Res. Center, Univ. of Namur, Namur, Belgium
Abstract :
In the software engineering literature, many works claim that the use of design patterns improves the comprehensibility of programs and, more generally, their maintainability. Yet, little work attempted to study the impact of design patterns on the developers´ tasks of program comprehension and modification. We design and perform an experiment to collect data on the impact of the visitor pattern on comprehension and modification tasks with class diagrams. We use an eye-tracker to register saccades and fixations, the latter representing the focus of the developers´ attention. Collected data show that the visitor pattern plays a role in maintenance tasks: class diagrams with its canonical representation requires less efforts from developers.
Keywords :
object-oriented programming; reverse engineering; software maintenance; design patterns; program comprehension; program maintenance; software engineering literature; visitor pattern; Design for experiments; Electronic mail; Level measurement; Pattern analysis; Performance evaluation; Software engineering; Software measurement; Standards development; Unified modeling language; Visualization;
Conference_Titel :
Empirical Software Engineering and Measurement, 2009. ESEM 2009. 3rd International Symposium on
Conference_Location :
Lake Buena Vista, FL
Print_ISBN :
978-1-4244-4842-5
Electronic_ISBN :
1938-6451
DOI :
10.1109/ESEM.2009.5316015