Proceedings of the 36th International Conference on Software Engineering 2014
DOI: 10.1145/2568225.2568292
|View full text |Cite
|
Sign up to set email alerts
|

Spotting working code examples

Abstract: 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… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

1
106
0

Year Published

2015
2015
2021
2021

Publication Types

Select...
5
3
2

Relationship

0
10

Authors

Journals

citations
Cited by 128 publications
(108 citation statements)
references
References 37 publications
1
106
0
Order By: Relevance
“…Related work in this field include experiments to evaluate diverse approaches to code search [17]; techniques to improve the searchability of source code (e.g., [9,10]); techniques for extracting information from diverse sources (e.g., [14,19]); and interactive techniques (e.g., [1,21]). …”
Section: Related Workmentioning
confidence: 99%
“…Related work in this field include experiments to evaluate diverse approaches to code search [17]; techniques to improve the searchability of source code (e.g., [9,10]); techniques for extracting information from diverse sources (e.g., [14,19]); and interactive techniques (e.g., [1,21]). …”
Section: Related Workmentioning
confidence: 99%
“…One may not feasibly try all returned repair candidates but only the top-ranked ones. Another example is searching for working code examples (Keivanloo et al 2014) when one wants to pick only the top ranked solution.…”
Section: Scenario 4 (Ranked Results)mentioning
confidence: 99%
“…However, techniques in code search most commonly use an indirect measure to find code of higher quality, for instance through popularity metrics. Popularity itself has many meanings, but it has been measured by counting the number of times code is used by other code (similar to PageRank [85] once used by Google) [67], [76], [123], and it has also been measured by extracting high level patterns from the code indexed and counting how 47 often those patterns occur in the search engine [31], [60], [77]. Another approach proposes to use votes from other developers [43].…”
Section: Code Results Qualitymentioning
confidence: 99%