Screen oriented data flow analysis
First Claim
1. A method for performing data flow analysis of computer code, comprising:
- providing computer code of a computer program having a plurality of user interface screens;
dividing said computer code to a plurality of portions according to said plurality of user interface screens, wherein each of said plurality of portions is related to another one of said plurality of user interface screens and includes code for inducing at least one of loading and using of said another one of said plurality of user interface screens and wherein an execution flow from each one of said plurality of portions to another one of said plurality of portions is associated with a transition from a respective first user interface screen to a respective second user interface screen;
performing a variable usage analysis to detect which variables are at least one of calculated and used in each one of said plurality of portions;
constructing a data dependence model defining dependencies among said plurality of portions based on said variable usage analysis, wherein said data dependence model includes data variables that are transferred between code implementing said user interface screens of said plurality of portions; and
identifying, for at least one of said plurality of portions and using said data dependence model, at least one unnecessary variable loaded in one of said plurality of user interface screens and not used in a respective said portion and in a group of portions depending on said respective portion, wherein said at least one unnecessary variable appears in said code implementing said user interface screen of said portion.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for performing data flow analysis of computer code, comprising: providing computer code of a computer program having a plurality of user interface screens; dividing the computer code to a plurality of portions such that each one of the portions includes code for inducing at least one of loading and using one of the user interface screens; performing a variable usage analysis to detect which variables are at least one of calculated and used in each one of the portions; constructing a data dependence model defining dependencies among the portions based on the variable usage analysis; and identifying, for at least one of the portions and using the data dependence model, at least one unnecessary variable loaded in one of the user interface screens and not used in a respective portion and in a group of portions depending on the respective portion.
7 Citations
20 Claims
-
1. A method for performing data flow analysis of computer code, comprising:
-
providing computer code of a computer program having a plurality of user interface screens; dividing said computer code to a plurality of portions according to said plurality of user interface screens, wherein each of said plurality of portions is related to another one of said plurality of user interface screens and includes code for inducing at least one of loading and using of said another one of said plurality of user interface screens and wherein an execution flow from each one of said plurality of portions to another one of said plurality of portions is associated with a transition from a respective first user interface screen to a respective second user interface screen; performing a variable usage analysis to detect which variables are at least one of calculated and used in each one of said plurality of portions; constructing a data dependence model defining dependencies among said plurality of portions based on said variable usage analysis, wherein said data dependence model includes data variables that are transferred between code implementing said user interface screens of said plurality of portions; and identifying, for at least one of said plurality of portions and using said data dependence model, at least one unnecessary variable loaded in one of said plurality of user interface screens and not used in a respective said portion and in a group of portions depending on said respective portion, wherein said at least one unnecessary variable appears in said code implementing said user interface screen of said portion. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for performing data flow analysis of computer code, comprising:
-
a processor; a non-transitory computer readable medium comprising computer executable instructions executable by the processor, comprising; instructions to divide a computer code of a computer program, having a plurality of user interface screens, to a plurality of portions according to said plurality of user interface screens, wherein each of said plurality of portions is related to another one of said plurality of user interface screens and includes code for inducing at least one of loading and using of said another one of said plurality of user interface screens and wherein an execution flow from each one of said plurality of portions to another one of said plurality of portions is associated with a transition from a respective first user interface screen to a respective second user interface screen; instructions to perform an analysis to detect which variables are at least one of calculated and used in each one of said plurality of portions instructions to construct a data dependence model among said plurality of portions based on said variables, wherein said data dependence model includes data variables that are transferred between code implementing said user interface screens of said plurality of portions; and instructions to identify, using said data dependence model, for at least one of said plurality of portions, at least one unnecessary variable loaded in one of said plurality of user interface screens and not used in a respective said portion and in a group of portions depending on said respective portion, wherein said at least one unnecessary variable appears in said code implementing said user interface screen of said portion. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer program product for performing data flow analysis of computer code, comprising:
-
a non-transitory computer readable storage medium; first program instructions to divide a computer code of a computer program, having a plurality of user interface screens, to a plurality of portions according to said plurality of user interface screens, wherein each of said plurality of portions is related to another one of said plurality of user interface screens and includes code for inducing at least one of loading and using of said another one of said plurality of user interface screens and wherein an execution flow from each one of said plurality of portions to another one of said plurality of portions is associated with a transition from a respective first user interface screen to a respective second user interface screen; second program instructions to perform a variable usage analysis to detect which variables are at least one of calculated and used in each one of said plurality of portions; third program instructions to construct a data dependence model defining dependencies among said plurality of portions based on said variable usage analysis, wherein said data dependence model includes data variables that are transferred between code implementing said user interface screens of said plurality of portions; and fourth program instructions to identify, for at least one of said plurality of portions and using said data dependence model, at least one unnecessary variable loaded in one of said plurality of user interface screens and not used in a respective said portion and in a group of portions depending on said respective portion, wherein said at least one unnecessary variable appears in said code implementing said user interface screen of said portion; wherein said first, second, third, and fourth program instructions are stored on said computer readable storage medium. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification