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

Method for Establishing Mapping Relationship of Program Class Collections of Different Versions

A mapping relationship and version technology, applied in version control, software maintenance/management, etc., can solve problems such as inconsistency, large amount of code, and complex program structure

Active Publication Date: 2021-06-22
FUZHOU UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The evolution analysis of software can help to fully understand the differences of different versions of the program, and the comprehensive understanding of each version of the program and the comprehensive understanding of the differences of different versions of the program are the basis of program maintenance. , the amount of code is huge, it is difficult and irrational to analyze the program evolution information by reading the source code
[0003] Although the object-oriented technology has significantly improved the maintainability of the program, due to the current evolution analysis of different versions of the program needs to rely on the development documents or change records of different versions of the program, and the lack of standardized documents, incompleteness and Inconsistency is a common problem

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
  • Method for Establishing Mapping Relationship of Program Class Collections of Different Versions
  • Method for Establishing Mapping Relationship of Program Class Collections of Different Versions
  • Method for Establishing Mapping Relationship of Program Class Collections of Different Versions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0210] In order to make the features and advantages of this patent more obvious and easy to understand, the following specific examples are given and described in detail as follows:

[0211] First, the implementation of this embodiment is based on defining evaluation factors, including: defining evaluation factors for class similarity and method similarity, such as class name, number of attributes, attribute information, number of methods, method information, calling relationship, method The similarity between the classes, the number of times the method is called, the number of times the method is called, and so on.

[0212] like figure 1 As shown, the solution flow provided by this embodiment includes the following steps:

[0213] Step S1: obtaining source codes of two different versions of the same Java program; for example, given a typical object-oriented Java program, the source code of the Java program can be analyzed by the code analysis tool soot;

[0214] ...

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 present invention proposes a method for establishing the mapping relationship of different versions of program class sets. First, determine the evaluation factors of class similarity and method similarity; secondly, establish a class diagram from source code reverse engineering; Preliminary class similarity, method similarity, and iterative establishment of final similarity between methods and classes) Establish "one-to-one", "one-to-many", and "many-to-one" mapping relationships between classes in the class collections of programs between different versions And a "one-to-one" mapping of methods in classes. It can solve the problem that it is difficult to implement the mapping relationship between different versions of the system class collection due to manual reading of the source code, etc., intuitively reflects the system architecture, increases the readability and maintainability of the code, and reduces the number of software developers and maintenance personnel. The difficulty of understanding systems between versions provides a way of looking at different systems at a high level.

Description

technical field [0001] The invention belongs to the technical field of computer software, and in particular relates to a method for establishing a class set mapping relationship of different versions of programs, especially Java programs. Background technique [0002] Object-oriented technology has become a research hotspot since it was proposed. So far, object-oriented has gradually penetrated into all levels and aspects of software development, and there have been object-oriented methods including object-oriented analysis, design and programming. Software evolution is the process by which software evolves and reaches a desired shape. Software evolution plays an important role in prolonging the life of software. After the software program evolves, the efficiency will be improved and the defects will be corrected. Software maintenance and evolution are unavoidable, but sometimes project personnel don't just want to get the evolved program, more, they are eager to get the d...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/71
CPCG06F8/71
Inventor 陈星陈晓娜胡传淑敏郭莹楠陈艳
Owner FUZHOU UNIV
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