New version program defect detection method and device

A defect detection and new version technology, applied in version control, error detection/correction, reverse engineering, etc., can solve problems such as low efficiency of program suspected defect detection, improve the efficiency of automatic defect detection, and reduce defects to be confirmed.

Active Publication Date: 2021-10-01
BEIJING INFORMATION SCI & TECH UNIV
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a new version program defect detection method and device, which are used to solve the problem of low detection efficiency of program suspected defects in the prior art

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
  • New version program defect detection method and device
  • New version program defect detection method and device
  • New version program defect detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0069] figure 1 It shows that an embodiment of the present invention provides a new version program defect detection method, including:

[0070] S11. Obtain the historical version program and the new version program of the target application;

[0071] S12. Obtain a corresponding function call statement set according to the historical version program and the new version program;

[0072] S13. Obtain association rule sets respectively corresponding to the historical version program and the new version program according to the function call statement set;

[0073] S14. Obtain an association rule set for detecting the new version of the program according to the association ...

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

A new version program defect detection method and device provided by an embodiment of the present invention, the method includes: obtaining the historical version program and the new version program of the target application; obtaining the corresponding function according to the historical version program and the new version program call statement set; according to the function call statement set, obtain association rule sets respectively corresponding to the historical version program and the new version program; obtain an association rule set for detection of the new version program according to the association rule set Obtaining the suspected defect set according to the association rule set for detection and the function call statement set of the new version program can effectively filter the implicit programming rules, thereby reducing the defects to be confirmed and improving the efficiency of automatic defect detection.

Description

technical field [0001] The invention relates to the technical field of software engineering, in particular to a new version program defect detection method and device. Background technique [0002] Programs usually imply a large number of programming rules that lack specification documents. However, due to the large number of such rules and the limitation of development time and progress, software engineers seldom use detailed documents to describe such rules. In addition, some programming rules are hidden so deeply that software engineers are not even aware of their existence, and defects that violate such rules cannot be found by traditional methods such as code review. In addition, defects with complex causes such as deadlocks are difficult to find through code review. [0003] If programmers ignore or violate such rules during programming, software defects may arise. Software defect mining is an effective means to automatically identify implicit rules of programs. It m...

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): G06F11/36G06F8/71G06F8/75
CPCG06F8/71G06F8/75G06F11/3608
Inventor 崔展齐郑丽伟刘秀磊牛科
Owner BEIJING INFORMATION SCI & TECH UNIV
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