Skip to main navigation Skip to search Skip to main content

开源代码仓库增量分析方法

Translated title of the contribution: Incremental analysis of open source repositories
  • Fu Xu
  • , Zhanyu Yang
  • , Zhibo Chen*
  • , Yu Sun
  • , Haiyan Zhang
  • *Corresponding author for this work
  • Beijing Forestry University

Research output: Contribution to journal › Article › peer-review

Abstract

Code traceability is a common practice for reusing open source software which relies heavily on efficient code analysis methods. Existing methods mainly identify complete grammatical structures with the analysis time depending on the total code size, so they lack the ability to do incremental analyses and cannot be used to analyze large open source code repositories. An incremental analysis method was developed here to analyze only the changed parts in code repositories based on the similarity between adjacent snapshots to effectively reduce the analysis scale. The method first parses snapshots to retrieve the modified content between snapshots and then maps these modifications into complete, analyzable functions. These functions are then converted to fingerprints for comparisons. This method significantly reduces the scale of the open source code repositories compared with traditional analysis methods to speed up function comparisons for better traces of the origin of open source codes.

Translated title of the contributionIncremental analysis of open source repositories
Original languageChinese (Traditional)
Pages (from-to)630-638
Number of pages9
JournalQinghua Daxue Xuebao/Journal of Tsinghua University
Volume58
Issue number7
DOIs
StatePublished - 2018
Externally publishedYes

Fingerprint

Dive into the research topics of 'Incremental analysis of open source repositories'. Together they form a unique fingerprint.

Cite this