Error locating method based on program failure clustering analysis
A technology for cluster analysis and error location, applied in error detection/correction, instrumentation, electrical digital data processing, etc., can solve problems such as reduced error location efficiency and increased number of errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0033] Embodiment: a kind of error localization method of program failure cluster analysis of this embodiment, such as figure 1 shown, including the following steps:
[0034] S1: Collect the code information covered by each failed execution. The set of code lines covered by a failed execution is a failed execution slice, and the distance between the failed execution slices is calculated using the Jaccard distance formula;
[0035] In this example, suppose T={t 1 , t 2 ,...,t n} is the matching test suite for the defective program P, where the jth test case t j An ordered pair j , c j > means, where, i j Denotes the test case t j the actual input, o j means t j The expected output of . Suppose is the actual output of the test case, if the actual output of the test case with expected output o j If they are consistent, the test case is called a passed test case; otherwise, the test case is called a failed test case, and the execution is a failure execution, referred ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com