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

Cross-project defect influence analysis method based on program dependency relationship and symbolic analysis

A symbol analysis and dependency relationship technology, applied in version control, instrumentation, software maintenance/management, etc., can solve problems such as impact analysis, lack of defects, and inability to prompt affected modules in downstream projects, so as to ensure healthy development and improve quality. Effect

Active Publication Date: 2020-02-11
NANJING UNIV
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The present invention aims to solve the existing problems such as lack of impact analysis for cross-project defects, failure to prompt the affected modules of downstream projects, etc., and then guide the repair plan design of cross-project defects, improve the quality of defect repair patches, so as to better control and Managing the Health of the Software Ecosystem

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
  • Cross-project defect influence analysis method based on program dependency relationship and symbolic analysis
  • Cross-project defect influence analysis method based on program dependency relationship and symbolic analysis
  • Cross-project defect influence analysis method based on program dependency relationship and symbolic analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The method of the present invention first collects program source codes of different projects and multiple versions in the same software ecosystem through software version control systems such as GIT; then carries out lexical analysis and syntax analysis to the source program of each project basic version (oldest version) , generate an abstract syntax tree, and extract cross-project calling relationships to build the basic dependency network of the software ecosystem; then generate abstract syntax trees for other versions of each project, compare changes in calling relationships, update version information, and build version-sensitive The software ecosystem relies on the network; next, given the root upstream error method of the cross-project defect, all downstream candidate modules (methods or classes) that use the upstream error method are identified through the network; then for each candidate module, it is pre-coded process, and symbolically encode the path from the ...

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 cross-project defect influence analysis method based on a program dependency relationship and symbolic analysis. The cross-project defect influence analysis method comprises the following steps: 1) acquiring program source codes of different projects and multiple versions in the same software ecosystem; 2) extracting a calling relationship from a program source code of each project basic version, and constructing an ecosystem basic dependence network; 3) obtaining code changes from program source codes of other versions of each project, and constructing a version-sensitive ecosystem dependent network; 4) for a given cross-project defect, under the condition that an upstream error method of the cross-project defect is known, selecting a candidate downstream module;5) for each candidate downstream module, carrying out code preprocessing; 6) performing symbol coding on each preprocessed candidate downstream module; and 7) carrying out constraint solving on each downstream module after symbol coding, and if a solution exists, prompting a developer that the module is possibly influenced by a given cross-project defect. According to the method, the problems thatat present, cross-project defect influence analysis is lacked, and a downstream project affected module cannot be prompted are solved, so that the design of a cross-project defect repair scheme is guided, the quality of defect repair patches is improved, and healthy development of a software ecosystem can be better controlled and managed.

Description

technical field [0001] The invention belongs to the field of computer technology, especially the field of software maintenance. The invention provides a software ecosystem-oriented cross-project defect impact analysis method based on program dependencies and symbol analysis, which is used in the process of repairing cross-project defects to evaluate the severity of defects, set repair priorities and design defect repair Scenarios provide auxiliary information. Background technique [0002] Software ecosystem usually refers to "a collection of software products with a certain degree of symbiotic relationship". In the software ecosystem, different projects are related in code through dependencies, among which the projects that provide functions or services are called upstream projects, and the users are called downstream projects. Upstream and downstream projects are relative, and a project will play different roles in the software ecosystem. For example, in the Python scie...

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/36G06F8/71
CPCG06F11/3628G06F11/366G06F8/71
Inventor 陈林马皖王莹任浩罗阳
Owner NANJING 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