Comparison of Pair and Solo Programming through software metrics in University Students’ Projects

  • Ramón Ventura Roque Hernández Universidad Autónoma de Tamaulipas
  • Jesús Cárdenas Domínguez Universidad Autónoma de Tamaulipas
  • Adán López Mendoza Universidad Autónoma de Tamaulipas
  • Juan Antonio Herrera Izaguirre Universidad Autónoma de Tamaulipas
  • Carlos Manuel Juárez Ibarra Universidad Autónoma de Tamaulipas

Abstract

Introduction: Pair Programming is an agile practice that can be used both in software development for business and in the teaching of programming in university courses. Objective: This paper presents a research that was conducted to compare pair programming and solo programming in university courses from the perspective of the metrics of the programs created by freshmen enrolled in the Bachelor Degree in Information Technologies. Method: The participants were divided into two groups: those who applied pair programming and those who programmed individually. Both developed the same program under the same conditions. The following metrics were analyzed in their programs: Number of Statements, Percentage of Comments, Maximum Depth, Average Depth, Maximum Complexity, Number of methods per class, Number of calls per method and Number of sentences per method. The values of the metrics were obtained by the Source Monitor software. Then, Mann-Whitney tests were performed in SPSS. Results: Results showed that students that worked in pairs wrote code with more statements (p=0.038, U=17.00) and a higher level of depth (p=0.032, U=18.00) compared to solo programmers.  Conclusions: This paper contributes to the field of software development teaching by providing quantitative empirical evidence on the effectiveness of pair programming. It is concluded that pair programming can be an appropriate educational approach for the beginner’s software development university courses.

Downloads

Download data is not yet available.
Published
2019-10-22
How to Cite
Roque Hernández, R. V., Cárdenas Domínguez, J., López Mendoza, A., Herrera Izaguirre, J. A., & Juárez Ibarra, C. M. (2019). Comparison of Pair and Solo Programming through software metrics in University Students’ Projects. RIDE Revista Iberoamericana Para La Investigación Y El Desarrollo Educativo, 10(19). https://doi.org/10.23913/ride.v10i19.549
Section
Scientific articles