中文版 | English
Title

一种基于正则表达式的代码分析方法

Author
First Inventor
陈馨慧
Original applicant
南方科技大学
First applicant
南方科技大学
Address of First applicant
518055 广东省深圳市南山区学苑大道1088号
Current applicant
南方科技大学
Address of Current applicant
518055 广东省深圳市南山区学苑大道1088号 (广东,深圳,南山区)
First Current Applicant
南方科技大学
Address of First Current Applicant
518055 广东省深圳市南山区学苑大道1088号 (广东,深圳,南山区)
Application Number
CN202110627060.6
Application Date
2021-06-04
Open (Notice) Number
CN113778852B
Date Available
2023-07-28
Publication Years
2023-07-28
Status of Patent
授权
Legal Date
2023-07-28
Subtype
授权发明
SUSTech Authorship
First
Abstract
本发明公开了一种基于正则表达式的代码分析方法,所述方法包括:获取代码更改文本,并对所述代码更改文本进行提取预处理,得到若干程序语句;将若干所述程序语句进行基于正则表达式规则的代码分析和筛选,得到若干异常程序语句;根据若干所述异常程序语句,生成Github留言。本发明通过对所述代码更改文本进行提取预处理,能够实现逐行匹配每个错误模式,通过将若干所述程序语句进行基于正则表达式规则的代码分析和筛选,能够对不完整的代码片段进行快速分析,无需编译和解析整个代码库。
Other Abstract
本发明公开了一种基于正则表达式的代码分析方法,所述方法包括:获取代码更改文本,并对所述代码更改文本进行提取预处理,得到若干程序语句;将若干所述程序语句进行基于正则表达式规则的代码分析和筛选,得到若干异常程序语句;根据若干所述异常程序语句,生成Github留言。本发明通过对所述代码更改文本进行提取预处理,能够实现逐行匹配每个错误模式,通过将若干所述程序语句进行基于正则表达式规则的代码分析和筛选,能够对不完整的代码片段进行快速分析,无需编译和解析整个代码库。
CPC Classification Number
G06F11/0775 ; G06F11/3668 ; G06F16/334 ; G06F16/367 ; Y02D10/00
IPC Classification Number
G06F11/36 ; G06F16/245
INPADOC Legal Status
(+PATENT GRANT)[2023-07-28][CN]
INPADOC Patent Family Count
1
Extended Patent Family Count
1
Priority date
2021-06-04
Patent Agent
朱阳波
Agency
深圳市君胜知识产权代理事务所(普通合伙)
URL[Source Record]
Data Source
PatSnap
Document TypePatent
Identifierhttp://kc.sustech.edu.cn/handle/2SGJ60CL/561098
DepartmentDepartment of Computer Science and Engineering
Recommended Citation
GB/T 7714
陈馨慧,张晓文,周颖. 一种基于正则表达式的代码分析方法[P]. 2023-07-28.
Files in This Item:
There are no files associated with this item.
Related Services
Fulltext link
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Export to Excel
Export to Csv
Altmetrics Score
Google Scholar
Similar articles in Google Scholar
[陈馨慧]'s Articles
[张晓文]'s Articles
[周颖]'s Articles
Baidu Scholar
Similar articles in Baidu Scholar
[陈馨慧]'s Articles
[张晓文]'s Articles
[周颖]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[陈馨慧]'s Articles
[张晓文]'s Articles
[周颖]'s Articles
Terms of Use
No data!
Social Bookmark/Share
No comment.

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.