Presentation 2017-10-19
Making of Code Clone Elimination Problem Function for Java Programming Learning Assistant System
Nobuya Ishihara, Nobuo Funabiki, Minoru Kuribayashi,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) To let students study the object-oriented programming of writing program codes without redundancy, we have proposed the code clone elimination problem in Java programming learning assistant system (JPLAS). In this problem, a student is asked to modify the given problem code with code clones into the answer code without them, where the answer code is verified by the unit test on JUnit and the code clone detection test. For this problem, we categorize the four code clone elimination methods: (1) using correct grammar, (2) generating a proper method, (3) generating a proper class, and (4) applying the template method, and prepare the corresponding assignments. The trial application of the simple assignments clarified that the number of solving students rapidly decreased in (2)-(4). In this paper, we propose a three-step learning method for the code clone elimination problem targeting (2), which consists of (1) understanding how to solve the problem, (2) pointing out the code clones in the problem code, and (3) writing the answer code. Through applications of the proposal to students in our group, the effectiveness is confirmed.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) Java / programming education / JPLAS / code clone / deletion / three-step learning
Paper # SS2017-25,DC2017-24
Date of Issue 2017-10-12 (SS, DC)

Conference Information
Committee SS / DC
Conference Date 2017/10/19(2days)
Place (in Japanese) (See Japanese page)
Place (in English) Kochi City Culture-plaza CUL-PORT
Topics (in Japanese) (See Japanese page)
Topics (in English) Software System and Dependability on Network, etc
Chair Kazuhiro Ogata(JAIST) / Michiko Inoue(NAIST)
Vice Chair Akio Nakata(Hiroshima City Univ.) / Satoshi Fukumoto(Tokyo Metropolitan Univ.)
Secretary Akio Nakata(Tokyo Inst. of Tech.) / Satoshi Fukumoto(Osaka Univ.)
Assistant Kazuyuki Shima(Hiroshima City Univ.) / Masayuki Arai(Nihon Univ.)

Paper Information
Registration To Technical Committee on Software Science / Technical Committee on Dependable Computing
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Making of Code Clone Elimination Problem Function for Java Programming Learning Assistant System
Sub Title (in English)
Keyword(1) Java
Keyword(2) programming education
Keyword(3) JPLAS
Keyword(4) code clone
Keyword(5) deletion
Keyword(6) three-step learning
1st Author's Name Nobuya Ishihara
1st Author's Affiliation Okayama University(Okayama Univ.)
2nd Author's Name Nobuo Funabiki
2nd Author's Affiliation Okayama University(Okayama Univ.)
3rd Author's Name Minoru Kuribayashi
3rd Author's Affiliation Okayama University(Okayama Univ.)
Date 2017-10-19
Paper # SS2017-25,DC2017-24
Volume (vol) vol.117
Number (no) SS-248,DC-249
Page pp.pp.25-30(SS), pp.25-30(DC),
#Pages 6
Date of Issue 2017-10-12 (SS, DC)