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 contribution | Incremental analysis of open source repositories |
|---|---|
| Original language | Chinese (Traditional) |
| Pages (from-to) | 630-638 |
| Number of pages | 9 |
| Journal | Qinghua Daxue Xuebao/Journal of Tsinghua University |
| Volume | 58 |
| Issue number | 7 |
| DOIs | |
| State | Published - 2018 |
| Externally published | Yes |
Fingerprint
Dive into the research topics of 'Incremental analysis of open source repositories'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver