Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software visualization method for object-oriented programming language source code

A programming language and object-oriented technology, applied in the direction of program control devices, etc., can solve problems such as not concise enough, clear, unfavorable structural system, and difficult to express semantically related relationships correctly

Inactive Publication Date: 2012-03-21
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] ①Because the class diagram is mainly used in the forward development, when it is applied in the reverse process such as software source code visualization, it is difficult to express some semantically related relationships in the class diagram correctly;
[0011] ②In some existing automated testing software or some IDE integrated development tools, the implementation from source code to class diagram is provided, but the class diagram obtained from it is often composed of multiple connected subgraphs, and the layout of the class diagram There is a lot of randomness, so the expression is not concise, clear, and not unified, which is not conducive to users' quick understanding of the structural system of the software
[0012] ③The class diagram can only represent certain specific relationships between classes in the software system, and the representation of the software system structure is also reflected through these relationships, so when representing the system structure, it is also limited to the level of classes and class relationships. The description of the role and role played by a concrete class in the system also has the same limitations.
[0013] So class diagrams are not suitable for software visualization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software visualization method for object-oriented programming language source code
  • Software visualization method for object-oriented programming language source code
  • Software visualization method for object-oriented programming language source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] The source code looks like this:

[0075] Source code file 1: carlib.java:

[0076] import java.io .*;

[0077] interface CAR

[0078] {

[0079] public void start( );

[0080] public void stop( );

[0081]}

[0082] class SmallCar implements CAR

[0083] {

[0084] public void start( )

[0085] {

[0086] System.out.println("smallcar start...");

[0087] }

[0088] public void stop( )

[0089] {

[0090] System.out.println("smallcar stop!");

[0091] }

[0092]}

[0093] class BigCar implements CAR

[0094] {

[0095] public void start( )

[0096] {

[0097] System.out.println("bigcar start...");

[0098] }

[0099] public void stop( )

[0100] {

[0101] System.out.println("bigcar stop!");

[0102] }

[0103]}

[0104] Source code file 2: Linklist.java:

[0105] public class Linklist {

[0106] public Link first;

[0107] / / Number of data items in the linked list

[0108] public int si...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a software visualization method for an object-oriented programming language source code, belonging to the technical field of software visualization. The method comprises the following steps of: (1) extracting key information from the source code; (2) acquiring data information of an original graph; (3) acquiring data information of a directed graph; (4) designing a graph layout; and (5) performing visualization mapping. With the adoption of the novel software visualization method for the object-oriented programming language source code provided by the invention, the defect of a class graph for the soft visualization is made up, and the internal structure of software and the status and the effect of types in the software can be accurately and intuitively reflected,so that a user can rapidly understand a software design level.

Description

technical field [0001] The invention relates to a software visualization method for object-oriented programming language (Object-Oriented Programming Language, OOPL) source code, belonging to the technical field of software visualization. Background technique [0002] Based on the program source code to obtain the high-level design abstraction method of the software, the most primitive and direct solution is that the programmer reads the source code, after a series of mental analysis, and finally uses some highly abstract graphics or text expressions to explain the internals of a software structure and implementation logic. [0003] Software visualization usually uses software automation to summarize various attributes of the software system (including keywords, inter-class relationships, etc.) The internal structure of the system, the evolution information of the software, and the behavioral characteristics of the software realize the automatic analysis and abstraction of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 胡昌振王国强王崑声王志刚胡鹤洪孝金
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products