Code improvement method and device based on measurement platform, medium and equipment
A code improvement and code technology, applied in the direction of code refactoring, platform integrity maintenance, computer security devices, etc., can solve the problems of pipeline blockage, affecting the progress of software development, frequent code modification, submission and operation, etc., to reduce corrections Effects of error rates, agile development, and rapid delivery
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 1 It is a flow chart of the code improvement method based on the measurement platform provided in the first embodiment of the application. This embodiment is applicable to any code improvement scenario based on the measurement platform. This method can be improved by the code improvement based on the measurement platform provided in the embodiment of the application. implemented by a device, which may be implemented by software and / or hardware, and may be integrated into an electronic device.
[0025] Such as figure 1 As shown, the code improvement method based on the measurement platform includes:
[0026] S110, after the code pipeline runs, the code is scanned to obtain code improvement items with errors; wherein, the scanning method includes test scanning or running scanning.
[0027] This solution can be implemented by a measurement platform, which can provide tools or environment support for a complete enterprise application from development to operation, ...
Embodiment 2
[0055] figure 2 It is a flow chart of the code improvement method based on the measurement platform provided by Embodiment 2 of the present invention. This embodiment is optimized based on the foregoing embodiments.
[0056] Such as figure 2 As shown, the method of this embodiment specifically includes the following steps:
[0057] S210, after the code pipeline runs, scan the code to obtain code improvement items with errors; wherein, the scanning method includes test scanning or running scanning.
[0058] S220. Perform pre-improvement on the code improvement item according to a matching result between the code improvement item and a preset improvement rule.
[0059] S230, rerun the pipeline.
[0060] S240. Acquire the processing time of the error-prone code improvement item.
[0061] After rerunning the pipeline, the measurement platform can obtain the processing time of the error code improvement item. The processing duration may start from the determination of the co...
Embodiment 3
[0081] image 3 It is a schematic structural diagram of a measurement platform-based code improvement device provided in Embodiment 3 of the present invention. The device can execute the measurement platform-based code improvement method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial Effect. Such as image 3 As shown, the device may include:
[0082] The code improvement item generation module 310 is used to scan the code after the code pipeline runs to obtain the error code improvement item; wherein, the scanning method includes test scanning or running scanning;
[0083] A code improvement item pre-improvement module 320, configured to perform pre-improvement on the code improvement item according to the matching result of the code improvement item and a preset improvement rule;
[0084] The code scanning module 330 is configured to rerun the pipeline to scan the pre-improved code.
[0085] In this embodiment,...
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