Program change influence analysis method based on code text and calling relationship

A technology of calling relationship and program change, applied in software testing/debugging, instrumentation, electrical digital data processing, etc., can solve problems such as inaccuracy and completeness of prediction set without consideration, and achieve the effect of improving accuracy

Active Publication Date: 2020-11-06
毛澄映 +2
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on the inaccuracy and completeness of the prediction set caused by combining information such as code text and call relationship in the prior art, the method for analyzing the impact of program changes is not considered. Therefore, the present invention proposes a method based on code text and call relationship. The program change impact analysis method solves the above problems

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
  • Program change influence analysis method based on code text and calling relationship
  • Program change influence analysis method based on code text and calling relationship
  • Program change influence analysis method based on code text and calling relationship

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to be able to understand more clearly the technical content of the program change impact analysis method based on code text and call relationship in the present invention, the present invention will be further described below in conjunction with the accompanying drawings and specific implementation cases. It should be noted that the described implementation The examples are intended to facilitate the understanding of the present invention without requiring any limitation thereto.

[0041] The technical roadmap of the program change impact analysis method based on code text and calling relationship given by the present invention is as follows: figure 1 As shown, the first step is to extract the method set; the second step is to analyze the similarity between words based on WordNet to calculate the similarity between methods based on the code text; the third step is to analyze the call relationship through third-party software to obtain the method call relationshi...

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 provides a program change influence analysis method based on a code text and a calling relationship, which belongs to the field of software engineering and comprises the following steps:1, acquiring a method calling relationship of each method through third-party software; step 2, analyzing method text similarity of the initial change set and other method sets from the perspective of the code text; 3, analyzing the method call correlation of the initial change set and other method sets from the perspective of the method call relationship; and 4, calculating a comprehensive method dependence degree according to the method text similarity and the method calling correlation between the initial change set obtained in the step 2 and the method text similarity and the method calling correlation between the initial change set obtained in the step 3 and each method set, thereby obtaining a predicted affected method set. Compared with an existing word differentiation technology for experiment, the method provided by the invention has certain advantages in accuracy.

Description

technical field [0001] The invention belongs to the field of program change impact analysis and relates to a program change impact analysis method based on code text and calling relationship. Background technique [0002] In today's society, computer technology is developing rapidly, covering all fields of society, and has had a profound impact on people's lives. Also getting higher and higher. However, although other innovations such as software technology and development model have a certain effect on improving the efficiency and performance of software development and maintenance, as the scale of software continues to increase and business requirements become more complex, software maintainability decreases and maintenance costs gradually increase. High, causing a great burden to software developers and software users. [0003] Software change impact analysis (Change Impact Analysis, CIA) is a technology often used in software development and maintenance phases. In a h...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3608Y02D10/00
Inventor 毛澄映桂子锐张荣
Owner 毛澄映
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products