Are There Functionally Similar Code Clones in Practice?

被引:0
|
作者
Kaefer, Verena [1 ]
Wagner, Stefan [1 ]
Koschke, Rainer [2 ]
机构
[1] Univ Stuttgart, Stuttgart, Germany
[2] Univ Bremen, Bremen, Germany
来源
2018 IEEE 12TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC) | 2018年
关键词
code clones; survey;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Having similar code fragments, also called clones, in software systems can lead to unnecessary comprehension, review and change efforts. Syntactically similar clones can often be encountered in practice. The same is not clear for only functionally similar clones (FSC). We conducted an exploratory survey among developers to investigate whether they encounter functionally similar clones in practice and whether there is a difference in their inclination to remove them to syntactically similar clones. Of the 34 developers answering the survey, 31 have experienced FSC in their professional work, and 24 have experienced problems caused by FSCs. We found no difference in the inclination and reasoning for removing FSCs and syntactically similar clones. FSCs exist in practice and should be investigated to bring clone detectors to the same quality as for syntactically similar clones, because being able to detect them allows developers to manage and potentially remove them.
引用
收藏
页码:2 / 8
页数:7
相关论文
共 50 条
  • [31] Aspectualization of code clones—an algorithmic approach
    Samuel A. Ajila
    Angad S. Gakhar
    Chung‐Horng Lung
    Information Systems Frontiers, 2014, 16 : 835 - 851
  • [32] Towards a curated collection of code clones
    Tempero, Ewan
    2013 7th International Workshop on Software Clones, IWSC 2013 - Proceedings, 2013, : 53 - 59
  • [33] Scalable and Accurate Detection of Code Clones
    Sargsyan, S.
    Kurmangaleev, Sh.
    Belevantsev, A.
    Avetisyan, A.
    PROGRAMMING AND COMPUTER SOFTWARE, 2016, 42 (01) : 27 - 33
  • [34] Vulnerability Analysis of Similar Code
    Piran, Azin
    Chang, Che-Pin
    Fard, Amin Milani
    2021 IEEE 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2021), 2021, : 664 - 671
  • [35] Detection of semantically similar code
    Tiantian Wang
    Kechao Wang
    Xiaohong Su
    Peijun Ma
    Frontiers of Computer Science, 2014, 8 : 996 - 1011
  • [36] Detection of semantically similar code
    Wang, Tiantian
    Wang, Kechao
    Su, Xiaohong
    Ma, Peijun
    FRONTIERS OF COMPUTER SCIENCE, 2014, 8 (06) : 996 - 1011
  • [37] ON THE COEXISTENCE OF ECOLOGICALLY SIMILAR CLONES OF PARTHENOGENETIC EARTHWORMS
    JAENIKE, J
    SELANDER, RK
    OIKOS, 1985, 44 (03) : 512 - 514
  • [38] ARE AUTECOLOGICALLY SIMILAR SPECIES ALSO FUNCTIONALLY SIMILAR - A TEST IN POND COMMUNITIES
    HARRIS, PM
    ECOLOGY, 1995, 76 (02) : 544 - 552
  • [39] Towards Informative Tagging of Code Fragments to Support the Investigation of Code Clones
    Nishioka, Daisuke
    Kamiya, Toshihiro
    2021 IEEE 15TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2021, 2021, : 8 - 14
  • [40] Comprehending Code Fragment in Code Clones: A Literature-Based Perspective
    Bharti, Sarveshwar
    Singh, Hardeep
    PROCEEDINGS OF RECENT INNOVATIONS IN COMPUTING, ICRIC 2019, 2020, 597 : 785 - 795