Intelligent contract test method based on multi-objective optimization
A multi-objective optimization and smart contract technology, which is applied in the test case generation of Ethereum smart contract and blockchain smart contract testing, can solve unrealistic problems and achieve the goals of reducing burden, increasing quality and reliability, and improving efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment t
[0072] Step 1: Start state; Step 2: Input SC, Set_FD, test file generation stop criterion tc tf and test file number stop criterion tc tfn ;Step 3: Initialize the test file set set_test_file to be empty; Step 4: Initialize the test case set TS to be empty; Step 5: Randomly obtain an element fd in Set_FD; Step 6: Obtain the parameter type sequence list_arg_type of fd; Step 7: Press Sequentially take out an element arg_type of list_arg_type; step 8: randomly generate a value arg_value for arg_type; step 9: store arg_value to the parameter value sequence list_arg_type; step 10: judge whether list_arg_type has been traversed, if so, execute the next step, otherwise execute step 7 ;Step 11: Generate a test case t according to fd and list_arg_value i ; Step 12: put t i Add to TS; step 13: judge whether Set_FD has been traversed, if so, execute the next step, otherwise execute step 5; step 14: judge whether tc is satisfied tf , if so, go to the next step, otherwise go to step 5; s...
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