A mutation testing method based on Android multithreaded data dependency
A technology of data dependence and mutation testing, applied in electrical digital data processing, software testing/debugging, error detection/correction, etc., can solve the problem of increasing the time cost of the mutation testing process, reducing the efficiency and success rate of mutation testing, and unable to program the mutation location Mutation and other issues to achieve the effect of reducing redundant variants, reducing the generation of invalid variants, and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0033] In this embodiment, take the following section of the source code P to be tested with multi-thread calling as an example:
[0034]
[0035] When analyzing the APK, the data flow diagram of the variable rowIds in the 19th line statement in P will be obtained, which contains code lines 12, 13, 14, and 19; then this method will analyze the abstract syntax tree of the source code P, and analyze Line 16 is the multi-thread trigger position of the Thread type; combined with the data flow diagram and the abstract syntax tree, the data-dependent statement chain of the 16-line statement in this type of file is obtained, including 12, 13, and 14; then traverse the statement chain, if it is found to be The for statement uses the FLR operator to generate variants, for example, for(int i=0; i<cityCount; i++) is mutated into for(int i=1; i<cityCount; i++).
[0036] Mutation testing stage, the input of this stage is the mutation generated by the previous stage, and a pre-defined se...
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