Technologies for code failure proneness estimation
First Claim
Patent Images
1. A method comprising:
- calculating, by a computing device, churn metrics that indicate a degree of change between a first version of code and a second version of the code;
calculating, by the computing device for the second version and based on input code metrics that include the churn metrics, second metrics determined from the second version, and first metrics that correspond to the churn metrics and the second metrics that are determined from the first version, a historical variant metric feedback factor that is a sum divided by a total number of the input code metrics, where the sum is a count of each of the input code metrics that exceed a statistical upper bound that is based on the each of the input code metrics'"'"' corresponding first metric; and
performing, by the computing device and based on the second metrics or on the churn metrics, a logistical regression resulting in a code failure proneness probability for the second version.
1 Assignment
0 Petitions
Accused Products
Abstract
The present examples provide technologies for estimating code failure proneness probabilities for a code set and/or the files that make up the set. The code set being evaluated is typically comprised of binary and/or source files that embody the software for which the estimates are desired. The estimates are typically based on a set of selected code metrics, the code metrics typically selected based on corresponding failures of a previous version of the software. A historically variant metric feedback factor may also be calculated and code metric values classified relative to a baseline code set embodying the previous version of the software.
48 Citations
18 Claims
-
1. A method comprising:
-
calculating, by a computing device, churn metrics that indicate a degree of change between a first version of code and a second version of the code; calculating, by the computing device for the second version and based on input code metrics that include the churn metrics, second metrics determined from the second version, and first metrics that correspond to the churn metrics and the second metrics that are determined from the first version, a historical variant metric feedback factor that is a sum divided by a total number of the input code metrics, where the sum is a count of each of the input code metrics that exceed a statistical upper bound that is based on the each of the input code metrics'"'"' corresponding first metric; and performing, by the computing device and based on the second metrics or on the churn metrics, a logistical regression resulting in a code failure proneness probability for the second version. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. At least one computer-readable storage medium storing computer-executable instructions that, when executed by a computer, cause the computer to perform a method comprising:
-
calculating churn metrics that indicate a degree of change between a first version of code and a second version of the code; calculating, for the second version and based on input code metrics that include the churn metrics, second metrics determined from the second version, and first metrics that correspond to the churn metrics and the second metrics that are determined from the first version, a historical variant metric feedback factor that is a sum divided by a total number of the input code metrics, where the sum is a count of each of the input code metrics that exceed a statistical upper bound that is based on the each of the input code metrics'"'"' corresponding first metric; and performing, based on the second metrics or on the churn metrics, a logistical regression resulting in a code failure proneness probability for the second version. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
a computing device; a code churn calculator implemented at least in part by the computing device and configured for calculating churn metrics that indicate a degree of change between a first version of code and a second version of the code; a historical variant metric feedback calculator implemented at least in part by the computer and configured for calculating, for the second version and based on input code metrics that include the churn metrics, second metrics determined from the second version, and first metrics that correspond to the churn metrics and the second metrics that are determined from the first version, a historical variant metric feedback factor that is a sum divided by a total number of the input code metrics, where the sum is a count of each of the input code metrics that exceed a statistical upper bound that is based on the each of the input code metrics'"'"' corresponding first metric; and a statistical modeler implemented at least in part by the computing device and configured for performing, based on the second metrics or on the churn metrics, a logistical regression resulting in a code failure proneness probability for the second version. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification