Impact of the visitor pattern on program comprehension and maintenance

Sébastien Jeanmart, Yann Gaël Guéhéneuc, Houari Sahraoui, Naji Habra

Research output: Contribution in Book/Catalog/Report/Conference proceedingConference contribution

Abstract

In the software engineering literature, many works claim that the use of design patterns improves the com-prehensibility 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.

Original languageEnglish
Title of host publicationProceedings of the 3rd International Symposium on Empirical Software Enginneering & Measurement, Florida (USA) Octobre 2009
Subtitle of host publicationESEM 2009
Publisher James Miller and Rick Selby
Pages69-78
Number of pages10
ISBN (Print)9781424448418
DOIs
Publication statusPublished - 28 Dec 2009
Event2009 3rd International Symposium on Empirical Software Engineering and Measurement, ESEM 2009 - Lake Buena Vista, FL, United States
Duration: 15 Oct 200916 Oct 2009

Conference

Conference2009 3rd International Symposium on Empirical Software Engineering and Measurement, ESEM 2009
Country/TerritoryUnited States
CityLake Buena Vista, FL
Period15/10/0916/10/09

Fingerprint

Dive into the research topics of 'Impact of the visitor pattern on program comprehension and maintenance'. Together they form a unique fingerprint.

Cite this