Method for quickly positioning software code defects based on test execution record

A test execution and software code technology, applied in the field of quickly locating software code defects based on test execution records, can solve the problem that the positioning technology cannot fully meet the product development needs of the software industry, achieve scalability and adaptability, improve performance and efficiency , calculate the simple effect

Inactive Publication Date: 2013-09-18
NANJING UNIV
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing code defect location technology can not fully meet the product development needs of the software industry

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
  • Method for quickly positioning software code defects based on test execution record
  • Method for quickly positioning software code defects based on test execution record
  • Method for quickly positioning software code defects based on test execution record

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] figure 1 Shown is the overall technical framework of the method for quickly locating software code defects based on test execution records. The input of the method is the automatic test record of the computer software, including code coverage information and execution result information; the output of the method is the code lines sorted according to the defect suspicion rate, which assists the developer to complete the defect location. The method of the present invention includes three modules: firstly, the test execution records are sorted out in units of test cases; then, the orthogonal information table is established in the unit of code behavior, and the code coverage data and execution result data are counted respectively; finally, according to the orthogonal information table, the calculation The defect suspicion rate of the code line, and then sort the code lines according to the suspicion rate.

[0037] The first module of the method of the present invention is...

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 method for quickly positioning software code defects based on a test execution record, which comprises the following steps: 1) arranging the test execution record by using a test case as a unit; 2) building an orthogonal information sheet by using code lines as a unit, and counting code covering data and execution result data respectively; and 3) calculating the defect suspicion rate of code lines according to the orthogonal information sheet, and ordering according to the suspicion rate to position the code defects with assistance. According to the method, the logic depending relation between the software code defects and the software execution result is explored to accurately position the code lines with the defects by using the orthogonal analytical method from two points of software failure and the code covering; meanwhile, the calculation is simple. Therefore, the method is suitable for programming languages with different types and software with different scales, has the expansibility and the adaptability, can quickly process massive test execution record information, and improves the property and the efficiency of positioning the software defects.

Description

technical field [0001] The invention relates to the problem of locating and identifying code defects in the computer software automatic testing process, and is particularly aimed at rapidly locating code line sets containing defects by using test coverage information and test execution results, so as to improve software development efficiency. Background technique [0002] Software defects refer to flaws or problems in software products introduced during the software development process that damage the quality of software products or deviate from software requirements. Software artifacts include requirements specifications, design documents, software code, test cases, and user manuals. Therefore, software defects are also divided into: document defects, code defects, test defects, and process defects. [0003] Automated defect location locates defects in software codes by analyzing and comparing the information recorded in the testing process, and its location and removal e...

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
Inventor 顾庆施小燕陈道蓄
Owner NANJING 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