Unlock instant, AI-driven research and patent intelligence for your innovation.

Updating method and device for defect detection tools

A defect detection and tool technology, applied in the direction of program control device, software deployment, program loading/starting, etc., can solve the problems of less analysis results, no analysis results, and difficulty in analysis work.

Active Publication Date: 2016-10-12
BEIJING UNIV OF POSTS & TELECOMM
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For C or C++ language, different operating systems or different platform compilers, the language standards will be more or less different, resulting in the existing defect detection tools may not recognize some unexpected lexical and / or or syntax, which makes it difficult for subsequent analysis to proceed smoothly
At present, many defect detection tools will perform some replacements before testing to prevent preprocessing failures due to the inconsistency between the user's development platform and its expectations. Some lexical or grammatical exceptions are thrown without recognizing keywords, custom data types, or logical structures, which affects the analysis of some or the entire project. Only a few analysis results can be obtained, and the defects of the entire project cannot be fully described. Serious In the case of , you will not even get any analysis results

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
  • Updating method and device for defect detection tools
  • Updating method and device for defect detection tools

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] 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 creative efforts fall within the protection scope of the present invention.

[0036] The embodiment of the present invention discloses a method and device for updating a defect detection tool, which will be described in detail below.

[0037] see figure 1 , figure 1 A schematic flowchart of a method for updating a defect detection tool provided by an embodiment of the present invention may include the following steps:

[0038] S101. Classify the exception into at least one exception type according to the position and timing of the exceptio...

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 embodiment of the invention discloses an updating method and device for defect detection tools. The method includes the steps that according to the occurrence positions and moments of abnormalities in a project to be tested, the abnormalities are divided into at least one abnormity type; for abnormalities in each abnormality type, an abnormality solution corresponding to the abnormality type is determined; according to each abnormality solution, language analyzers in the defect detection tools are updated, wherein the language analyzers at least comprise the lexical analyzer and the syntactic analyzer. By applying the updating method and device, abnormalities, generated by the influence of unexpected syntax and / or morphology caused by the diversity of development environments and compilers of the project to be detected, of the defect detection tools can be avoided, and thus follow-up analyzing work can be smoothly conducted.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and device for updating a defect detection tool. Background technique [0002] As we all know, software testing is a very important link in software development. It is mainly used to identify the correctness, integrity and quality of the developed software program, and to ensure that the software system is free of defects before it is put into use. In practical applications, in order to save manpower, time or hardware resources and improve test efficiency, various defect detection tools based on the concept of automated testing have been introduced and widely used. [0003] For C or C++ language, different operating systems or different platform compilers, the language standards will be more or less different, resulting in the existing defect detection tools may not recognize some unexpected lexical and / or or grammar abnormalities, which makes it difficult for ...

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): G06F9/445
CPCG06F8/65
Inventor 金大海肖一飞宫云战王雅文黄俊飞
Owner BEIJING UNIV OF POSTS & TELECOMM