Program error positioning method based on statement frequency statistics
A positioning method and program error technology, applied in the field of software program error positioning detection, can solve problems such as error positioning method, ignoring execution frequency, and difficulty in determining the breakpoint position
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0036] This implementation mode first gives some symbols and formal definitions:
[0037] Definition 1. Statement frequency is the execution times of a certain statement in a program. the s ij Indicates that when the jth test case is executed, s i sentence frequency.
[0038] Definition 2. Let scount refer to the number of statements with the same suspicious value as the error statement, Tcount is the total number of executable statements, and the stability index can be expressed as:
[0039] q=1-scount / Tcount
[0040]The good stability referred to in this embodiment means that fewer sentences can be measured as the same suspicious value as the wrong sentence. We use q to evaluate the stability, and the larger the q, the better the stability.
[0041...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


