Proceedings of the 2015 Workshop on Partial Evaluation and Program Manipulation 2015
DOI: 10.1145/2678015.2682537
|View full text |Cite
|
Sign up to set email alerts
|

Structurally Heterogeneous Source Code Examples from Unstructured Knowledge Sources

Abstract: Software developers rarely write code from scratch. With the existence of Wikipedia, discussion forums, books and blogs, it is hard to imagine a software developer not looking up these sites for sample code while building any non-trivial software system. While researchers have proposed approaches to retrieve relevant posts and code snippets, the need for finding variant implementations of functionally similar code snippets has been ignored. In this work, we propose an approach to automatically create a reposit… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
4
0

Year Published

2015
2015
2020
2020

Publication Types

Select...
4
1

Relationship

1
4

Authors

Journals

citations
Cited by 5 publications
(4 citation statements)
references
References 28 publications
0
4
0
Order By: Relevance
“…There are a variety of approaches to compute structural similarity of source code [49,50,51]. We used the de-duplication approach explained in [52] for its simplicity and effectiveness for method-level similarity computation. In this approach, code φ is transformed into a set of predefined terms ψ to represent programming structures.…”
Section: Problem Statementmentioning
confidence: 99%
See 2 more Smart Citations
“…There are a variety of approaches to compute structural similarity of source code [49,50,51]. We used the de-duplication approach explained in [52] for its simplicity and effectiveness for method-level similarity computation. In this approach, code φ is transformed into a set of predefined terms ψ to represent programming structures.…”
Section: Problem Statementmentioning
confidence: 99%
“…CodeExchange [46], a code search engine, shows 16 recursive factorial results out of the first 20 results. Since we are only interested in diversity with respect to desired properties, we used the approach detailed in [52] to drop similar results at each rank. Figure 3 shows the results after application of structural heterogeneity.…”
Section: Problem Statementmentioning
confidence: 99%
See 1 more Smart Citation
“…Vinayakarao et al (2015) proposed an automatic method aimed to create a corpus of structurally different but functionally alike source code samples from the unstructured sources. They utilized information retrieval and partial program analysis methods to reach a corpus of such code examples.…”
Section: Mining So For Software Developmentmentioning
confidence: 99%