A Method for Acquiring Test Sufficiency Based on Function Call Path Criterion
A technology of function call path and acquisition method, applied in the computer field, can solve the problems of judging factors, unsatisfactory measurement index system, and the adequacy of test criteria
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment T1
[0100]The function of the average function itself is to calculate the average, but in the program it is the product. lead to program defects. In the test case T1, this error was detected; the error rate of the test case=1 / 1=100%.
[0101] 4.2.5 Code coverage (E, F)
[0102] Statement coverage:
[0103] Statements covered by T1 {1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 , 28, 36, 37, 38, 39}
[0104] Statements covered by T2 {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18, 19, 20, 21, 22, 23, 24, 25, 29, 30 , 31, 32, 37, 38, 39}
[0105] Statements covered by T3 {1, 2, 3, 4, 5, 6, 7, 8, 9, 18, 19, 20, 21, 22, 23, 24, 25, 29, 33, 34, 35, 36, 37 , 38, 39}
[0106] Statement coverage: 100%.
[0107] Branches in code such as image 3 .
[0108] T1 covers the branch of choice=1, T2 covers the branch of choice=2, and T3 covers the branch of choice! = 1&choice! -2 for the branch.
[0109] Branch coverage = 3 / 3 = 100%.
[0110] Curre...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com