Code quality early warning method and device, electronic equipment and storage medium

One or more embodiments of the invention provide a code quality early warning method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining code historicaldata of a target code; analyzing the code historical data to determine a high-risk code set; and dete...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LU YAN, MA DEHAO, GUO JINRU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:One or more embodiments of the invention provide a code quality early warning method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining code historicaldata of a target code; analyzing the code historical data to determine a high-risk code set; and determining a code quality prediction result of the target code according to the high-risk code set. The code historical data of the target code is analyzed to realize early warning of the code quality of the target code, and the high-risk code set is established and analyzed, so that the overall codequality of the system is improved and the operation risk of the system is reduced while the code quality early warning of the target code is performed based on the high-risk code set. 本申请中一个或多个实施例提供一种代码质量预警方法、装置、电子设备及存储介质,包括:获取目标代码的代码历史数据;分析代码历史数据以确定高危代码集合;根据高危代码集合确定目标代码的代码质量预测结果。本申请通过对目标代码的代码历史数据进行分析,从而对目标代码的代码质量实现预警,通过建立并分析高危代码集合,在基于高危代码集合进行目标代码的代码质量预警的同时,提高了系统总体的代码质量,降低了系统的运行风险。