Early analysis of software design diagrams
AssigneeInfosys Technologies Limited
InventorsNaresh Balaram Choudhary, Mursheid Khan
Life of this patent
Estimating the term…
Abstract
Methods, apparatus, and computer-readable media for analyzing the prospective quality of source code produced according to a class representation (e.g., a UML class diagram) are disclosed. According to one embodiment, a class-level representation of a software application is received, one or more object classes of the class-level representation are selected, and a number of quality metrics are calculated for the selected object classes. The quality metrics can be output as a report or used to modify object classes of the class representation to improve the prospective quality of source code produced according to the class representation.
Claims20
A method of automatically reporting quality metrics for a class-level representation of a software application, the method comprising:
- receiving the class-level representation of the software application, the class-level representation defining a graph including one or more object classes;
- using a computer, selecting one or more of the object classes and calculating one or more software application quality metrics for the selected object classes indicative of prospective quality of source code produced in accordance with the class-level representation;
- and
- outputting a report, the report including data based on the quality metrics.
A method of applying one or more quality metrics to one or more UML diagrams for a software application, the method comprising:
- receiving the UML diagrams, the diagrams including one or more object classes;
- calculating one or more software application quality metrics for a selected one or more of the object classes indicative of prospective quality of source code produced in accordance with the class-level representation;
- and
- modifying at least one of the object classes of the UML diagrams based on at least one of the quality metrics to produce one or more updated object classes.
A computing system, comprising:
- one or more processors;
- one or more input devices;
- one or more output devices;
- and
- one or more computer-readable storage media storing computer-executable instructions, the computer-executable instructions comprising:
- instructions for loading a class-level representation of a software application, the class-level representation defining one or more object classes, and
- instructions for selecting one or more of the object classes and calculating one or more software application quality metrics for the selected object classes indicative of prospective quality of source code produced in accordance with the class-level representation.
Dependencies are inferred from the claim text.