2020
DOI: 10.48550/arxiv.2007.11671
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

DeepClone: Modeling Clones to Generate Code Predictions

Abstract: During so ware development, programmers o en tend to reuse the code for common functionalities, available in other source code repositories. is activity helps them to reduce time and e ort to develop code, instead of building it from scratch. Code clones are candidates for reuse in an exploratory or rapid development, as they represent o en repeated functionality in so ware systems. To facilitate code clone reuse, we propose a novel approach, Deep-Clone, where we utilize a deep learning algorithm for modeling … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
6
0

Year Published

2020
2020
2020
2020

Publication Types

Select...
2

Relationship

1
1

Authors

Journals

citations
Cited by 2 publications
(6 citation statements)
references
References 66 publications
0
6
0
Order By: Relevance
“…Similar DNNs can assist programmers 1609,1610 . For example, by predictive source code completion [1611][1612][1613][1614][1615][1616] , and by generating source code to map inputs to target outputs 1617 or from labels describing desired source code 1618 . Text generating DNNs can also help write scientific papers.…”
Section: Discussionmentioning
confidence: 99%
“…Similar DNNs can assist programmers 1609,1610 . For example, by predictive source code completion [1611][1612][1613][1614][1615][1616] , and by generating source code to map inputs to target outputs 1617 or from labels describing desired source code 1618 . Text generating DNNs can also help write scientific papers.…”
Section: Discussionmentioning
confidence: 99%
“…There are slight variations in the perplexity values of Top-10 samples, which can be attributed to various factors such as the type of functionality, the number of clone method snippet trained in the DeepClone model, and inner similarity among the clone methods' type. These factors have been discussed in detail in our previous work [17].…”
Section: A Perplexitymentioning
confidence: 93%
“…We have also developed a search corpus comprising of real clone methods from those datasets. Initially, independent of the search corpus, we attempt to predict clone methods consisting of subsequent token sequences starting from the start-of-clone tag soc until the end-of-clone tag eoc ( [17]). Then, we apply an IR technique to retrieve real clone methods from the search corpus, which are most similar to the initially generated DeepClone prediction.…”
Section: Methodsmentioning
confidence: 99%
See 2 more Smart Citations