MCRMiner: a Tool to Support Empirical Studies on Modern Code Review
Resumo
Modern Code Review (MCR) has been increasingly adopted in the industry and open source development. It is a lightweight code review process, being asynchronous and tool-supported. Due to the use of tools and their underlying databases, much data associated with MCR has become available, leading to many research studies to understand and improve this process. The first step in these studies typically requires learning and accessing the API of an MCR repository, and exporting it to a particular format to be analyzed. In this paper, we introduce a tool, named MCRMiner, which automates this step to ease the conduction of empirical studies in the context of MCR. The framework provides a graphical interface and the infrastructure needed to access an MCR repository, import its data, and export them to formats typically used to process this kind of data. MCRMiner allows accessing repositories from Gerrit, an MCR tool, but is implemented as a framework so that it can be instantiated to work with other MCR tools.
Referências
Bacchelli, A. and Bird, C. (2013). Expectations, outcomes, and challenges of modern code review. In 2013 35th International Conference on Software Engineering (ICSE), pages 712–721
Fagan, M. E. (1986). Advances in software inspections. IEEE Transactions on Software Engineering, SE-12(7):744–751
Ferreira, I. P. (2018). MCRMiner: um framework de minerac¸˜ao de reposit´orios de code review. Technical report, Porto Alegre, BR.
Johnson, P. M. (1998). Reengineering inspection. Commun. ACM, 41(2):49–52. Rodr´ıguez-P´erez, G., Gonzalez-Barahona, J. M., Robles, G., Dalipaj, D., and Sekitoleko, N. (2016). Bugtracking: A tool to assist in the identification of bug reports. In Crow- ston,K.,Hammouda,I.,Lundell,B.,Robles,G.,Gamalielsson,J.,andLindman,J.,ed- itors,OpenSourceSystems: IntegratingCommunities,pages192–198,Cham.Springer International Publishing.
Santos, E. W. d. and Nunes, I. (2017). Investigating the effectiveness of peer code review in distributed software development. In Proceedings of the 31st Brazilian Symposium on Software Engineering, SBES’17, pages 84–93, New York, NY, USA. ACM.
Thongtanunam, P., Tantithamthavorn, C., Kula, R. G., Yoshida, N., Iida, H., and Mat- sumoto, K. (2015). Who should review my code? a file location-based code-reviewer recommendation approach for modern code review. In IEEE 22nd International Con- ferenceonSoftwareAnalysis,Evolution,andReengineering(SANER),pages141–150.
Thongtanunam, P., Yang, X., Yoshida, N., Kula, R. G., Cruz, A. E. C., Fujiwara, K., and Iida, H. (2014). Reda: A web-based visualization tool for analyzing modern code review dataset. In 2014 IEEE International Conference on Software Maintenance and Evolution, pages 605–608.
Yang, X., Kula, R. G., Yoshida, N., and Iida, H. (2016). Mining the modern code re- view repositories: A dataset of people, process and product. In 2016 IEEE/ACM 13th Working Conference on Mining Software Repositories (MSR), pages 460–463.