【論文要約】"Aroma: Code Recommendation via Structural Code Search"
Abstract of this paper in 2 lines: The paper proposes Aroma, a tool and technique for code recommendation via structural code search, which indexes a large code corpus and recommends relevant code snippets based on partial code input. [1] Aroma retrieves and recommends relevant code snippets efficiently by using a matrix of sparse feature vectors and cosine similarity calculations. [2] [3] Contributions of this paper: Aroma is a tool and technique for code recommendation via structural code search, which indexes a large code corpus and recommends relevant code snippets based on partial code input. It clusters and intersects the results of the search to recommend a small set of succinct code snippets that contain the query snippet and appear in several methods in the corpus. Aroma can be used to extend partially written code snippets, discover common extensions used by other programmers, cross-check against similar code written by others, and add extra code to fix common mistakes ...