Code detection method and device, electronic equipment and storage medium

The embodiment of the invention discloses a code detection method, electronic equipment and a storage medium. The code detection method comprises the steps that a to-be-detected code is acquired; compiling the code to be detected; obtaining candidate classes in the compiled codes to be detected; and...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: WANG ZHEFAN
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:The embodiment of the invention discloses a code detection method, electronic equipment and a storage medium. The code detection method comprises the steps that a to-be-detected code is acquired; compiling the code to be detected; obtaining candidate classes in the compiled codes to be detected; and filtering out the target class in the candidate classes to obtain a non-static internal class, and outputting the non-static internal class, so that the code detection efficiency can be improved. 本申请实施例公开了一种代码检测方法、电子设备以及存储介质,包括:获取待检测代码;对所述待检测代码进行编译;获取编译后的待检测代码中的候选类;滤除所述候选类中的目标类,得到非静态内部类,并输出所述非静态内部类,该方案可以提高代码检测的效率。