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

Software error locating method based on variable slice and association rule

A software error and location method technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as low efficiency, large time and resource consumption, and error location.

Active Publication Date: 2017-07-14
XIAN UNIV OF POSTS & TELECOMM
View PDF1 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The problem to be solved by the present invention is: the existing software error location method consumes a lot of time and resources, has low efficiency, and is difficult to meet the requirements of reducing test costs. A new software error location method is needed, which can reduce the amount of calculation and reduce the consumption of time and resources. effectively improve the efficiency of software error location

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
  • Software error locating method based on variable slice and association rule
  • Software error locating method based on variable slice and association rule
  • Software error locating method based on variable slice and association rule

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] by figure 2 The example program is used as an example to illustrate the specific implementation process of the present invention.

[0048] Such as figure 1 , the present invention combines variable slicing technology and correlation analysis algorithm to carry out error location, and its specific steps are as follows:

[0049] (1 pair figure 2 Compile the source code of the program shown in .java, convert it into bytecode .class form, use the Spark flow and pointing analysis methods provided in Soot to analyze the control flow and data flow, analyze the number of methods and the number of nodes ; Combining the control dependency graph and the data dependency graph to construct the system dependency graph, and perform variable slicing on the dependency graph.

[0050] The data information obtained by executing variable slicing is:

[0051] test.slicer.classic.Compare Load soot classes in 13.6s

[0052] Finish points-to analysis in 1.1s

[0053] [PDG] 0:--1.8s, 2...

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

Aimed at a problem that error locating efficiency in software test is low, the invention discloses a software error locating method based on variable slice and association rules. The method comprises: aimed at a Java program statement, performing variable slice, using all variable slice line number information as a transactional database; then using association analysis to obtain an association rule set, according to high-to-low sort order of confidence coefficient and support degree, generating an examination statement priority order; finally, according to a principle that the closer to the top the priority order of the statement is, the more prior the statement is examined, locating the specific position of the error. The method locates software errors combined with the variable slice technology and an association rule algorithm, so that efficiency of software error location is improved, and software test cost is reduced.

Description

technical field [0001] The invention belongs to the technical field of software testing, and specifically relates to the problem of software error location. It provides a software error location method based on variable slices and association rules, which mainly solves the problem of low efficiency in error location, so as to improve error location efficiency and reduce testing cost purposes. Background technique [0002] With the continuous popularization and deepening of software applications in various industries, software quality has gradually become one of the core forces of industry competition. How to ensure software quality has become the focus of developers and testers, and software error location is one of the most expensive and time-consuming activities in the debugging process, and it is also a key task to ensure software quality, improve debugging efficiency, and reduce testing costs . [0003] At present, software error localization has become a research hots...

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/3612G06F11/3668
Inventor 王曙燕孙家泽罗丹
Owner XIAN UNIV OF POSTS & TELECOMM
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