代码重构方法、装置、设备及介质
By parsing request log files, the interface information of the target API is automatically filtered and extracted, and the refactored API implementation code is generated. This solves the problem of low code refactoring efficiency in existing technologies and achieves efficient automated code refactoring.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2020-07-23
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies suffer from low code refactoring efficiency, requiring manual analysis of request log files to determine API interface parameters, which leads to inefficiency.
By parsing the request log file, the network requests initiated by the target API are automatically filtered out, the target interface information is extracted, and the refactored API implementation code is generated based on the second code structure, which is then processed automatically using computer equipment.
It simplifies the process of analyzing request log files, improves the efficiency of code refactoring, reduces manual intervention, and increases the automation of code refactoring.
Smart Images

Figure CN111722873B_ABST