A Comprehensive Study on Code Clones in Automated Driving Software

被引:1
|
作者
Mo, Ran [1 ]
Jiang, Yingjie
Zhan, Wenjing
Wang, Dongyu
Li, Zengyang
机构
[1] Cent China Normal Univ, Sch Comp Sci, Wuhan, Peoples R China
基金
中国国家自然科学基金;
关键词
Automated Driving Software; Code Clone; Co-modification; Bug-proneness; Software Modularity;
D O I
10.1109/ASE56229.2023.00053
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
With the continuous improvement of artificial intelligence technology, autonomous driving technology has been greatly developed. Hence automated driving software has drawn more and more attention from both researchers and practitioners. Code clone is a commonly used to speed up the development cycle in software development, but many studies have shown that code clones may affect software maintainability. Currently, there is little research investigating code clones in automated driving software. To bridge this gap, we conduct a comprehensive experience study on the code clones in automated driving software. Through the analysis of Apollo and Autoware, we have presented that code clones are prevalent in automated driving software. about 30% of code lines are involved in code clones and more than 50% of files contain code clones. Moreover, a notable portion of these code clones has caused bugs and co-modifications. Due to the high complexity of autonomous driving, the automated driving software is often designed to be modular, with each module responsible for a single task. When considering each module individually, we have found that Perception, Planning, Canbus, and Sensing modules are more likely to encounter code clones, and more likely to have bug-prone and co-modified clones. Finally, we have shown that there exist cross-module clones to propagate bugs and co-modifications in different modules, which undermine the software's modularity.
引用
收藏
页码:1073 / 1085
页数:13
相关论文
共 50 条
  • [21] Clonepedia: Summarizing Code Clones by Common Syntactic Context for Software Maintenance
    Lin, Yun
    Xing, Zhenchang
    Peng, Xin
    Liu, Yang
    Sun, Jun
    Zhao, Wenyun
    Dong, Jinsong
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 341 - 350
  • [22] DebCheck: Efficient Checking for Open Source Code Clones in Software Systems
    Cordy, James R.
    Roy, Chanchal K.
    2011 IEEE 19TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2011, : 217 - +
  • [23] Towards A Novel Conceptual Framework for Analyzing Code Clones to Assist in Software Development and Software Reuse
    Rajakumari, Kavitha Esther
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICICCS 2020), 2020, : 105 - 111
  • [24] Using automated source code analysis for software evolution
    Burd, L
    Rank, S
    FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2001, : 204 - 210
  • [25] Human-Vehicle Integration in the Code of Practice for Automated Driving
    Wolter, Stefan
    Dominioni, Giancarlo Caccia
    Hergeth, Sebastian
    Tango, Fabio
    Whitehouse, Stuart
    Naujoks, Frederik
    INFORMATION, 2020, 11 (06)
  • [26] 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
  • [27] A study of consistent and inconsistent changes to code clones
    Krinke, Jens
    14TH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2007, : 170 - 178
  • [28] An empirical study on the maintenance of source code clones
    Thummalapenta, Suresh
    Cerulo, Luigi
    Aversano, Lerina
    Di Penta, Massimiliano
    EMPIRICAL SOFTWARE ENGINEERING, 2010, 15 (01) : 1 - 34
  • [29] An empirical study on the maintenance of source code clones
    Suresh Thummalapenta
    Luigi Cerulo
    Lerina Aversano
    Massimiliano Di Penta
    Empirical Software Engineering, 2010, 15 : 1 - 34
  • [30] An Exploratory Study on Interface Similarities in Code Clones
    Misu, Md Rakib Hossain
    Satter, Abdus
    Sakib, Kazi
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW), 2017, : 126 - 133