Annotation transfer algorithm of Git warehouse file annotation system

The invention discloses an annotation transfer algorithm of Git warehouse file annotation system, which comprises the following steps: firstly, carrying out static analysis on a project to be transferred, and completely loading codes to be analyzed into a cache to be converted into intermediate repr...

Full description

Saved in:
Bibliographic Details
Main Authors ZHANG WEIFENG, YUAN JUMAO
Format Patent
LanguageChinese
English
Published 07.06.2019
Subjects
Online AccessGet full text

Cover

More Information
Summary:The invention discloses an annotation transfer algorithm of Git warehouse file annotation system, which comprises the following steps: firstly, carrying out static analysis on a project to be transferred, and completely loading codes to be analyzed into a cache to be converted into intermediate representation; connecting a database to load all annotations of the project; binding the annotation andthe variable or the function, and determining a corresponding relationship mainly by comparing the positions of the annotation and the code; finally, existing annotations are transmitted to related variables or functions through data streams, then the transmitted annotations are updated into a database, and the transmitted annotations can be checked through a Git warehouse file annotation system.According to the algorithm, existing annotations are transmitted to related places mainly through data flow analysis to increase the coverage rate of the annotations in codes, and reduce the repeatedwork of developers. 本发明公开一
Bibliography:Application Number: CN201910039534