Garg Law Firm, PLLC
Suspect code detection in software regression
A set of test cases is executed on a base code to produce a baseline result and on a changed code to produce a new result. From the baseline result and the new result, a first subset of tests cases is determined that are failing with the changed code but were not failing with the base code. A set of code blocks is determined in the changed code that includes those code blocks that are referenced by the first subset of test cases. A second subset is formed from the first subset by disregarding an unchanged code block that has remained unchanged from the base code to the changed code. A remaining code block is shortlisted for investigating based on a ranking of the remaining code block, which uses a number of test cases in the first subset of test cases that reference the remaining code block.
INTERNATIONAL BUSINESS MACHINES CORPORATION
G G G
G06F G06F G06F
inventional inventional inventional
Mark T. H. Xiayang CongPeng Vatsla
Taylor Li Ma Nagpaul