Using stack data and source code to rank program changes
First Claim
1. A method of using stack data and source code to rank program changes, the method comprising:
- a computer accessing a stack data of a program;
the computer accessing a source code of the program;
the computer searching for a first change made to the program, wherein the first change is one of a change to a method of the program, a change to a class of the program, a change to a method that is invoked by the program, or a change to a class containing a method that is invoked by the program;
the computer identifying the first change that was made to the program; and
the computer determining a probability that the identified first change caused one or both of an error and a regression, wherein the probability based on one or more of a type of the change, a time when the change was made, a number of changes made, and a frequency of the change being identified;
the computer generating a ranked list of identified changes based, at least in part, on the probability that the identified first change caused one or both of an error and a regression.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer accesses a stack data and a source code of a program. The computer searches for a first change made to the program, wherein the first change is one of a change to a method of the program, a change to a class of the program, a change to a method that is invoked by the program, or a change to a class containing a method that is invoked by the program. The computer identifies the first change that was made to the program and determines the probability that the identified first change caused one or both of an error and a regression. The computer generates a ranked list of identified changes based, at least in part, on the probability that the identified first change caused one or both of an error and a regression.
14 Citations
17 Claims
-
1. A method of using stack data and source code to rank program changes, the method comprising:
-
a computer accessing a stack data of a program; the computer accessing a source code of the program; the computer searching for a first change made to the program, wherein the first change is one of a change to a method of the program, a change to a class of the program, a change to a method that is invoked by the program, or a change to a class containing a method that is invoked by the program; the computer identifying the first change that was made to the program; and the computer determining a probability that the identified first change caused one or both of an error and a regression, wherein the probability based on one or more of a type of the change, a time when the change was made, a number of changes made, and a frequency of the change being identified; the computer generating a ranked list of identified changes based, at least in part, on the probability that the identified first change caused one or both of an error and a regression. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product for identifying code changes, the computer program product comprising:
-
one or more computer-readable storage media computer readable storage medium and program instructions stored on the one or more computer-readable storage media computer readable storage medium, the program instructions comprising; program instructions to access a stack data of a program; program instructions to access a source code of the program; program instructions to search for a first change made to the program, wherein the first change is one of a change to a method of the program, a change to a class of the program, a change to a method that is invoked by the program, or a change to a class containing a method that is invoked by the program; program instructions to identify the first change that was made to the program; program instructions to determine a probability that the identified first change caused one or both of an error and a regression, wherein the probability based on one or more of a type of the change, a time when the change was made, a number of changes made, and a frequency of the change being identified; and program instructions to generate a ranked list of identified changes based, at least in part, on the probability that the identified first change caused one or both of an error and a regression. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system for identifying code changes, the computer system comprising:
-
one or more computer processors; one or more computer readable storage medium; program instructions stored on the computer readable storage medium for execution by at least one of the one or more processors, the program instructions comprising; program instructions to access a stack data of a program; program instructions to access a source code of the program; program instructions to search for a first change made to the program, wherein the first change is one of a change to a method of the program, a change to a class of the program, a change to a method that is invoked by the program, or a change to a class containing a method that is invoked by the program; program instructions to identify the first change that was made to the program; program instructions to determine a probability that the identified first change caused one or both of an error and a regression, wherein the probability based on one or more of a type of the change, a time when the change was made, a number of changes made, and a frequency of the change being identified; and program instructions to generate a ranked list of identified changes based, at least in part, on the probability that the identified first change caused one or both of an error and a regression. - View Dependent Claims (14, 15, 16, 17)
-
Specification