发明名称 Policy evaluation based upon dynamic observation, static analysis and code change history
摘要 A method is provided to evaluate tests of computer program code comprising: configuring a computer to produce, in a computer readable storage device, a code filter to indicate one or more respective portions of the computer program code to respectively either omit from or to include in a determination of adequacy of results; and comparing test results with the computer program code with the one or more respective portions filtered using the code filter to respectively either omit the respective portions from or include the respective portions in the determination as indicated by the code filter.
申请公布号 US9317399(B2) 申请公布日期 2016.04.19
申请号 US201313844110 申请日期 2013.03.15
申请人 Synopsys, Inc. 发明人 Boshernitsan Marat;McPeak Scott;Kuehlmann Andreas;Scott Roger H.;Chou Andy C.;Transue Kit
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 HIPLegal LLP 代理人 HIPLegal LLP ;Szepesi Judith A.
主权项 1. A method to evaluate tests of computer program code comprising: receiving, in a computer readable storage device, user input to designate a static analysis checker tool to use to identify a code portion within the computer program code; receiving, in the computer readable storage device, user input to designate a code range within the computer program code; configuring a computer to perform one or more dynamic tests of computer program code; capturing, in a computer readable storage device, test results that indicate portions of the computer program code that have been tested using the one or more dynamic tests; configuring a computer to produce, in a computer readable storage device, based at least in part upon the user input, a code filter to indicate one or more respective portions of the computer program code to respectively either omit from or to include in a determination of adequacy of the captured test results; wherein producing the code filter includes configuring the computer to use the checker tool to produce, in the computer readable storage device, a first filter element to indicate code from the computer program code that corresponds to the code portion identified using the designated checker tool; wherein producing the code filter includes configuring the computer to use a code modification history to produce, in the computer readable storage device, a second filter element to indicate code from the computer program code that corresponds to the designated code range; and filtering the computer program code using the produced code filter to produce filtered computer program code; and generating a test result indication by comparing the captured test results that indicate portions of the computer program code that have been tested with the filtered computer program code to provide an indication of adequacy of the captured test results coverage.
地址 Mountain View CA US