AUTOMATIC IDENTIFICATION OF SUBROUTINES FROM TEST SCRIPTS
First Claim
Patent Images
1. A method comprising:
- identifying at least one subroutine from at least one test script, wherein the subroutine includes at least one instruction class, the instruction class includes at least an instruction class type and a subroutine object type, the test script includes at least one test script action, and the test script action includes at least a test script action type and a test script object type;
encoding the instruction class as a subroutine vector in a vector space model;
coding the test script action as a test script vector in the vector space model;
comparing the test script vector to the subroutine vector;
identifying the test script vector as the instruction class if the result of the comparing is above a threshold value;
labeling the test vector as a new test script action if the result of the comparing is below the threshold value; and
associating a new identifier with the new test script action.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for automatic identification of subroutines from test scripts is disclosed. An instruction class may be coded as a subroutine vector in a vector space model. A test script action may be coded as a test script vector in a vector space model. The test script vector may be compared to the subroutine vector. The test script vector may be identified and labeled. The test script vector may be labeled as a new test script action if the result of comparing is below a threshold value. An identifier may be associated with a new test script action.
-
Citations
6 Claims
-
1. A method comprising:
-
identifying at least one subroutine from at least one test script, wherein the subroutine includes at least one instruction class, the instruction class includes at least an instruction class type and a subroutine object type, the test script includes at least one test script action, and the test script action includes at least a test script action type and a test script object type; encoding the instruction class as a subroutine vector in a vector space model; coding the test script action as a test script vector in the vector space model; comparing the test script vector to the subroutine vector; identifying the test script vector as the instruction class if the result of the comparing is above a threshold value; labeling the test vector as a new test script action if the result of the comparing is below the threshold value; and associating a new identifier with the new test script action. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification