Method and system for displaying changes of source code
AssigneeBorland Software Corporation
InventorsPeter Coad, Dietrich Charisius
Life of this patent
Estimating the term…
Abstract
Methods and systems consistent with the present invention provide an improved software development tool which displays versions of source code with the indications of the edits in a graphical representation, wherein the graphical representation of the source code is not merely a text representation on a user interface. Each version reflects an instance in an edit history, i.e., reflects the changes made to the source code.
Claims30
A method in a data processing system for displaying versions of a source code, each version reflecting an instance in an edit history, the method comprising the steps of:
- determining the language of the source code;
- storing indications of the edits to the source code;
- converting the source code with the indications of the edits from the language into a language-neutral representation that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member;
- and
- using language-neutral representation to simultaneously display a text representation and a corresponding graphical representation of the converted source code with the indications of the edits, showing visual differences of the source code through time,
- wherein the graphical representation of the converted source code displays a diagrammatic representation of the source code to demonstrate relationships between elements of the source code, and
- wherein the graphical representation of the source code is not an alpha-numeric display and is not merely a text representation on a user interface, and calculating metrics selected from a group consisting of basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and maximum metrics by way of a quality assurance module, which monitors the modifications to the source code.
A method in a data processing system for displaying versions of a source code, the method comprising the steps of:
- storing an edit to the source code;
- and
- displaying simultaneously a text representation and a
- corresponding language-neutral graphical representation of the source code that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member with an indication of the edit,
- wherein the language-neutral graphical representation of the source code displays a diagrammatic representation of the source code demonstrating relationships between elements of the source code, and
- wherein the language-neutral graphical representation of the source code is not an alpha-numeric numeric display and is not merely a text representation on a user interface, and
- calculating metrics selected from a group consisting of basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and maximum metrics by way of a quality assurance module, which monitors the modifications to the source code.
A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having versions of a source code, each version reflecting an instance in an edit history, the method comprising the steps of:
- determining a language of the source code;
- storing indications of the edits to the source code;
- converting the source code with the indications of the edits from the language into a language-neutral representation that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member;
- and
- using the language-neutral representation to simultaneously display a text representation and a corresponding graphical representation of the source code with indications of all the edits;
- wherein the graphical representation of the source code displays a diagrammatic representation of the source code demonstrating relationships between elements of the source code, and
- wherein the graphical representation of the source code is not an alpha-numeric display and is not merely a text representation on a user interface, and
- calculating metrics selected from a group consisting of basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and maximum metrics by way of a quality assurance module, which monitors the modifications to the source code.
A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having versions of a source code, each version reflecting an instance in an edit history, the method comprising the steps of:
- storing indications of the edits to the source code;
- and
- displaying simultaneously a text representation and a language-neutral graphical representation of
- the source code that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member with indications of all the edits, wherein the language-neutral graphical representation of the source code of the source code displays
- a diagrammatic representation of the source code to demonstrate relationships between elements of the source code, and
- wherein the language-neutral graphical representation of the source code is not an
- alpha-numeric display and is not merely a text representation on a user interface, and
- calculating metrics selected from a group consisting of basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and maximum metrics by way of a quality assurance module, which monitors the modifications to the source code.
A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a source code, the method comprising the steps of:
- storing an edit to the source code;
- displaying simultaneously a text representation and a language-neutral graphical representation of the source code that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member with indications of all the edits,
- wherein the language-neutral graphical representation of the source code displays a diagrammatic representation of the source code to demonstrate relationships between elements of the source code, and
- wherein the language-neutral graphical representation of the source code is not an alpha-numeric display and is not merely a text representation on a user interface, and
- calculating metrics selected from a group consisting of cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and maximum metrics by way of a quality assurance module, which monitors the modifications to the source code.
A data processing system comprising:
- a secondary storage including a source code;
- a memory device including:
- a program that stores indications of edits to the source code into the memory device, and that simultaneously displays a text representation and a corresponding language-neutral graphical representation of the source code that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member with indications of all edits,
- wherein the language-neutral graphical representation of the source code displays a diagrammatic representation of the source code to demonstrate relationships between elements of the source code, and
- wherein the language-neutral graphical representation of the source code is not an alpha-numeric display and is not merely a text representation on a user interface of the source code with the indications of the edits;
- a quality assurance module which monitors the modifications to the source code and calculates metrics selected from a group consisting of basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics polymorphism metrics, and maximum metrics;
- and
- a processor for running the program.
A system for displaying versions of a source code, each version reflecting an instance in an edit history, the system comprising:
- means for storing indications of the edits to the source code;
- and
- means for simultaneously displaying a text representation and a language-neutral graphical representation of the source code that includes a data structure having a source code interface (SCI) model, an SCI package, an SCI class, and an SCI member with the indications of all the edits,
- wherein the graphical representation of the source code displays
- a diagrammatic representation of the source code to demonstrate
- relationships between elements of the source code, and
- wherein the graphical representation of the source code is not an alpha-numeric display and is not merely a text representation on a user interface, and
- a means for calculating metrics selected from a group consisting of basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and maximum metrics.
Dependencies are inferred from the claim text.