Presentation 2014-03-12
Code Completion with Code Clones
Tomoya ISHIHARA, Yoshiki HIGO, Shinji KUSUMOTO,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) Code completion is one of the techniques that raise efficiency of implementation. Code completion techniques make up for code lacking in half-written code. Recently, some researchers have proposed techniques using code completion for helping code reuse. However, existing code completion techniques, which complete only code following the half-written code, cannot complete code in the middle of the half-written code. In this research, we investigate the situation where developers forget to write some code and examine whether it is useful to complete the middle code. Also, we propose a new code completion technique with code clone detection techniques in order to complete the middle code. The proposed technique can complete both the middle code and following code by detecting Type-3 code clones of the half-written method. In this research, we have conducted an experiment with subjects to investigate the code that subjects forgot to write. As a result, we have confirmed that most of the subjects forgot to write some code in their given tasks and that it was useful to complete the middle code.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) Code Clone / Code Completion / Source Code Reuse
Paper # SS2013-87
Date of Issue

Conference Information
Committee SS
Conference Date 2014/3/4(1days)
Place (in Japanese) (See Japanese page)
Place (in English)
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair
Vice Chair
Secretary
Assistant

Paper Information
Registration To Software Science (SS)
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Code Completion with Code Clones
Sub Title (in English)
Keyword(1) Code Clone
Keyword(2) Code Completion
Keyword(3) Source Code Reuse
1st Author's Name Tomoya ISHIHARA
1st Author's Affiliation Graduate School of Information Science and Technology, Osaka University()
2nd Author's Name Yoshiki HIGO
2nd Author's Affiliation Graduate School of Information Science and Technology, Osaka University
3rd Author's Name Shinji KUSUMOTO
3rd Author's Affiliation Graduate School of Information Science and Technology, Osaka University
Date 2014-03-12
Paper # SS2013-87
Volume (vol) vol.113
Number (no) 489
Page pp.pp.-
#Pages 6
Date of Issue