Program analysis software automatic testing method and system based on revision log

A technology of automated testing and program analysis, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of low testing efficiency, heavy testing workload, increased testing work, etc., to improve the effect and quality, reduce Test workload, improve test effect

Pending Publication Date: 2021-11-12
安徽中科国创高可信软件有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The disadvantage of the existing testing scheme is that it is impossible to effectively distinguish which rules have not changed and are not affected by the code modification of this development cycle, thus increasing a lot of invalid testing work
In addition, the existing test plan cannot effectively identify which rules need to be checked and which rules do not need to be checked for the repaired and newly added rules.
This leads to the problem of huge testing workload and low testing efficiency
In addition, the automation test technology is not fully utilized in the entire test plan, which cannot reduce the repetition of test work and improve test efficiency.

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 analysis software automatic testing method and system based on revision log
  • Program analysis software automatic testing method and system based on revision log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] The embodiment of the present application discloses a revision log-based automated testing method for program analysis software, which specifically includes the following steps:

[0052] Acquiring the minimum code rule unit in the program analysis software code, the minimum code rule unit is obtained by dividing the program analysis software code with one rule as the basic unit, preferably, the minimum code rule unit includes one rule;

[0053] Obtain t...

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 discloses a program analysis software automatic testing method and system based on a revision log. The method comprises the steps of obtaining a minimum code rule unit in software codes; obtaining a first version and a second version of the software code, and obtaining a specific change type of a minimum code rule unit, which is changed compared with the first version, in the second version; executing the first version and the second version of the program analysis software code to respectively obtain a first analysis result and a second analysis result; judging whether a second analysis result accords with a preset normal result range corresponding to the minimum code rule unit or not and whether the change of the second analysis result compared with the first analysis result accords with a normal change range caused by the specific change type or not; and taking the minimum code rule unit which is not judged as a key troubleshooting content. According to the invention, the rationality, the efficiency, the accuracy and the automation degree of key and non-key division of software test troubleshooting are improved, and the test efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of program testing, in particular to a revision log-based automatic testing method and system for program analysis software. Background technique [0002] Program analysis software is composed of numerous program analysis rules, each rule is relatively independent, but there are cases where the same supporting code is reused. Each development cycle will repair or add a number of program analysis rules, and refactor and improve some supporting codes. Due to the characteristics of the software, the impact of code modification is far greater than the scope expected by developers. Testing the repaired rules cannot guarantee the functional integrity and stability of the new version. However, usually the program analysis software has a huge number of rules. If all the rules need to be tested one by one, the workload is huge, and a lot of testing work is also ineffective. [0003] With the continuous development ...

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/3672G06F11/368G06F11/3692
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