Evolution of Code Clone Ratios throughout Development History of Open-Source C and C plus plus Programs

被引:0
|
作者
Goon, Anfernee [1 ]
Wu, Yuhao [2 ]
Matsushita, Makoto [2 ]
Inoue, Katsuro [2 ]
机构
[1] Univ Calif San Diego, Dept Comp Sci & Engn, La Jolla, CA 92093 USA
[2] Osaka Univ, Grad Sch Informat Sci & Technol, Osaka, Japan
基金
日本学术振兴会;
关键词
code clone ratio; refactoring; code clone maintenance; open source software;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A code clone is a fragment of code which is duplicated throughout the source code of a project. Code clones have been shown to make a project less maintainable because all code clones will share potential bugs and problems. Unlike other code clone research, this study analyzes the code clone ratios over the entire development lifetime of three open-source projects written in C/C++ to understand code clone growth in software over development and potential developer habits which could affect this growth. The study utilizes CCFinderX and Git to detect clone metrics across development history. The results from each project show very low, stable ratios across development history, with the code clone ratios only fluctuating greatly during the beginning of development mostly and very little refactoring occurring. This study goes further into the potential cause of low ratios and different fluctuations at different periods of development.
引用
收藏
页码:47 / 53
页数:7
相关论文
共 50 条
  • [1] Software-Clone Rates in Open-Source Programs Written in C or C plus
    Koschke, Rainer
    Bazrafshan, Saman
    [J]. 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 3, 2016, : 1 - 7
  • [2] A Comparison of Open-Source Static Analysis Tools for Vulnerability Detection in C/C plus plus Code
    Arusoaie, Andrei
    Ciobaca, Stefan
    Craciun, Vlad
    Gavrilut, Dragos
    Lucanu, Dorel
    [J]. 2017 19TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2017), 2017, : 161 - 168
  • [3] Transient Simulation of Speed-No Load Conditions With An Open-Source Based C plus plus Code
    Casartelli, E.
    Mangani, L.
    Romanelli, G.
    Staubli, T.
    [J]. 27TH IAHR SYMPOSIUM ON HYDRAULIC MACHINERY AND SYSTEMS (IAHR 2014), PTS 1-7, 2014, 22
  • [4] On the Use of Package Managers by the C plus plus Open-Source Community
    Miranda, Andre
    Pimentel, Joao
    [J]. 33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 1483 - 1491
  • [5] On the Use of Open-Source C/C plus plus Static Analysis Tools in Large Projects
    Pereira, Jose D'Abruzzo
    Vieira, Marco
    [J]. 2020 16TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2020), 2020, : 97 - 102
  • [6] A Study on the Effects of Exception Usage in Open-Source C plus plus Systems
    Bradley, Kirsten
    Godfrey, Michael W.
    [J]. 2019 19TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2019, : 1 - 11
  • [7] LIBRJMCMC: AN OPEN-SOURCE GENERIC C plus plus LIBRARY FOR STOCHASTIC OPTIMIZATION
    Bredif, Mathieu
    Tournaire, Olivier
    [J]. XXII ISPRS CONGRESS, TECHNICAL COMMISSION III, 2012, 39-B3 : 259 - 264
  • [8] Analysis and Code Model Extraction for C/C plus plus Source Code
    Wagner, Christian
    Margaria, Tiziana
    Pagendarm, Hans-Georg
    [J]. 2009 14TH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2009, : 110 - +
  • [9] CTL: Modular Open-source C plus plus -Library for CT-Simulations
    Pfeiffer, Tim
    Frysch, Robert
    Bismark, Richard N. K.
    Rose, Georg
    [J]. 15TH INTERNATIONAL MEETING ON FULLY THREE-DIMENSIONAL IMAGE RECONSTRUCTION IN RADIOLOGY AND NUCLEAR MEDICINE, 2019, 11072
  • [10] CPPE: An Open-Source C plus plus and Python']Python Library for Polarizable Embedding
    Scheurer, Maximilian
    Reinholdt, Peter
    Kjellgren, Erik Rosendahl
    Olsen, Jogvan Magnus Haugaard
    Dreuw, Andreas
    Kongsted, Jacob
    [J]. JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2019, 15 (11) : 6154 - 6163