Comparing technical debt in student exercises using test driven development, test last and ad hoc programming
Technical Debt is a metaphor that explains a phenomenon that occurs in software development when programmers are faced with trade off decisions (usually ship first vs. quality assurance) This work analyses the amount of technical debt incurred by undergraduate students using different coding techniques. This observational study uses source code from seventy five students. We provided students with similar exercises to compare techniques by measuring with static code analyzers (Sonar, FindBugs) The techniques are TDD, Test Last, and ad hoc programming. Our results could not find a statistically significant difference of technical debt incurred by each development practices. Nonetheless, with both tools ad hoc programming measures less technical debt than TDD, and TDD measures less than Test Last. Furthermore, we observed that the two measurement tools outputs are not statistically correlated. Finally, we discuss implications for the research of technical debt stemming from our observations.
2016 XLII Latin American Computing Conference (CLEI)