Estimating Semantic Relatedness in Source Code

@article{Mahmoud2015EstimatingSR,
  title={Estimating Semantic Relatedness in Source Code},
  author={Anas Mahmoud and Gary Bradshaw},
  journal={ACM Trans. Softw. Eng. Methodol.},
  year={2015},
  volume={25},
  pages={10:1-10:35}
}
Contemporary software engineering tools exploit semantic relations between individual code terms to aid in code analysis and retrieval tasks. Such tools employ word similarity methods, often used in natural language processing (nlp), to analyze the textual content of source code. However, the notion of similarity in source code is different from natural language. Source code often includes unnatural domain-specific terms (e.g., abbreviations and acronyms), and such terms might be related due to… CONTINUE READING