DocumentCode
2328828
Title
Does the Documentation of Design Pattern Instances Impact on Source Code Comprehension? Results from Two Controlled Experiments
Author
Gravino, Carmine ; Risi, Michele ; Scanniello, Giuseppe ; Tortora, Genoveffa
Author_Institution
Fac. di Sci., Univ. of Salerno, Fisciano, Italy
fYear
2011
fDate
17-20 Oct. 2011
Firstpage
67
Lastpage
76
Abstract
We present the results of a controlled experiment and a differentiated replication that have been carried out to assess the effect of the documentation of design patterns on the comprehension of source code. The two experiments involved Master Students in Computer Science at the University of Basilicas a and at University of Salerno, respectively. The participants to the original experiment performed a comprehension task with and without graphically-documented design patterns. Textually documented design patterns were provided or not to the participants to perform a comprehension task within the replication. The data analysis revealed that participants employing graphically documented design patterns achieved significantly better performances than the participants provided with source code alone. Conversely, the effect of textually documented design patterns was not statistically significant. A further analysis revealed that the documentation type (textual and graphical) does not significantly affect the performance, when participants correctly recognize design pattern instances.
Keywords
computer graphics; computer science education; data analysis; design of experiments; software engineering; source coding; system documentation; University of Basilicas; University of Salerno; comprehension task; computer science; controlled experiment; data analysis; design pattern instances; design patterns documentation; differentiated replication; documentation type; graphically-documented design patterns; master students; source code comprehension; textually documented design patterns; Documentation; Educational institutions; Maintenance engineering; Particle measurements; Software systems; Unified modeling language; Controlled Experiment; Design Patterns; Maintenance;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering (WCRE), 2011 18th Working Conference on
Conference_Location
Limerick
ISSN
1095-1350
Print_ISBN
978-1-4577-1948-6
Type
conf
DOI
10.1109/WCRE.2011.18
Filename
6079776
Link To Document