System and method for visualizing software programs
AssigneeInstitute for Information Industry
InventorsShin-Jie LEE, Jonathan LEE, Jing Fung CHEN
Life of this patent
Estimating the term…
Abstract
A system and a method for visualizing a software program are provided. The system is configured to store the software program and its change logs. The system is further configured to generate a visualization structure of the software program according to at least one of Data Clumps information, Divergence Change information and Shotgun Surgery information, and display the software program according to the visualization structure. The method is applied to the system to implement the operations.
Claims14
A system for visualizing a software program, comprising:
- a storage device, being configured to store the software program and change logs thereof, wherein the software program comprises a plurality of class codes, each of the class codes comprises a plurality of method codes, and each of the method codes comprises a plurality of parameters;
- a processing device, being configured to create a visualization structure of the software program according to at least one of Data Clumps information, Divergence Change information and Shotgun Surgery information;
- and
- a display device, being configured to display the software program according to the visualization structure,
- wherein the processing device calculates correlations between attributes of the class codes to detect Data Clumps of the software program and obtain the Data Clumps information therefrom, calculates correlations between the method codes according to the change logs to detect Divergence Change of the software program and obtain the Divergence Change information therefrom, and calculates correlations between the class codes according to the change logs to detect Shotgun Surgery of the software program and obtain the Shotgun Surgery information therefrom.
A method for visualizing a software program, comprising the following steps:
- (a) a storage device storing the software program and change logs thereof, wherein the software program comprises a plurality of class codes, each of the class codes comprises a plurality of method codes, and each of the method codes comprises a plurality of parameters;
- (b) a processing device creating a visualization structure of the software program according to at least one of Data Clumps information, Divergence Change information and Shotgun Surgery information, wherein the processing device calculates correlations between attributes of the class codes to detect Data Clumps of the software program and obtain the Data Clumps information therefrom, calculates correlations between the method codes according to the change logs to detect Divergence Change of the software program and obtain the Divergence Change information therefrom, and calculates correlations between the class codes according to the change logs to detect Shotgun Surgery of the software program and obtain the Shotgun Surgery information therefrom;
- and
- (c) a display device displaying the software program according to the visualization structure.
Dependencies are inferred from the claim text.