Supercharge Your Innovation With Domain-Expert AI Agents!

Accidental correctness test case identification method and software error location method

A technology for test cases and identification methods, applied in software testing/debugging, error detection/correction, instruments, etc., and can solve problems such as low reliability

Inactive Publication Date: 2017-06-30
HENAN UNIVERSITY OF TECHNOLOGY
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of this invention is to provide a kind of accidental correctness test case recognition method, in order to solve the problem that the reliability of the existing accidental correctness test case recognition method is not high

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
  • Accidental correctness test case identification method and software error location method
  • Accidental correctness test case identification method and software error location method
  • Accidental correctness test case identification method and software error location method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] Embodiment of Software Error Locating Method

[0076] First, the fuzzy c-means cluster analysis is introduced and explained, as follows:

[0077] Fuzzy c-means clustering analysis solves the objective function J(U,V) by finding the best pair (U,V) to use, thus transforming the clustering problem into a constrained nonlinear programming problem, which is solved by continuous iteration The optimal division of the data set is obtained, where U represents the membership matrix and V represents the cluster center point. We apply its cluster analysis results to incidental correctness test case identification for software bug localization. The FCM objective function is:

[0078]

[0079] Among them, since the data object processed in this paper is the program execution trajectory information, then the program execution trajectory information is set to include n test cases (t 1 , t 2 ,...,t j ,...,t n ) the trajectory information of the executed program, where x j Ind...

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 relates to an accidental correctness test case identification method and a software error location method. When a software error is located, the accidental correctness test case identification method and the software error location method comprise the following steps that execution track information of a program is obtained; accidental correctness elements are identified; feature elements are selected from the identified accidental correctness elements; the dimension of the obtained execution track information of the program is simplified according to the selected feature elements, and irrelevant elements in the execution track information of the program is removed; accidental correctness test cases are identified according to the obtained execution track information of the program after simplifying the dimension and the fuzzy c-means clustering algorithm, and then the identified accidental correctness test cases are used for locating the error. The reliability is high when the algorithm is used for identifying the accidental correctness test cases. The accidental correctness test case identification method and the software error location method not only effectively identify the accidental correctness test cases, but also significantly improve the locating efficiency when the identification method is used for locating the software error.

Description

technical field [0001] The invention relates to an accidental correctness test case identification method and a software error location method, and belongs to the technical field of using the accidental correctness test case to locate software errors. Background technique [0002] The efficiency of software error location may be affected by many factors, such as the accidental correctness of test cases, the prioritization of test cases, the composition of test cases, and the coverage of test cases; especially for large and complex software programs, removing the test cases for accidental correctness can be effective Improve the efficiency of software error location. The error localization method based on coverage information has attracted extensive attention from industry and academia. But the localization efficiency of this kind of fault localization method is affected by different factors, for example, test case prioritization, accidental correctness, etc. The present in...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 曹鹤玲
Owner HENAN UNIVERSITY OF TECHNOLOGY
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More