Analysis of Test Driven Development on sentiment and coding activities in GitHub repositories
- Published
- Accepted
- Subject Areas
- Software Engineering
- Keywords
- Opinion Mining, Human Factors in Software Engineering, Test Driven Development, Sentiment Analysis
- Copyright
- © 2016 Borle et al.
- Licence
- This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Preprints) and either DOI or URL of the article must be cited.
- Cite this article
- 2016. Analysis of Test Driven Development on sentiment and coding activities in GitHub repositories. PeerJ Preprints 4:e1920v2 https://doi.org/10.7287/peerj.preprints.1920v2
Abstract
This paper studies the relationship between Test Driven Development (TDD), productivity and developer sentiment in order to assess the impact of TDD on software development. We used a set of 256572 Java repositories archived from GitHub in September 2015 and made available through the Boa language and infrastructure. This research found that of these repositories, 9537 could be classified as using the TDD methodology. After obtaining these repositories we compared them to an equivalently sized set of control repositories. In general those repositories practicing TDD had fewer commits and a faster median rate of committing than did their control counterparts. We also found that TDD repositories generally contained fewer bug fixing commits. Finally, sentiment analysis was performed on both sets of repositories and it was determined that TDD repositories have a significantly (p-value 3.857e-12) more positive sentiment in comparison to the control repositories.
Author Comment
An erroneous copyright declaration was removed and one reference was added.