A process displays differences between design artifacts and object-oriented
code. The process includes the step of displaying a first design artifact
depicting an existing design of a first object, including an existing
method and an existing collaboration relationship with a second object.
The process continues by storing modified object oriented code
representing a modified design of the first object, including a modified
method. The process continues by displaying in a second design artifact,
results of design virtual machine execution of the modified method. Then
the process identifies a modified collaboration relationship with the
second object by analyzing a modified message from the modified method to
the second object. The process displays the modified collaboration
relationship with the second object by juxtaposing at least portions of
the first and second design artifacts. The modified collaboration
relationship can be displayed as highlighted by different shades of gray
or by different colors. The process can also display in the second design
artifact, changes in attributes of the first object or changes between the
existing method and the modified method of the first object. The design
artifact can be displayed as a CRC report format, as an Object Structure
Diagram format, or an Object Interaction Diagram format.
Un processus montre des différences entre les objets façonnés de conception et le code orienté objectivement. Le processus inclut l'étape de montrer un premier objet façonné de conception dépeignant une conception existante d'un premier objet, y compris une méthode existante et un rapport existant de collaboration avec un deuxième objet. Le processus continue en stockant le code orienté par objet modifié représentant une conception modifiée du premier objet, y compris une méthode modifiée. Le processus continue en montrant dans un deuxième objet façonné de conception, résultats de l'exécution virtuelle de machine de conception de la méthode modifiée. Alors le processus identifie un rapport modifié de collaboration avec le deuxième objet en analysant un message modifié de la méthode modifiée avec le deuxième objet. Le processus montre le rapport modifié de collaboration avec le deuxième objet en juxtaposant au moins des parties des premiers et deuxièmes objets façonnés de conception. Le rapport modifié de collaboration peut être montré comme accentué par différentes nuances de gris ou par différentes couleurs. Le processus peut également montrer dans le deuxième objet façonné de conception, des changements des attributs du premier objet ou des changements entre la méthode existante et la méthode modifiée du premier objet. L'objet façonné de conception peut être montré comme format de rapport de CRC, comme un format de diagramme de structure d'objet, ou format de diagramme d'interaction d'objet.