Authors
Iman Keivanloo, Juergen Rilling, Ying Zou
Publication date
2014/5/31
Book
Proceedings of the 36th International Conference on Software Engineering
Pages
664-675
Description
Working code examples are useful resources for pragmatic reuse in software development. A working code example provides a solution to a specific programming problem. Earlier studies have shown that existing code search engines are not successful in finding working code examples. They fail in ranking high quality code examples at the top of the result set. To address this shortcoming, a variety of pattern-based solutions are proposed in the literature. However, these solutions cannot be integrated seamlessly in Internet-scale source code engines due to their high time complexity or query language restrictions. In this paper, we propose an approach for spotting working code examples which can be adopted by Internet-scale source code search engines. The time complexity of our approach is as low as the complexity of existing code search engines on the Internet and considerably lower than the pattern-based …
Total citations
201420152016201720182019202020212022202320241919172321212827182
Scholar articles
I Keivanloo, J Rilling, Y Zou - Proceedings of the 36th International Conference on …, 2014