Decomposing Composite Changes for Code Review and Regression Test Selection in Evolving Software

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:liyaping121416
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Inspecting and testing code changes typically require a significant amount of developer effort.As a system evolves,developers often create composite changes by mixing multiple development issues,as opposed to addressing one independent issue-an atomic change.Inspecting composite changes often becomes time-consuming and error-prone.To test unrelated edits on composite changes,rerunning all regression tests may require excessive time.To address the problem,we present an interactive technique for change decomposition to support code reviews and regression test selection,called CHGCUTTER.When a developer specifies code change within a diff patch,CHGCUTTER partitions composite changes into a set of related atomic changes,which is more cohesive and self-contained regarding the issue being addressed.For composite change inspection,it generates an intermediate program version that only includes a related change subset using program dependence relationships.For cost reduction during regression testing,it safely selects only affected tests responsible for changes to an intermediate version.In the evaluation,we apply CHGCUTTER to 28 composite changes in four open source projects.CHGCUTTER partitions these changes with 95.7% accuracy,while selecting affected tests with 89.0% accuracy.We conduct a user study with professional software engineers at PayPal and find that CHGCUTTER is helpful in understanding and validating composite changes,scaling to industry projects.
其他文献
期刊
期刊
期刊
花(鱼骨)属鲤科、(鱼句)亚科、(鱼骨)属,又名“桃花竹”、“杨花鱼”、“溪竹”等.近年来,随着花(鱼骨)人工繁殖技术的突破,该鱼已成为江、浙、沪、皖等地区热门的人工养殖品
While Bitcoin gains increasing popularity in different payment scenarios,the transaction fees make it difficult to be applied to micropayment.Given the wide app
本文通過對《劉顥墓志》的考證,進一步明晰了劉德威、張建封的家族譜系,反映了山東士族之間及關隴集團與山東士族之間的聯姻情况;糾正傳世典籍之誤,補充傳世典籍之缺,特别是
近年来许多长链非编码RNA( lncRNA)被发现,lncRNA表达量的异常与肿瘤的发生、发展密切相关,根据其作用可以分为促进肿瘤作用lncRNA和抑制肿瘤作用lncRNA,lncRNA普遍高表达于实体肿
期刊
近年来 ,随着科学技术的飞速发展 ,现代医学影像正朝着全方位数字化和网络化的方向发展。对于市一级医院 ,在放射设备尚未完全更新的条件下 ,如何完成放射科网络化和数字化 ,
期刊