METHODS AND SYSTEMS FOR GENERATING TEST INFORMATION FROM A SOURCE CODE
First Claim
Patent Images
1. A method for testing a source code, comprising:
- receiving the source code, wherein the source code includes a plurality of executable lines and a plurality of non-executable lines, wherein each of the plurality of executable lines includes a functional statement, wherein the functional statement includes a condition for execution by a processor or includes an action for execution by the processor; and
parsing the source code to identify the executable lines and the non-executable lines of the source code; and
upon identifying each of the executable lines and each of the non-executable lines, generating test information regarding each of the executable lines of the source code without testing each of the non-executable lines of the source code, wherein at least one of the non-executable lines defines a type of variable.
5 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for generating test information from a source code are described. One of the methods includes accessing the source code. The method further includes receiving a modification of the source code to generate a modified source code. The modification includes one or more instructions that do not affect functions performed by executing the source code. The modification further includes one or more instructions for generating test information regarding each executable line of the source code.
5 Citations
20 Claims
-
1. A method for testing a source code, comprising:
-
receiving the source code, wherein the source code includes a plurality of executable lines and a plurality of non-executable lines, wherein each of the plurality of executable lines includes a functional statement, wherein the functional statement includes a condition for execution by a processor or includes an action for execution by the processor; and parsing the source code to identify the executable lines and the non-executable lines of the source code; and upon identifying each of the executable lines and each of the non-executable lines, generating test information regarding each of the executable lines of the source code without testing each of the non-executable lines of the source code, wherein at least one of the non-executable lines defines a type of variable. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer system for generating test information from a source code, comprising:
-
a memory device for storing the source code; and a processor coupled to the memory device, wherein the processor is configured to receive the source code, wherein the source code includes a plurality of executable lines and a plurality of non-executable lines, wherein each of the plurality of executable lines includes a functional statement, wherein the functional statement includes a condition for execution by a processor or includes an action for execution by the processor, wherein the processor is configured to parse the source code to identify the executable lines and the non-executable lines of the source code, wherein upon identifying each of the executable lines and each of the non-executable lines, the processor is configured to generate test information regarding each of the executable lines of the source code without testing each of the non-executable lines of the source code, wherein at least one of the non-executable lines defines a type of variable. - View Dependent Claims (16, 17)
-
-
18. A non-transient computer-readable medium containing program instructions for causing a computer to perform a method of:
-
receiving a source code, wherein the source code includes a plurality of executable lines and a plurality of non-executable lines, wherein each of the plurality of executable lines includes a functional statement, wherein the functional statement includes a condition for execution by a processor or includes an action for execution by the processor; and parsing the source code to identify the executable lines and the non-executable lines of the source code; and upon identifying each of the executable lines and each of the non-executable lines, generating test information regarding each of the executable lines of the source code without testing each of the non-executable lines of the source code, wherein at least one of the non-executable lines defines a type of variable. - View Dependent Claims (19, 20)
-
Specification