Impact of the visitor pattern on program comprehension and maintenance

  • Authors:
  • Sebastien Jeanmart;Yann-Gael Gueheneuc;Houari Sahraoui;Naji Habra

  • Affiliations:
  • PReCISE Research Center, University of Namur, Namur, Belgium;Ptidej Team, DGIGL, École Polytechnique de Montreal, Quebec, Canada;GEODES, DIRO, University of Montreal, Quebec, Canada;PReCISE Research Center, University of Namur, Namur, Belgium

  • Venue:
  • ESEM '09 Proceedings of the 2009 3rd International Symposium on Empirical Software Engineering and Measurement
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

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.