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 条
  • [41] MOUSE MACROPHAGE CLONES IMMORTALIZED BY RETROVIRUSES ARE FUNCTIONALLY HETEROGENEOUS
    PIRAMI, L
    STOCKINGER, B
    CORRADIN, SB
    SIRONI, M
    SASSANO, M
    VALSASNINI, P
    RIGHI, M
    RICCIARDICASTAGNOLI, P
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 1991, 88 (17) : 7543 - 7547
  • [42] A Comparative Study of Software Bugs in Micro-clones and Regular Code Clones
    Islam, Judith F.
    Mondal, Manishankar
    Roy, Chanchal K.
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 73 - 83
  • [43] DEP domains: structurally similar but functionally different
    Consonni, Sarah V.
    Maurice, Madelon M.
    Bos, Johannes L.
    NATURE REVIEWS MOLECULAR CELL BIOLOGY, 2014, 15 (05) : 357 - 362
  • [44] THE DEVELOPMENT OF FUNCTIONALLY SIMILAR AND DISSIMILAR OPERATIONS OF EXCLUSION
    HUBBSTAIT, L
    CHILD DEVELOPMENT, 1986, 57 (04) : 934 - 941
  • [45] DEP domains: structurally similar but functionally different
    Sarah V. Consonni
    Madelon M. Maurice
    Johannes L. Bos
    Nature Reviews Molecular Cell Biology, 2014, 15 : 357 - 362
  • [46] Cross-project code clones in GitHub
    Mohammad Gharehyazie
    Baishakhi Ray
    Mehdi Keshani
    Masoumeh Soleimani Zavosht
    Abbas Heydarnoori
    Vladimir Filkov
    Empirical Software Engineering, 2019, 24 : 1538 - 1573
  • [47] EncCD: A Framework for Efficient Detection of Code Clones
    Khan, Minhaj
    INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2019, 16 (05) : 947 - 952
  • [48] Mining Source Code Clones in a Corporate Environment
    Torres, Jose J.
    Junior, Methanias C.
    Santos, Francisco R.
    INFORMATION TECHNOLOGY: NEW GENERATIONS, 2016, 448 : 531 - 541
  • [49] Ranking code clones to support maintenance activities
    Ehsan, Osama
    Khomh, Foutse
    Zou, Ying
    Qiu, Dong
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (03)
  • [50] Bug Replication in Code Clones: An Empirical Study
    Islam, Judith F.
    Mondal, Manishankar
    Roy, Chanchal K.
    2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 1, 2016, : 68 - 78