主权项 |
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. |