• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Konferenzschrift
  4. Maintaining fine-grained code metadata regardless of moving, copying and merging
 
  • Details
  • Full
Options
2009
Conference Paper
Title

Maintaining fine-grained code metadata regardless of moving, copying and merging

Abstract
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.
Author(s)
Prause, C.R.
Mainwork
SCAM 2009, Ninth IEEE International Working Conference on Source Code Analysis and Manipulation  
Conference
International Working Conference on Source Code Analysis and Manipulation (SCAM) 2009  
International Conference on Software Maintenance (ICSM) 2009  
Open Access
File(s)
Download (611.78 KB)
Rights
Use according to copyright law
DOI
10.1109/SCAM.2009.20
10.24406/publica-r-362905
Additional link
Full text
Language
English
Fraunhofer-Institut für Angewandte Informationstechnik FIT  
  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024