Towards Automating Code Reviews. Fadhel, M. Master's thesis, McMaster University, Hamilton, Ontario, Canada, November, 2019.
Towards Automating Code Reviews [link]Paper  abstract   bibtex   1 download  
Existing software engineering tools have proved useful in automating some aspects of the code review process, from uncovering defects to refactoring code. However, given that software teams still spend large amounts of time performing code reviews despite the use of such tools, much more research remains to be carried out in this area. This dissertation present two major contributions to this field. First, we perform a text classification experiment over thirty thousand GitHub review comments to understand what code reviewers typically discuss in reviews. Next, in an attempt to offer an innovative, data-driven approach to automating code reviews, we leverage probabilistic models of source code and graph embedding techniques to perform human-like code inspections. Our experimental results indicate that the proposed algorithm is able to emulate human-like code inspection behaviour in code reviews with a macro f1-score of 62%, representing an impressive contribution towards the relatively unexplored research domain of automated code reviewing tools.
@mastersthesis{Fadhel19AutomaticCodeReviews,
	address = {Hamilton, Ontario, Canada},
	title = {Towards {Automating} {Code} {Reviews}},
	url = {http://hdl.handle.net/11375/25269},
	abstract = {Existing software engineering tools have proved useful in automating some aspects of the code review process, from uncovering defects to refactoring code. However, given that software teams still spend large amounts of time performing code reviews despite the use of such tools, much more research remains to be carried out in this area. This dissertation present two major contributions to this field. First, we perform a text classification experiment over thirty thousand GitHub review comments to understand what code reviewers typically discuss in reviews. Next, in an attempt to offer an innovative, data-driven approach to automating code reviews, we leverage probabilistic models of source code and graph embedding techniques to perform human-like code inspections. Our experimental results indicate that the proposed algorithm is able to emulate human-like code inspection behaviour in code reviews with a macro f1-score of 62\%, representing an impressive contribution towards the relatively unexplored research domain of automated code reviewing tools.},
	school = {McMaster University},
	author = {Fadhel, Muntazir},
	month = nov,
	year = {2019},
}
Downloads: 1