US20140137076A1 - Indicating hierarchy diversion in a class diagram - Google Patents
Indicating hierarchy diversion in a class diagram Download PDFInfo
- Publication number
- US20140137076A1 US20140137076A1 US13/675,296 US201213675296A US2014137076A1 US 20140137076 A1 US20140137076 A1 US 20140137076A1 US 201213675296 A US201213675296 A US 201213675296A US 2014137076 A1 US2014137076 A1 US 2014137076A1
- Authority
- US
- United States
- Prior art keywords
- class
- parent
- child
- similarity value
- contained
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/75—Structural analysis for program understanding
Definitions
- UML Unified Modeling Language
- UML is a standardized general-purpose modeling language used in the development of object-oriented software.
- UML includes a set of graphic notation techniques to create visual models of object-oriented software systems.
- UML is used to generate a UML model and a set of UML diagrams of the system.
- the UML diagrams typically include a static view, which emphasizes the static structure of the system using objects, attributes, operations and relationships, and a dynamic view, which emphasizes the dynamic behavior of the system by showing collaborations among objects and changes to the internal states of the objects.
- the static view includes class diagrams and composite structure diagrams. Class diagrams, in particular, show the classes of a system, their interrelationships (including inheritance, aggregation, and association), and the operations and attributes of the classes. Class diagrams help software developers to understand the way the inheritance is implemented in the program code of a software system.
- One or more embodiments disclosed within this specification relate to indicating hierarchy diversion in a class diagram.
- An embodiment can include identifying a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. For at least one child class in the class hierarchy that is a child of the parent class, a parent-child similarity value corresponding to a parent-child diversion of the child class from the parent class can be calculated via a processor.
- the class diagram can be generated.
- the class diagram can indicate at least the parent class, the child class and the parent-child similarity value.
- the class diagram can be presented.
- Another embodiment can include identifying a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. For at least one pair of sibling child classes in the class hierarchy, a sibling similarity value corresponding to a similarity of the sibling child classes can be calculated via a processor.
- the class diagram can be generated.
- the class diagram can indicate the parent class, the sibling child classes and the sibling similarity value.
- the class diagram can be presented.
- Another embodiment can include a system having a processor.
- the processor can be configured to initiate executable operations including identifying a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. For at least one child class in the class hierarchy that is a child of the parent class, a parent-child similarity value corresponding to a parent-child diversion of the child class from the parent class can be calculated.
- the class diagram can be generated.
- the class diagram can indicate at least the parent class, the child class and the parent-child similarity value.
- the class diagram can be presented.
- the computer program product can include a computer-readable storage medium having stored thereon program code that, when executed, configures a processor to perform operations including identifying, by the processor, a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class.
- the operations further can include, for at least one child class in the class hierarchy that is a child of the parent class, calculating, by the processor, a parent-child similarity value corresponding to a parent-child diversion of the child class from the parent class.
- the operations also can include generating, by the processor, the class diagram, the class diagram indicating at least the parent class, the child class and the parent-child similarity value.
- the operations also can include presenting, by the processor, the class diagram.
- FIG. 1 is a block diagram depicting an example of a class diagram that indicates hierarchy diversion in accordance with one embodiment disclosed within this specification.
- FIG. 2 is a flow chart illustrating a method of indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification.
- FIG. 3 is a block diagram illustrating a system for indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification.
- aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer-readable medium(s) having computer-readable program code embodied, e.g., stored, thereon.
- the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
- a computer-readable storage medium refers to a non-transitory storage medium.
- a computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
- a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
- a computer-readable signal medium may be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber, cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as JavaTM, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- LAN local area network
- WAN wide area network
- Internet Service Provider an Internet Service Provider
- These computer program instructions may also be stored in a computer-readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- Arrangements described herein relate to indicating hierarchy diversion in a class diagram.
- a user can select a class contained in computer program code to be presented in the class diagram.
- a class inheritance structure can be identified in the program code, and a class diagram can be generated which indicates the class hierarchy.
- the class diagram can indicate the selected class, which with respect the class hierarchy is a parent class, and one or more child classes related to the parent class.
- a parent-child similarity value can be generated that corresponds to a parent-child diversion of the child class with its parent class. This parent-child similarity value can be indicated in the class diagram.
- parent-child similarity value means a value that indicates a level of similarity between a child class and a parent class based on a comparison of functions (e.g., methods) and/or variables contained in the child class to functions and/or variables contained in the parent class.
- class means a computer program construct that is used to create one or more instances of itself.
- user means a person (i.e., human being).
- function encompasses methods, routines, subroutines or procedures associated with a class.
- FIG. 1 is a block diagram depicting an example of a class diagram 100 that indicates hierarchy diversion in accordance with one embodiment disclosed within this specification.
- the class diagram 100 can be generated when a user selects a class, such as “Class A” contained in program code to be presented in the class diagram.
- the class diagram 100 can present the Class A and children of Class A, such as Class A 1 and Class A 2 .
- the class diagram 100 also can present children of Class A 1 and Class A 2 , such as Class A 11 and Class A 12 , and Class A 21 and Class A 22 , respectively.
- the class diagram further can present children of Classes A 11 -A 22 , and children of such classes, etc.
- the relationships between the classes A, A 1 , A 2 , A 11 , A 12 , A 2 , A 22 can be depicted in the class diagram 100 in any suitable manner, for example using lines 130 , 132 , 134 , 136 , 138 , 140 or other suitable indicators.
- the computer program code can be processed to calculate, via a processor, respective parent-child similarity values corresponding to parent-child diversions of child classes from their parent classes, and these parent-child similarity values can be presented in the class diagram 100 .
- sibling child classes can be identified. For at least one pair of sibling child classes in the class hierarchy, a sibling similarity value corresponding to a similarity of the sibling child classes can be calculated and indicated in the class diagram 100 .
- Class A includes one or more functions and one or more variables.
- the functions can be methods, which are subroutines or procedures associated with Class A.
- the class diagram 100 can indicate such functions and variables in a text box 150 (e.g., Method 1 , Method 2 , Method 3 , VarA and VarB) associated with Class A.
- the class diagram 100 also can indicate functions and variables of Class A which are passed to the children of Class A, for example Class A 1 and Class A 2 , and the changes and/or additions to the functions/variables implemented by the classes A 1 and A 2 .
- the class diagram 100 can indicate a text box 152 associated with the Class A 1 , and a test box 154 associated with the Class A 2 .
- the text box 152 can indicate changes to the functions and/or variables of Class A as implemented by Classes A 1 and A 2 .
- a text box 152 associated with Class A 1 can indicate the Method 1 is overridden, the Method 3 is extended, a Method 4 has been added, etc. with respect to Class A 1 .
- a text box 154 associated with Class A 2 can indicate changes to the functions and/or variables of Class A as implemented by Class A 2 .
- the text box 154 can indicate the Method 1 is overridden, the Method 2 is extended, a Method 5 is added, and a Variable (VarC) is added.
- Changes to the functions and/or variables of Class A 1 as implemented by Classes A 11 and A 12 can be indicated in respective text boxes 156 , 158 , for example as previously described.
- changes to the functions and/or variables of Class A 2 as implemented by Classes A 21 and A 22 can be indicated in respective text boxes 160 , 162 , for example as previously described.
- the class diagram 100 can indicate at least one parent-child similarity value between at least one parent class and at least one child class presented in the class diagram 100 .
- the class diagram 100 can include text boxes 170 , 172 , 174 , 176 , 178 including respective parent-child similarity values for child Classes A 1 , A 2 , A 11 , A 12 , A 21 and A 22 .
- a text box 170 can be associated with Class A 1 that indicates a parent-child similarity value corresponding to a parent-child diversion of the child Class A 1 from its parent Class A, and the text box 170 can be presented in the class diagram 100 .
- a text box 172 can be associated with Class A 2 that indicates a parent-child similarity value corresponding to a parent-child diversion of the child Class A 2 from its parent Class A, and the text box 172 can be presented in the class diagram 100 .
- text boxes 174 , 176 , 178 , 180 can be associated with the respective Classes A 11 , A 12 , A 21 , A 212 to indicate corresponding parent-child similarity values between the Classes A 11 , A 12 , A 21 , A 212 and their respective parent Classes A 1 , A 2 .
- the parent-child similarity value can be calculated using any suitable algorithm.
- the parent-child similarity value can be calculated using the following equation:
- the parent-child similarity value can be equal to the similarity value S (e.g., as a percentage of similarity). In another arrangement, the parent-child similarity value can be equal to 1 ⁇ S, in which case the parent-child similarity value can represent a divergence value (e.g., as a percentage of divergence). Regardless of whether the parent-child similarity value is represented by a similarity value or a divergence value, since the similarity value and divergence value directly correlate to one another, both are examples of the parent-child similarity value and represent the hierarchy diversion in the class diagram 100 .
- the parent-child similarity value is equal to S
- the parent-child similarity value is equal to 92%.
- the parent-child similarity value is equal to 1 ⁇ S
- the parent-child similarity value is equal to 8%.
- the parent-child similarity value can be indicated in the text box 170 .
- the computed value of S may be negative (i.e., less than zero). In such cases, the value of S can be rounded up to be zero.
- the parent-child similarity value for each child Class A 1 , A 2 , A 11 , A 12 , A 21 , A 22 can be computed as a standard deviation value based on the respective similarity values.
- the respective similarity values can be determined for each Class A 1 , A 2 , A 11 , A 12 , A 21 , A 22 , and based on the total of these similarity values, respective standard deviation values for each Class A 1 , A 2 , A 11 , A 12 , A 21 , A 22 can be computed and assigned to the respective Classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 as the parent-child similarity values.
- a level of divergence of the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 from their respective parent classes A, A 1 , A 2 can be indicated by representing the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 in the class diagram 100 with color or highlighting applied to the respective nodes 182 , 184 , 186 , 188 , 190 , 192 representing the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 .
- Color or highlighting also can be applied to the node 194 representing the parent class A, though this is not a requirement.
- lighter colors or highlighting can be applied to nodes 182 , 184 , 186 , 188 , 190 , 192 representing the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 with relatively low levels of divergence from (or high similarity to) their parent classes A, A 1 , A 2 , medium colors or highlighting can be applied to nodes 182 , 184 , 186 , 188 , 190 , 192 representing the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 with relatively moderate levels of divergence from (or similarity to) their parent classes A, A 1 , A 2 , and darker colors or highlighting can be applied to nodes 182 , 184 , 186 , 188 , 190 , 192 representing the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 with relatively high levels of divergence from (or low similarity to) their
- a sibling similarity value can be determined for one or more siblings in the class diagram 100 .
- siblings in the class diagram 100 are classes which depend directly from a common class and are at the same class hierarchy level.
- the Classes A 11 and A 12 both directly depend from the Class A 1 , and are at the same hierarchy level.
- the Classes A 11 and A 12 can be considered to be sibling classes.
- Classes A 21 and A 22 both directly depend from the Class A 2 , and are at the same hierarchy level.
- the Classes A 21 and A 22 can be considered to be sibling classes.
- the text boxes 170 - 178 can indicate respective sibling similarity values.
- Class A 1 includes Method 1 , Method 2 , Method 3 , Method 4 , VarA and VarB.
- the sibling similarity value can be S (e.g., 67%), or 1 ⁇ S (e.g., 33%).
- the sibling similarity value can be identified in the text box 174 and/or the text box 176 .
- the sibling similarity value for the Class A 11 and the Class A 12 is the same, the sibling similarity value need only be presented in the text box 174 or the text box 176 , but not both. Nonetheless, the sibling similarity value can be included in both text boxes 174 , 176 and the present arrangements are not limited in this regard.
- highlighting or colors can be applied to nodes 182 , 184 , 186 , 188 , 190 , 192 representing the child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 to indicate the divergence and/or similarity between sibling child classes A 1 , A 2 , A 11 , A 12 , A 21 , A 22 .
- Such highlighting or colors can be selected in a manner similar to that previously described.
- FIG. 2 is a flow chart illustrating a method 200 of indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification.
- a user can select a class contained in computer program code. For example, via a graphical user interface (GUI) the user can view the computer program code or a flow diagram representing the computer program code, and select the class directly from the computer program code or the flow diagram.
- GUI graphical user interface
- a determination can be made as to whether the selected class is inherited (e.g., by one or more other classes in the computer program code). If not, the process can proceed to step 206 and end. If the selected class is inherited, the selected class can be identified as a parent class.
- a class inheritance structure for the parent class can be identified to determine a class hierarchy corresponding to the parent class.
- a parent-child similarity value can be calculated.
- the parent-child similarity value can correspond to a parent-child diversion of the child class from the parent class. Any of a myriad of parameters can be evaluated to determine the parent-child similarity value.
- Such parameters can include, but are not limited to, a number of functions contained the child class that are not contained in the parent class, a number of functions contained the child class that extend functions contained in the parent class, a number of functions contained the child class that override corresponding functions contained in the parent class, a number of functions contained the parent class that are not contained in the child class, a number of abstract functions implemented in the parent class, a number of variables contained the child class that are not contained in the parent class, a number of variables contained the parent class that are not processed in the child class, a number of variables contained the child class whose type is changed in the child class from a type indicated in the parent class, a number of variables contained the child class whose initialization is modified in comparison to the parent class and/or the like.
- At least one pair of sibling child classes in the class hierarchy can be identified.
- a sibling similarity value corresponding to a similarity of the sibling child classes can be calculated.
- a class diagram can be generated.
- the class diagram can indicate the parent class and one or more child classes.
- one or more children of the parent class may themselves be parents to additional child classes, and such additional child classes can be included in the class diagram.
- the class diagram further can indicate the parent-child similarity value(s).
- the class diagram further can indicate the sibling similarity values.
- the class diagram also can indicate the differences between functions and/or variables of the child class(es) and functions and/or variables of the parent class(es).
- the class diagram can be presented to the user.
- FIG. 3 is a block diagram illustrating a processing system 300 for indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification.
- the processing system 300 can include at least one processor 305 (e.g., a central processing unit) coupled to memory elements 310 through a system bus 315 or other suitable circuitry.
- the processing system 300 can store program code within the memory elements 310 .
- the processor 305 can execute the program code accessed from the memory elements 310 via the system bus 315 .
- the processing system 300 can be implemented in the form of any system including a processor and memory that is capable of performing the functions and/or operations described within this specification.
- the processing system 300 can be implemented as a computer, a workstation, a mobile computer, a laptop computer, tablet computer, a smart phone, a personal digital assistant, a gaming device, an appliance, and so on.
- the memory elements 310 can include one or more physical memory devices such as, for example, local memory 320 and one or more bulk storage devices 325 .
- Local memory 320 refers to RAM or other non-persistent memory device(s) generally used during actual execution of the program code.
- the bulk storage device(s) 325 can be implemented as a hard disk drive (HDD), solid state drive (SSD), or other persistent data storage device.
- the processing system 300 also can include one or more cache memories (not shown) that provide temporary storage of at least some program code in order to reduce the number of times program code must be retrieved from the bulk storage device 325 during execution.
- I/O devices such as a keyboard 330 , a display 335 , a pointing device 340 and, optionally, a network adapter 345 can be coupled to the processing system 300 .
- the I/O devices can be coupled to the processing system 300 either directly or through intervening I/O controllers.
- the display 335 can be coupled to the processing system 300 via a graphics processing unit (GPU), which may be a component of the processor 305 or a discrete device.
- the network adapters 345 can enable processing system 300 to become coupled to other systems, computer systems, remote printers, and/or remote storage devices through intervening private or public networks. Modems, cable modems, and Ethernet cards are examples of different types of network adapters 345 that can be used with processing system 300 .
- the memory elements 310 can store a program code development application/environment 350 that performs the methods/processes described herein, for example to generate the class diagram 100 of FIG. 1 and to implement the method 200 described in FIG. 2 .
- the program code development application/environment 350 can be executed by the processing system 300 and, as such, can be considered part of the processing system 300 .
- the program code development application/environment 350 comprises functional data structures that impart functionality described herein when employed as part of the processing system of FIG. 3 .
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- the term “plurality,” as used herein, is defined as two or more than two.
- the term “another,” as used herein, is defined as at least a second or more.
- the term “coupled,” as used herein, is defined as connected, whether directly without any intervening elements or indirectly with one or more intervening elements, unless otherwise indicated. Two elements also can be coupled mechanically, electrically, or communicatively linked through a communication channel, pathway, network, or system.
- the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will also be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms, as these terms are only used to distinguish one element from another unless stated otherwise or the context indicates otherwise.
- if may be construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context.
- phrase “if it is determined” or “if [a stated condition or event] is detected” may be construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event],” depending on the context.
Abstract
Description
- Arrangements described herein relate to the Unified Modeling Language (UML) and, more particularly, class diagrams.
- UML is a standardized general-purpose modeling language used in the development of object-oriented software. UML includes a set of graphic notation techniques to create visual models of object-oriented software systems. For a particular system, UML is used to generate a UML model and a set of UML diagrams of the system. The UML diagrams typically include a static view, which emphasizes the static structure of the system using objects, attributes, operations and relationships, and a dynamic view, which emphasizes the dynamic behavior of the system by showing collaborations among objects and changes to the internal states of the objects. The static view includes class diagrams and composite structure diagrams. Class diagrams, in particular, show the classes of a system, their interrelationships (including inheritance, aggregation, and association), and the operations and attributes of the classes. Class diagrams help software developers to understand the way the inheritance is implemented in the program code of a software system.
- One or more embodiments disclosed within this specification relate to indicating hierarchy diversion in a class diagram.
- An embodiment can include identifying a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. For at least one child class in the class hierarchy that is a child of the parent class, a parent-child similarity value corresponding to a parent-child diversion of the child class from the parent class can be calculated via a processor. The class diagram can be generated. The class diagram can indicate at least the parent class, the child class and the parent-child similarity value. The class diagram can be presented.
- Another embodiment can include identifying a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. For at least one pair of sibling child classes in the class hierarchy, a sibling similarity value corresponding to a similarity of the sibling child classes can be calculated via a processor. The class diagram can be generated. The class diagram can indicate the parent class, the sibling child classes and the sibling similarity value. The class diagram can be presented.
- Another embodiment can include a system having a processor. The processor can be configured to initiate executable operations including identifying a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. For at least one child class in the class hierarchy that is a child of the parent class, a parent-child similarity value corresponding to a parent-child diversion of the child class from the parent class can be calculated. The class diagram can be generated. The class diagram can indicate at least the parent class, the child class and the parent-child similarity value. The class diagram can be presented.
- Another embodiment can include a computer program product for hierarchy diversion in a class diagram. The computer program product can include a computer-readable storage medium having stored thereon program code that, when executed, configures a processor to perform operations including identifying, by the processor, a class inheritance structure for at least one parent class contained in computer program code to determine a class hierarchy corresponding to the parent class. The operations further can include, for at least one child class in the class hierarchy that is a child of the parent class, calculating, by the processor, a parent-child similarity value corresponding to a parent-child diversion of the child class from the parent class. The operations also can include generating, by the processor, the class diagram, the class diagram indicating at least the parent class, the child class and the parent-child similarity value. The operations also can include presenting, by the processor, the class diagram.
-
FIG. 1 is a block diagram depicting an example of a class diagram that indicates hierarchy diversion in accordance with one embodiment disclosed within this specification. -
FIG. 2 is a flow chart illustrating a method of indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification. -
FIG. 3 is a block diagram illustrating a system for indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification. - As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer-readable medium(s) having computer-readable program code embodied, e.g., stored, thereon.
- Any combination of one or more computer-readable medium(s) may be utilized. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium refers to a non-transitory storage medium. A computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- A computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber, cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java™, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer, other programmable data processing apparatus, or other devices create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer program instructions may also be stored in a computer-readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- For purposes of simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numbers are repeated among the figures to indicate corresponding, analogous, or like features.
- Arrangements described herein relate to indicating hierarchy diversion in a class diagram. Specifically, a user can select a class contained in computer program code to be presented in the class diagram. In response, a class inheritance structure can be identified in the program code, and a class diagram can be generated which indicates the class hierarchy. Specifically, the class diagram can indicate the selected class, which with respect the class hierarchy is a parent class, and one or more child classes related to the parent class. For at least one of the child classes, a parent-child similarity value can be generated that corresponds to a parent-child diversion of the child class with its parent class. This parent-child similarity value can be indicated in the class diagram.
- As used herein, the term “parent-child similarity value” means a value that indicates a level of similarity between a child class and a parent class based on a comparison of functions (e.g., methods) and/or variables contained in the child class to functions and/or variables contained in the parent class. As used herein, the term “class” means a computer program construct that is used to create one or more instances of itself. As used herein, the term “user” means a person (i.e., human being). As used herein, the term function encompasses methods, routines, subroutines or procedures associated with a class.
-
FIG. 1 is a block diagram depicting an example of a class diagram 100 that indicates hierarchy diversion in accordance with one embodiment disclosed within this specification. The class diagram 100 can be generated when a user selects a class, such as “Class A” contained in program code to be presented in the class diagram. The class diagram 100 can present the Class A and children of Class A, such as Class A1 and Class A2. The class diagram 100 also can present children of Class A1 and Class A2, such as Class A11 and Class A12, and Class A21 and Class A22, respectively. The class diagram further can present children of Classes A11-A22, and children of such classes, etc. The relationships between the classes A, A1, A2, A11, A12, A2, A22 can be depicted in the class diagram 100 in any suitable manner, forexample using lines - The computer program code can be processed to calculate, via a processor, respective parent-child similarity values corresponding to parent-child diversions of child classes from their parent classes, and these parent-child similarity values can be presented in the class diagram 100. Moreover, sibling child classes can be identified. For at least one pair of sibling child classes in the class hierarchy, a sibling similarity value corresponding to a similarity of the sibling child classes can be calculated and indicated in the class diagram 100.
- Continuing with the present example, assume Class A includes one or more functions and one or more variables. In this example, the functions can be methods, which are subroutines or procedures associated with Class A. The class diagram 100 can indicate such functions and variables in a text box 150 (e.g., Method1, Method2, Method3, VarA and VarB) associated with Class A. The class diagram 100 also can indicate functions and variables of Class A which are passed to the children of Class A, for example Class A1 and Class A2, and the changes and/or additions to the functions/variables implemented by the classes A1 and A2. In illustration, the class diagram 100 can indicate a
text box 152 associated with the Class A1, and atest box 154 associated with the Class A2. - The
text box 152 can indicate changes to the functions and/or variables of Class A as implemented by Classes A1 and A2. By way of example, atext box 152 associated with Class A1 can indicate the Method1 is overridden, the Method3 is extended, a Method4 has been added, etc. with respect to Class A1. Similarly, atext box 154 associated with Class A2 can indicate changes to the functions and/or variables of Class A as implemented by Class A2. By way of example, thetext box 154 can indicate the Method1 is overridden, the Method2 is extended, a Method5 is added, and a Variable (VarC) is added. - Changes to the functions and/or variables of Class A1 as implemented by Classes A11 and A12 can be indicated in
respective text boxes respective text boxes - In addition to, or in lieu of the test boxes 152-162, the class diagram 100 can indicate at least one parent-child similarity value between at least one parent class and at least one child class presented in the class diagram 100. For example, the class diagram 100 can include
text boxes - In illustration, a
text box 170 can be associated with Class A1 that indicates a parent-child similarity value corresponding to a parent-child diversion of the child Class A1 from its parent Class A, and thetext box 170 can be presented in the class diagram 100. Similarly, atext box 172 can be associated with Class A2 that indicates a parent-child similarity value corresponding to a parent-child diversion of the child Class A2 from its parent Class A, and thetext box 172 can be presented in the class diagram 100. Likewise,text boxes - The parent-child similarity value can be calculated using any suitable algorithm. In one non-limiting example, the parent-child similarity value can be calculated using the following equation:
-
S=((m−m1)+(v−v1))*100/(m+v) - where:
-
- S=similarity value (e.g., as a percentage)
- m=total number of functions (e.g. methods) in a parent class
- m1=a sum of function diversion weights based on differences between a child class and the parent class
- v=a total number of variables in the parent class
- v1=a sum of variable diversion weights based on differences between the child class and the parent class
- Examples of the function diversion weights are provided in Table 1:
-
TABLE 1 Function added in child class: 0.15 Function extended in child class: 0.5 Function overridden: 0.20 Function deleted: 0.10 Abstract function implemented: 0.5
An abstract function is a function that is declared in a parent class without being implemented in the parent class, as is known to those skilled in the art. Examples of the variable diversion weights are provided in Table 2: -
TABLE 2 Variable added in child case: 0.15 Variable hidden in child case: 0.5 Variable type changed in child case: 0.10 Variable initialization modified in child case: 0.5 - In one arrangement, the parent-child similarity value can be equal to the similarity value S (e.g., as a percentage of similarity). In another arrangement, the parent-child similarity value can be equal to 1−S, in which case the parent-child similarity value can represent a divergence value (e.g., as a percentage of divergence). Regardless of whether the parent-child similarity value is represented by a similarity value or a divergence value, since the similarity value and divergence value directly correlate to one another, both are examples of the parent-child similarity value and represent the hierarchy diversion in the class diagram 100.
- By way of example, referring to Class A and Class A1, there are three (3) methods and two (2) variables defined in Class A. In comparison to Class A, in Class A1, Method1 is overridden, Method3 is extended, and Method4 is added. There are no changes to the variables. Hence, the similarity value S can be computed as ((3−(0.15+0.5+0.2))+(2−0))*100/(3+2)=92%. In the case that the parent-child similarity value is equal to S, the parent-child similarity value is equal to 92%. In the case that the parent-child similarity value is equal to 1−S, the parent-child similarity value is equal to 8%. The parent-child similarity value can be indicated in the
text box 170. - In some instances, the computed value of S may be negative (i.e., less than zero). In such cases, the value of S can be rounded up to be zero.
- In addition to, or in lieu of percentage values, the parent-child similarity value for each child Class A1, A2, A11, A12, A21, A22 can be computed as a standard deviation value based on the respective similarity values. In illustration, the respective similarity values can be determined for each Class A1, A2, A11, A12, A21, A22, and based on the total of these similarity values, respective standard deviation values for each Class A1, A2, A11, A12, A21, A22 can be computed and assigned to the respective Classes A1, A2, A11, A12, A21, A22 as the parent-child similarity values.
- Further, in one arrangement, a level of divergence of the child classes A1, A2, A11, A12, A21, A22 from their respective parent classes A, A1, A2 can be indicated by representing the child classes A1, A2, A11, A12, A21, A22 in the class diagram 100 with color or highlighting applied to the
respective nodes node 194 representing the parent class A, though this is not a requirement. In illustration, lighter colors or highlighting can be applied tonodes nodes nodes - In addition to, or in lieu of, determining the parent-child similarity value, a sibling similarity value can be determined for one or more siblings in the class diagram 100. As used herein, siblings in the class diagram 100 are classes which depend directly from a common class and are at the same class hierarchy level. In illustration, the Classes A11 and A12 both directly depend from the Class A1, and are at the same hierarchy level. Thus, the Classes A11 and A12 can be considered to be sibling classes. Similarly, Classes A21 and A22 both directly depend from the Class A2, and are at the same hierarchy level. Thus, the Classes A21 and A22 can be considered to be sibling classes. Accordingly, the text boxes 170-178 can indicate respective sibling similarity values.
- To determine the sibling similarity value between sibling classes, a determination can be made as to the total number of functions and variables provided by the parent class, and the total number of functions and variables from the parent class that are common to the sibling classes. By way of example, referring to sibling Classes A11 and A12, from Class A1, Method1, Method 4, VarA and VarB are not changed in the sibling Classes A11 and A12. Further, Class A1 includes Method1, Method2, Method3, Method 4, VarA and VarB. Hence, a similarity value (S) between sibling classes can be computed as ( 4/6)*100=67%. The sibling similarity value can be S (e.g., 67%), or 1−S (e.g., 33%). The sibling similarity value can be identified in the
text box 174 and/or thetext box 176. - In one arrangement, since the sibling similarity value for the Class A11 and the Class A12 is the same, the sibling similarity value need only be presented in the
text box 174 or thetext box 176, but not both. Nonetheless, the sibling similarity value can be included in bothtext boxes - In one arrangement, highlighting or colors can be applied to
nodes -
FIG. 2 is a flow chart illustrating amethod 200 of indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification. Atstep 202, a user can select a class contained in computer program code. For example, via a graphical user interface (GUI) the user can view the computer program code or a flow diagram representing the computer program code, and select the class directly from the computer program code or the flow diagram. At decision box 204, a determination can be made as to whether the selected class is inherited (e.g., by one or more other classes in the computer program code). If not, the process can proceed to step 206 and end. If the selected class is inherited, the selected class can be identified as a parent class. At step 208 a class inheritance structure for the parent class can be identified to determine a class hierarchy corresponding to the parent class. - At
step 210, for at least one child class in the class hierarchy that is a child of the parent class, via a processor, a parent-child similarity value can be calculated. The parent-child similarity value can correspond to a parent-child diversion of the child class from the parent class. Any of a myriad of parameters can be evaluated to determine the parent-child similarity value. Such parameters can include, but are not limited to, a number of functions contained the child class that are not contained in the parent class, a number of functions contained the child class that extend functions contained in the parent class, a number of functions contained the child class that override corresponding functions contained in the parent class, a number of functions contained the parent class that are not contained in the child class, a number of abstract functions implemented in the parent class, a number of variables contained the child class that are not contained in the parent class, a number of variables contained the parent class that are not processed in the child class, a number of variables contained the child class whose type is changed in the child class from a type indicated in the parent class, a number of variables contained the child class whose initialization is modified in comparison to the parent class and/or the like. - Optionally, at least one pair of sibling child classes in the class hierarchy can be identified. At step 212, for the at least one pair of sibling child classes in the class hierarchy, a sibling similarity value corresponding to a similarity of the sibling child classes can be calculated.
- At
step 214, a class diagram can be generated. The class diagram can indicate the parent class and one or more child classes. In this regard, one or more children of the parent class may themselves be parents to additional child classes, and such additional child classes can be included in the class diagram. The class diagram further can indicate the parent-child similarity value(s). In an arrangement in which the sibling similarity values corresponding to the similarity of the sibling child classes is calculated, the class diagram further can indicate the sibling similarity values. The class diagram also can indicate the differences between functions and/or variables of the child class(es) and functions and/or variables of the parent class(es). At step 216, the class diagram can be presented to the user. -
FIG. 3 is a block diagram illustrating aprocessing system 300 for indicating hierarchy diversion in a class diagram in accordance with an embodiment disclosed within this specification. Theprocessing system 300 can include at least one processor 305 (e.g., a central processing unit) coupled tomemory elements 310 through a system bus 315 or other suitable circuitry. As such, theprocessing system 300 can store program code within thememory elements 310. Theprocessor 305 can execute the program code accessed from thememory elements 310 via the system bus 315. It should be appreciated that theprocessing system 300 can be implemented in the form of any system including a processor and memory that is capable of performing the functions and/or operations described within this specification. For example, theprocessing system 300 can be implemented as a computer, a workstation, a mobile computer, a laptop computer, tablet computer, a smart phone, a personal digital assistant, a gaming device, an appliance, and so on. - The
memory elements 310 can include one or more physical memory devices such as, for example,local memory 320 and one or morebulk storage devices 325.Local memory 320 refers to RAM or other non-persistent memory device(s) generally used during actual execution of the program code. The bulk storage device(s) 325 can be implemented as a hard disk drive (HDD), solid state drive (SSD), or other persistent data storage device. Theprocessing system 300 also can include one or more cache memories (not shown) that provide temporary storage of at least some program code in order to reduce the number of times program code must be retrieved from thebulk storage device 325 during execution. - Input/output (I/O) devices such as a
keyboard 330, adisplay 335, apointing device 340 and, optionally, anetwork adapter 345 can be coupled to theprocessing system 300. The I/O devices can be coupled to theprocessing system 300 either directly or through intervening I/O controllers. For example, thedisplay 335 can be coupled to theprocessing system 300 via a graphics processing unit (GPU), which may be a component of theprocessor 305 or a discrete device. Thenetwork adapters 345 can enableprocessing system 300 to become coupled to other systems, computer systems, remote printers, and/or remote storage devices through intervening private or public networks. Modems, cable modems, and Ethernet cards are examples of different types ofnetwork adapters 345 that can be used withprocessing system 300. - As pictured in
FIG. 3 , thememory elements 310 can store a program code development application/environment 350 that performs the methods/processes described herein, for example to generate the class diagram 100 ofFIG. 1 and to implement themethod 200 described inFIG. 2 . Being implemented in the form of executable program code, the program code development application/environment 350 can be executed by theprocessing system 300 and, as such, can be considered part of theprocessing system 300. Moreover, the program code development application/environment 350 comprises functional data structures that impart functionality described herein when employed as part of the processing system ofFIG. 3 . - The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
- The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
- Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment disclosed within this specification. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
- The term “plurality,” as used herein, is defined as two or more than two. The term “another,” as used herein, is defined as at least a second or more. The term “coupled,” as used herein, is defined as connected, whether directly without any intervening elements or indirectly with one or more intervening elements, unless otherwise indicated. Two elements also can be coupled mechanically, electrically, or communicatively linked through a communication channel, pathway, network, or system. The term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will also be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms, as these terms are only used to distinguish one element from another unless stated otherwise or the context indicates otherwise.
- The term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” may be construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event],” depending on the context.
- The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the embodiments disclosed within this specification have been presented for purposes of illustration and description, but are not intended to be exhaustive or limited to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the embodiments of the invention. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the inventive arrangements for various embodiments with various modifications as are suited to the particular use contemplated.
Claims (13)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/675,296 US8914771B2 (en) | 2012-11-13 | 2012-11-13 | Indicating hierarchy diversion in a class diagram |
US14/025,007 US8918757B2 (en) | 2012-11-13 | 2013-09-12 | Indicating hierarchy diversion in a class diagram |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/675,296 US8914771B2 (en) | 2012-11-13 | 2012-11-13 | Indicating hierarchy diversion in a class diagram |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/025,007 Continuation US8918757B2 (en) | 2012-11-13 | 2013-09-12 | Indicating hierarchy diversion in a class diagram |
Publications (2)
Publication Number | Publication Date |
---|---|
US20140137076A1 true US20140137076A1 (en) | 2014-05-15 |
US8914771B2 US8914771B2 (en) | 2014-12-16 |
Family
ID=50683019
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/675,296 Active US8914771B2 (en) | 2012-11-13 | 2012-11-13 | Indicating hierarchy diversion in a class diagram |
US14/025,007 Expired - Fee Related US8918757B2 (en) | 2012-11-13 | 2013-09-12 | Indicating hierarchy diversion in a class diagram |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/025,007 Expired - Fee Related US8918757B2 (en) | 2012-11-13 | 2013-09-12 | Indicating hierarchy diversion in a class diagram |
Country Status (1)
Country | Link |
---|---|
US (2) | US8914771B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8918757B2 (en) | 2012-11-13 | 2014-12-23 | International Business Machines Corporation | Indicating hierarchy diversion in a class diagram |
CN105573906A (en) * | 2014-10-02 | 2016-05-11 | 财团法人资讯工业策进会 | System and method for visualizing software programs |
CN112817576A (en) * | 2021-01-26 | 2021-05-18 | 广州欢网科技有限责任公司 | Tree structure realization method and device and client |
JP7447674B2 (en) | 2020-05-22 | 2024-03-12 | 富士通株式会社 | Information processing program, information processing method, and information processing device |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9104389B2 (en) | 2011-10-18 | 2015-08-11 | International Business Machines Corporation | Hierarchical functional and variable composition diagramming of a programming class |
US10509564B2 (en) * | 2015-12-28 | 2019-12-17 | Netapp Inc. | Storage system interface |
US11334347B2 (en) * | 2020-05-04 | 2022-05-17 | International Business Machines Corporation | Cognitive build recovery from inter-code commit issues |
FI20205460A (en) * | 2020-05-05 | 2021-11-06 | Qentinel Oy | Smart code editor for detecting and visualizing deviations |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132996A1 (en) * | 1999-05-17 | 2009-05-21 | Invensys Systems, Inc. | Apparatus for control systems with objects that are associated with live data |
US20090157711A1 (en) * | 2000-01-21 | 2009-06-18 | Baer William J | Method and System for Managing Volumes Within a Compilation of Content |
US20100198612A1 (en) * | 2001-04-09 | 2010-08-05 | Streepy Jr Larry V | Method and system for interfacing with a multi-level data structure |
US20140075004A1 (en) * | 2012-08-29 | 2014-03-13 | Dennis A. Van Dusen | System And Method For Fuzzy Concept Mapping, Voting Ontology Crowd Sourcing, And Technology Prediction |
Family Cites Families (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5699310A (en) | 1990-06-29 | 1997-12-16 | Dynasty Technologies, Inc. | Method and apparatus for a fully inherited object-oriented computer system for generating source code from user-entered specifications |
JP3310116B2 (en) | 1994-08-31 | 2002-07-29 | 株式会社東芝 | Knowledge base system |
US6678880B1 (en) | 1995-05-08 | 2004-01-13 | Apple Computer, Inc. | System for iteratively designing an object heterarchy in an object-oriented computing environment |
US5822587A (en) * | 1995-10-20 | 1998-10-13 | Design Intelligence, Inc. | Method and system for implementing software objects |
US5802334A (en) | 1996-01-05 | 1998-09-01 | International Business Machines Corporation | Method for displaying object oriented class information and content information |
US6269475B1 (en) | 1997-06-02 | 2001-07-31 | Webgain, Inc. | Interface for object oriented programming language |
US6415435B1 (en) * | 1999-03-18 | 2002-07-02 | International Business Machines Corporation | Method and apparatus for determining compatibility of parent classes in an object oriented environment using versioning |
US6993759B2 (en) | 1999-10-05 | 2006-01-31 | Borland Software Corporation | Diagrammatic control of software in a version control system |
EP1292886A1 (en) | 2000-04-21 | 2003-03-19 | Togethersoft Corporation | Methods and systems for supporting and deploying distributed computing components |
US7370315B1 (en) | 2000-11-21 | 2008-05-06 | Microsoft Corporation | Visual programming environment providing synchronization between source code and graphical component objects |
US7194323B2 (en) | 2001-03-22 | 2007-03-20 | International Business Machines Corporation | Method and system for object oriented approach and data model for configure-to-order manufacturing system |
US7065745B2 (en) * | 2002-12-16 | 2006-06-20 | Sun Microsystems, Inc. | System and method for evaluating and executing hierarchies of rules |
US20050278362A1 (en) * | 2003-08-12 | 2005-12-15 | Maren Alianna J | Knowledge discovery system |
US7440954B2 (en) | 2004-04-09 | 2008-10-21 | Oracle International Corporation | Index maintenance for operations involving indexed XML data |
US7730450B2 (en) * | 2004-08-12 | 2010-06-01 | National Instruments Corporation | Automatic versioning and data mutation of user-defined data types |
US7734566B2 (en) | 2004-11-01 | 2010-06-08 | Sap Ag | Information retrieval method with efficient similarity search capability |
US7779384B2 (en) | 2004-12-22 | 2010-08-17 | International Business Machines Corporation | Managing visual renderings of typing classes in a model driven development environment |
US7814427B2 (en) | 2005-01-05 | 2010-10-12 | Microsoft Corporation | Object model tree diagram |
US7934192B2 (en) | 2005-12-15 | 2011-04-26 | International Business Machines Corporation | Computer method and apparatus for connection tree routing in visual modeling of software |
US8065655B1 (en) | 2006-06-20 | 2011-11-22 | International Business Machines Corporation | System and method for the autogeneration of ontologies |
US7934194B2 (en) * | 2006-10-17 | 2011-04-26 | The Mathworks, Inc. | User-defined hierarchies of user-defined classes of graphical objects in a graphical modeling environment |
WO2008096632A1 (en) | 2007-02-05 | 2008-08-14 | Nec Corporation | Object diagram display device, object diagram display method, program, and computer-readable recording medium |
US8458648B2 (en) | 2007-12-10 | 2013-06-04 | International Business Machines Corporation | Graphical modelization of user interfaces for data intensive applications |
US7827219B2 (en) | 2008-02-29 | 2010-11-02 | International Business Machines Corporation | Method for encoding, traversing, manipulating and querying a tree |
US20100023922A1 (en) | 2008-07-23 | 2010-01-28 | International Business Machines Corporation | Linking uml activity diagram nodes to uml class diagram nodes by using properties from applied stereotypes |
US8276113B2 (en) | 2008-08-11 | 2012-09-25 | International Business Machines Corporation | Dynamic highlighting of related artifacts in a UML diagram |
US20100070949A1 (en) | 2008-09-15 | 2010-03-18 | Infosys Technologies Limited | Process and system for assessing modularity of an object-oriented program |
US8126932B2 (en) | 2008-12-30 | 2012-02-28 | Oracle International Corporation | Indexing strategy with improved DML performance and space usage for node-aware full-text search over XML |
US20110029951A1 (en) | 2009-07-30 | 2011-02-03 | International Business Machines Corporation | Visually Presenting Inherited Members in Object-Oriented Languages |
US8640104B2 (en) | 2009-12-08 | 2014-01-28 | International Business Machines Corporation | Computer method and apparatus for debugging in a dynamic computer language |
US9069559B2 (en) | 2010-06-30 | 2015-06-30 | International Business Machines Corporation | Modularizing steps within a UML user model interaction pattern |
US20120102543A1 (en) | 2010-10-26 | 2012-04-26 | 360 GRC, Inc. | Audit Management System |
US9104389B2 (en) | 2011-10-18 | 2015-08-11 | International Business Machines Corporation | Hierarchical functional and variable composition diagramming of a programming class |
US8914771B2 (en) | 2012-11-13 | 2014-12-16 | International Business Machines Corporation | Indicating hierarchy diversion in a class diagram |
-
2012
- 2012-11-13 US US13/675,296 patent/US8914771B2/en active Active
-
2013
- 2013-09-12 US US14/025,007 patent/US8918757B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132996A1 (en) * | 1999-05-17 | 2009-05-21 | Invensys Systems, Inc. | Apparatus for control systems with objects that are associated with live data |
US20100222902A1 (en) * | 1999-05-17 | 2010-09-02 | Invensys Systems, Inc. | Methods and apparatus for control configuration with object hierarchy, versioning, inheritance, and other aspects |
US20090157711A1 (en) * | 2000-01-21 | 2009-06-18 | Baer William J | Method and System for Managing Volumes Within a Compilation of Content |
US20100198612A1 (en) * | 2001-04-09 | 2010-08-05 | Streepy Jr Larry V | Method and system for interfacing with a multi-level data structure |
US20140075004A1 (en) * | 2012-08-29 | 2014-03-13 | Dennis A. Van Dusen | System And Method For Fuzzy Concept Mapping, Voting Ontology Crowd Sourcing, And Technology Prediction |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8918757B2 (en) | 2012-11-13 | 2014-12-23 | International Business Machines Corporation | Indicating hierarchy diversion in a class diagram |
CN105573906A (en) * | 2014-10-02 | 2016-05-11 | 财团法人资讯工业策进会 | System and method for visualizing software programs |
TWI570585B (en) * | 2014-10-02 | 2017-02-11 | 財團法人資訊工業策進會 | System and method for visualizing softwave programs |
US9760473B2 (en) * | 2014-10-02 | 2017-09-12 | Institute For Information Industry | System and method for visualizing software programs |
JP7447674B2 (en) | 2020-05-22 | 2024-03-12 | 富士通株式会社 | Information processing program, information processing method, and information processing device |
CN112817576A (en) * | 2021-01-26 | 2021-05-18 | 广州欢网科技有限责任公司 | Tree structure realization method and device and client |
Also Published As
Publication number | Publication date |
---|---|
US20140137081A1 (en) | 2014-05-15 |
US8914771B2 (en) | 2014-12-16 |
US8918757B2 (en) | 2014-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8914771B2 (en) | Indicating hierarchy diversion in a class diagram | |
US11263121B2 (en) | Visualization of code execution through line-of-code behavior and relation models | |
CN107665228B (en) | Associated information query method, terminal and equipment | |
US9754018B2 (en) | Rendering interpreter for visualizing data provided from restricted environment container | |
CN112507040A (en) | Training method and device for multivariate relation generation model, electronic equipment and medium | |
US10318868B2 (en) | Method for enhancing a mind map with different streams of information | |
US20160085857A1 (en) | Grouping data using dynamic thresholds | |
CN112214210A (en) | Logistics business rule engine and configuration method, device, equipment and storage medium thereof | |
US20170242781A1 (en) | Efficient Software Testing | |
US9923758B2 (en) | Alert damage index | |
KR20220125720A (en) | Methods, devices, devices, storage media and computer programs for generating dependency graphs | |
US11080939B1 (en) | Generating test cases for augmented reality (AR) application testing | |
US20160210218A1 (en) | Detecting potential class loader problems using the class search path sequence for each class loader | |
CN113312560A (en) | Group detection method and device and electronic equipment | |
US9037916B2 (en) | Dynamic concolic execution of an application | |
US20160154860A1 (en) | Recursive Filter Algorithms on Hierarchical Data Models Described for the Use by the Attribute Value Derivation | |
CN106796604A (en) | Method and report server for providing interactive form | |
CN112764755A (en) | Code conversion method, device, equipment and storage medium | |
US20130346055A1 (en) | Modeling and cooperative simulation of systems with interdependent discrete and continuous elements | |
US11468249B2 (en) | Linking an entity relating to product development to a document portion | |
US10884755B1 (en) | Graph rewriting for large model support using categorized topological sort | |
CN113778849A (en) | Method, apparatus, device and storage medium for testing code | |
US10402954B2 (en) | Histogram-based shape mapping for propagating changes across similar shapes in multiple artboards | |
Yang et al. | Improving safety-critical systems by visual analysis | |
CN111191089A (en) | Data visualization method, system, device and medium based on medical care scene |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KOHLI, SANDEEP;SINHA, SARIKA;SIGNING DATES FROM 20121105 TO 20121108;REEL/FRAME:029287/0376 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551) Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |