Downloads: Maintaining Fine-Grained Code Metadata regardless of Moving, Copying and Merging
Maintaining Fine-Grained Code Metadata regardless of Moving, Copying and Merging 1.0 | ||||
Prause, C.R., Fraunhofer Institute for Applied Information Technology, Germany. Source code metadata on a file-level granularity is too coarse for certain applications. But fine-grained metadata (e.g. line-by-line authorship) easily gets lost due to changes like merging, moving or copying code. Enabling metadata to survive code evolution provides valuable insights into program source code. This helps developers to understand the sources and opens up opportunities for advanced tools. We present a concept that utilizes different search heuristics to identify probable ancestors of source documents, and pair this with clone detection to locate origins of inserted code. Arbitrary kinds of metadata can then be linked to code sections and be preserved automatically while code evolves. We evaluate our approach using code from the Hydra and FreeCol projects, and sketch prospective applications. This paper was presented at the Ninth IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2009), Edmonton, Canada, 20-21 September 2009 . |
| |||
Download: (700 KB) |
Downloads: 100 Downloaded: 246976 Most Downloaded: A Survey of Context-aware Middleware [ 8906 ] Most Recent: Hydra - LinkSmart brochure [ 3647 ] |