A Field Experiment on Gamification of Code Quality in Agile Development

Internal quality of software reduces development costs in the long run but is often neglected by developers. CollabReview, a web-based reputation system for improving the quality of collaboratively written source code, was introduced into an agile development team. The goal was to improve the quality of developed source code as evidenced by the amount of code entities furnished with Javadoc comments. A money prize as an extrinsic reward and peer-pressure in form of a published ranking table were tied to reputation scores. We report on the conduction of a field experiment, our observations and experiences, and relate the results to answers from concluding interviews. Although the gamification had less effect than we had hoped, our experiment teaches valuable lessons about social effects and informs the future design of similar systems.

[1]  Jef Raskin Comments are More Important than Code , 2005, ACM Queue.

[2]  Stephen H. Edwards Teaching software testing: automatic grading meets test-first coding , 2003, OOPSLA '03.

[3]  Peter Seibel Coders at Work: Reflections on the Craft of Programming , 2009 .

[4]  Audun Jøsang,et al.  A survey of trust and reputation systems for online service provision , 2007, Decis. Support Syst..

[5]  John R. Hauser,et al.  Metrics: you are what you measure! , 1998 .

[6]  Gilles Dubochet Computer Code as a Medium for Human Communication: Are Programming Languages Improving? , 2009, PPIG.

[7]  Christian R. Prause,et al.  Architectural design and documentation: Waste in agile development? , 2012, 2012 International Conference on Software and System Process (ICSSP).

[8]  Markus Eisenhauer,et al.  First results from an investigation into the validity of developer reputation derived from wiki articles and source code , 2012, 2012 5th International Workshop on Co-operative and Human Aspects of Software Engineering (CHASE).

[9]  Christian R. Prause,et al.  An approach for continuous inspection of source code , 2008, WoSQ '08.

[10]  L. Festinger,et al.  A Theory of Cognitive Dissonance , 2017 .

[11]  G. Harrison,et al.  Field experiments , 1924, The Journal of Agricultural Science.

[12]  Bran Selic,et al.  Agile Documentation, Anyone? , 2009, IEEE Software.

[13]  Susan Loveland Using Open Source Tools to Prevent Write-Only Code , 2009, 2009 Sixth International Conference on Information Technology: New Generations.

[14]  Bernhard Hoisl,et al.  Social Rewarding in Wiki Systems - Motivating the Community , 2009, HCI.

[15]  Wolfgang Prinz,et al.  Dynamic Self-moderation in a Corporate Wiki to Improve Participation and Contribution Quality , 2011, ECSCW.

[16]  V. Vroom Work and motivation , 1964 .

[17]  Christian Prause Reputation-based self-management of software process artifact quality in consortium research projects , 2011, ESEC/FSE '11.

[18]  Leif Singer,et al.  It was a bit of a race: Gamification of version control , 2012, 2012 Second International Workshop on Games and Software Engineering: Realizing User Engagement with Game Engineering Techniques (GAS).