Real-time coverage rate statistics method, computer equipment and readable storage medium
A statistical method and coverage technology, applied in computing, instrumentation, electrical and digital data processing, etc., can solve the need for incremental line code coverage statistics without distributed statistics, unable to complete the coverage statistics requirements in the integration test phase, and no integration Test statistical solutions and other issues to achieve the effect of saving personnel costs, low access costs, and less code intrusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] like figure 1As shown in , a real-time coverage statistics method is suitable for JavaScript codes. When JavaScript codes are packaged, flags and reporting tasks are implanted. When JavaScript codes are executed, the implanted flags will record coverage information, and at the same time The reporting task will regularly report the coverage information to the server, and the server will complete the data sorting and storage, and finally display the coverage data through the client, including the following steps:
[0043] In the process of code packaging, the code of the identification bit and the code of the reporting task are implanted. Code packaging includes -NODE-side code packaging and client-side code packaging.
[0044] For -NODE-side code packaging, the -NODE-side code contains / / @ts-ignore* annotations, and the code for implanting flags during the process of -NODE-side code packaging is: Add packaging scripts in the post-processing process of installing depende...
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