Loading…
Reviewing rounds prediction for code patches
Code review is one of the common activities to guarantee the reliability of software, while code review is time-consuming as it requires reviewers to inspect the source code of each patch. A patch may be reviewed more than once before it is eventually merged or abandoned, and then such a patch may t...
Saved in:
Published in: | Empirical software engineering : an international journal 2022-01, Vol.27 (1), Article 7 |
---|---|
Main Authors: | , , , , , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites Items that cite this one |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | cdi_FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413 |
---|---|
cites | cdi_FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413 |
container_end_page | |
container_issue | 1 |
container_start_page | |
container_title | Empirical software engineering : an international journal |
container_volume | 27 |
creator | Huang, Yuan Liang, Xingjian Chen, Zhihao Jia, Nan Luo, Xiapu Chen, Xiangping Zheng, Zibin Zhou, Xiaocong |
description | Code review is one of the common activities to guarantee the reliability of software, while code review is time-consuming as it requires reviewers to inspect the source code of each patch. A patch may be reviewed more than once before it is eventually merged or abandoned, and then such a patch may tighten the development schedule of the developers and further affect the development progress of a project. Thus, a tool that predicts early on how long a patch will be reviewed can help developers take self-inspection beforehand for the patches that require long-time review. In this paper, we propose a novel method,
PMCost
, to predict the reviewing rounds of a patch.
PMCost
uses a number of features, including patch meta-features, code diff features, personal experience features and patch textual features, to better reflect code changes and review process. To examine the benefits of
PMCost
, we perform experiments on three large open source projects, namely Eclipse, OpenDaylight and OpenStack. The encouraging experimental results demonstrate the feasibility and effectiveness of our approach. Besides, we further study the why the proposed features contribute to the reviewing rounds prediction. |
doi_str_mv | 10.1007/s10664-021-10035-z |
format | article |
fullrecord | <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2584875823</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2584875823</sourcerecordid><originalsourceid>FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413</originalsourceid><addsrcrecordid>eNp9kEtLBDEQhIMouK7-AU8DXo3m_TjKoquwIIiew-yks86ikzGZUdxfb3QEb566u6jqgg-hU0ouKCH6MlOilMCEUVxuLvFuD82o1BxrRdV-2blhmDOpDtFRzltCiNVCztD5A7y38NF2myrFsfO56hP4thna2FUhpqqJHqq-HppnyMfoINQvGU5-5xw93Vw_Lm7x6n55t7ha4YYrPmBJpZfEKM5qBWsoPVwTSwNwJdTaKKuDNcJrQYvOgFHug62DEUoYaYs6R2fT3z7FtxHy4LZxTF2pdEwaYbQ0jBcXm1xNijknCK5P7WudPh0l7puKm6i4QsX9UHG7EuJTKBdzt4H09_qf1BeKW2Ll</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2584875823</pqid></control><display><type>article</type><title>Reviewing rounds prediction for code patches</title><source>Springer Nature</source><creator>Huang, Yuan ; Liang, Xingjian ; Chen, Zhihao ; Jia, Nan ; Luo, Xiapu ; Chen, Xiangping ; Zheng, Zibin ; Zhou, Xiaocong</creator><creatorcontrib>Huang, Yuan ; Liang, Xingjian ; Chen, Zhihao ; Jia, Nan ; Luo, Xiapu ; Chen, Xiangping ; Zheng, Zibin ; Zhou, Xiaocong</creatorcontrib><description>Code review is one of the common activities to guarantee the reliability of software, while code review is time-consuming as it requires reviewers to inspect the source code of each patch. A patch may be reviewed more than once before it is eventually merged or abandoned, and then such a patch may tighten the development schedule of the developers and further affect the development progress of a project. Thus, a tool that predicts early on how long a patch will be reviewed can help developers take self-inspection beforehand for the patches that require long-time review. In this paper, we propose a novel method,
PMCost
, to predict the reviewing rounds of a patch.
PMCost
uses a number of features, including patch meta-features, code diff features, personal experience features and patch textual features, to better reflect code changes and review process. To examine the benefits of
PMCost
, we perform experiments on three large open source projects, namely Eclipse, OpenDaylight and OpenStack. The encouraging experimental results demonstrate the feasibility and effectiveness of our approach. Besides, we further study the why the proposed features contribute to the reviewing rounds prediction.</description><identifier>ISSN: 1382-3256</identifier><identifier>EISSN: 1573-7616</identifier><identifier>DOI: 10.1007/s10664-021-10035-z</identifier><language>eng</language><publisher>New York: Springer US</publisher><subject>Case studies ; Collaboration ; Compilers ; Computer Science ; Inspection ; Interpreters ; Machine learning ; Methods ; Natural language ; Programming Languages ; Recommendation Systems for Software Engineering ; Reviewing ; Software engineering ; Software Engineering/Programming and Operating Systems ; Software reliability ; Source code</subject><ispartof>Empirical software engineering : an international journal, 2022-01, Vol.27 (1), Article 7</ispartof><rights>The Author(s) 2021</rights><rights>The Author(s) 2021. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413</citedby><cites>FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413</cites><orcidid>0000-0001-8234-3186</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids></links><search><creatorcontrib>Huang, Yuan</creatorcontrib><creatorcontrib>Liang, Xingjian</creatorcontrib><creatorcontrib>Chen, Zhihao</creatorcontrib><creatorcontrib>Jia, Nan</creatorcontrib><creatorcontrib>Luo, Xiapu</creatorcontrib><creatorcontrib>Chen, Xiangping</creatorcontrib><creatorcontrib>Zheng, Zibin</creatorcontrib><creatorcontrib>Zhou, Xiaocong</creatorcontrib><title>Reviewing rounds prediction for code patches</title><title>Empirical software engineering : an international journal</title><addtitle>Empir Software Eng</addtitle><description>Code review is one of the common activities to guarantee the reliability of software, while code review is time-consuming as it requires reviewers to inspect the source code of each patch. A patch may be reviewed more than once before it is eventually merged or abandoned, and then such a patch may tighten the development schedule of the developers and further affect the development progress of a project. Thus, a tool that predicts early on how long a patch will be reviewed can help developers take self-inspection beforehand for the patches that require long-time review. In this paper, we propose a novel method,
PMCost
, to predict the reviewing rounds of a patch.
PMCost
uses a number of features, including patch meta-features, code diff features, personal experience features and patch textual features, to better reflect code changes and review process. To examine the benefits of
PMCost
, we perform experiments on three large open source projects, namely Eclipse, OpenDaylight and OpenStack. The encouraging experimental results demonstrate the feasibility and effectiveness of our approach. Besides, we further study the why the proposed features contribute to the reviewing rounds prediction.</description><subject>Case studies</subject><subject>Collaboration</subject><subject>Compilers</subject><subject>Computer Science</subject><subject>Inspection</subject><subject>Interpreters</subject><subject>Machine learning</subject><subject>Methods</subject><subject>Natural language</subject><subject>Programming Languages</subject><subject>Recommendation Systems for Software Engineering</subject><subject>Reviewing</subject><subject>Software engineering</subject><subject>Software Engineering/Programming and Operating Systems</subject><subject>Software reliability</subject><subject>Source code</subject><issn>1382-3256</issn><issn>1573-7616</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><recordid>eNp9kEtLBDEQhIMouK7-AU8DXo3m_TjKoquwIIiew-yks86ikzGZUdxfb3QEb566u6jqgg-hU0ouKCH6MlOilMCEUVxuLvFuD82o1BxrRdV-2blhmDOpDtFRzltCiNVCztD5A7y38NF2myrFsfO56hP4thna2FUhpqqJHqq-HppnyMfoINQvGU5-5xw93Vw_Lm7x6n55t7ha4YYrPmBJpZfEKM5qBWsoPVwTSwNwJdTaKKuDNcJrQYvOgFHug62DEUoYaYs6R2fT3z7FtxHy4LZxTF2pdEwaYbQ0jBcXm1xNijknCK5P7WudPh0l7puKm6i4QsX9UHG7EuJTKBdzt4H09_qf1BeKW2Ll</recordid><startdate>20220101</startdate><enddate>20220101</enddate><creator>Huang, Yuan</creator><creator>Liang, Xingjian</creator><creator>Chen, Zhihao</creator><creator>Jia, Nan</creator><creator>Luo, Xiapu</creator><creator>Chen, Xiangping</creator><creator>Zheng, Zibin</creator><creator>Zhou, Xiaocong</creator><general>Springer US</general><general>Springer Nature B.V</general><scope>C6C</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>8FD</scope><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>AFKRA</scope><scope>ARAPS</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>JQ2</scope><scope>L6V</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>M7S</scope><scope>P5Z</scope><scope>P62</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope><scope>S0W</scope><orcidid>https://orcid.org/0000-0001-8234-3186</orcidid></search><sort><creationdate>20220101</creationdate><title>Reviewing rounds prediction for code patches</title><author>Huang, Yuan ; Liang, Xingjian ; Chen, Zhihao ; Jia, Nan ; Luo, Xiapu ; Chen, Xiangping ; Zheng, Zibin ; Zhou, Xiaocong</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Case studies</topic><topic>Collaboration</topic><topic>Compilers</topic><topic>Computer Science</topic><topic>Inspection</topic><topic>Interpreters</topic><topic>Machine learning</topic><topic>Methods</topic><topic>Natural language</topic><topic>Programming Languages</topic><topic>Recommendation Systems for Software Engineering</topic><topic>Reviewing</topic><topic>Software engineering</topic><topic>Software Engineering/Programming and Operating Systems</topic><topic>Software reliability</topic><topic>Source code</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Huang, Yuan</creatorcontrib><creatorcontrib>Liang, Xingjian</creatorcontrib><creatorcontrib>Chen, Zhihao</creatorcontrib><creatorcontrib>Jia, Nan</creatorcontrib><creatorcontrib>Luo, Xiapu</creatorcontrib><creatorcontrib>Chen, Xiangping</creatorcontrib><creatorcontrib>Zheng, Zibin</creatorcontrib><creatorcontrib>Zhou, Xiaocong</creatorcontrib><collection>Springer Open Access</collection><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science & Engineering Collection</collection><collection>ProQuest Central</collection><collection>Advanced Technologies & Aerospace Database (1962 - current)</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Computer Science Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>Engineering Database</collection><collection>ProQuest advanced technologies & aerospace journals</collection><collection>ProQuest Advanced Technologies & Aerospace Collection</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering collection</collection><collection>DELNET Engineering & Technology Collection</collection><jtitle>Empirical software engineering : an international journal</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Huang, Yuan</au><au>Liang, Xingjian</au><au>Chen, Zhihao</au><au>Jia, Nan</au><au>Luo, Xiapu</au><au>Chen, Xiangping</au><au>Zheng, Zibin</au><au>Zhou, Xiaocong</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Reviewing rounds prediction for code patches</atitle><jtitle>Empirical software engineering : an international journal</jtitle><stitle>Empir Software Eng</stitle><date>2022-01-01</date><risdate>2022</risdate><volume>27</volume><issue>1</issue><artnum>7</artnum><issn>1382-3256</issn><eissn>1573-7616</eissn><abstract>Code review is one of the common activities to guarantee the reliability of software, while code review is time-consuming as it requires reviewers to inspect the source code of each patch. A patch may be reviewed more than once before it is eventually merged or abandoned, and then such a patch may tighten the development schedule of the developers and further affect the development progress of a project. Thus, a tool that predicts early on how long a patch will be reviewed can help developers take self-inspection beforehand for the patches that require long-time review. In this paper, we propose a novel method,
PMCost
, to predict the reviewing rounds of a patch.
PMCost
uses a number of features, including patch meta-features, code diff features, personal experience features and patch textual features, to better reflect code changes and review process. To examine the benefits of
PMCost
, we perform experiments on three large open source projects, namely Eclipse, OpenDaylight and OpenStack. The encouraging experimental results demonstrate the feasibility and effectiveness of our approach. Besides, we further study the why the proposed features contribute to the reviewing rounds prediction.</abstract><cop>New York</cop><pub>Springer US</pub><doi>10.1007/s10664-021-10035-z</doi><orcidid>https://orcid.org/0000-0001-8234-3186</orcidid><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 1382-3256 |
ispartof | Empirical software engineering : an international journal, 2022-01, Vol.27 (1), Article 7 |
issn | 1382-3256 1573-7616 |
language | eng |
recordid | cdi_proquest_journals_2584875823 |
source | Springer Nature |
subjects | Case studies Collaboration Compilers Computer Science Inspection Interpreters Machine learning Methods Natural language Programming Languages Recommendation Systems for Software Engineering Reviewing Software engineering Software Engineering/Programming and Operating Systems Software reliability Source code |
title | Reviewing rounds prediction for code patches |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-21T15%3A49%3A38IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Reviewing%20rounds%20prediction%20for%20code%20patches&rft.jtitle=Empirical%20software%20engineering%20:%20an%20international%20journal&rft.au=Huang,%20Yuan&rft.date=2022-01-01&rft.volume=27&rft.issue=1&rft.artnum=7&rft.issn=1382-3256&rft.eissn=1573-7616&rft_id=info:doi/10.1007/s10664-021-10035-z&rft_dat=%3Cproquest_cross%3E2584875823%3C/proquest_cross%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c363t-515d508632a6ebe74537091fe3646b8697f984d7413702e213df9af8464859413%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2584875823&rft_id=info:pmid/&rfr_iscdi=true |