Domain analysis of device drivers using code clone detection method

被引:1
|
作者
Ma, Yu-Seung [1 ]
Woo, Duk-Kyun [1 ]
机构
[1] ETRI, S W & Content Res Lab, Taejon, South Korea
关键词
device drivers; code clone detection;
D O I
10.4218/etrij.08.0107.0204
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Domain analysis is the process of analyzing related software systems in a domain to find their common and variable parts. In the case of device drivers, they are highly suitable for domain analysis because device drivers of the same domain are implemented similarly for each device and each system that they support. Considering this characteristic, this paper introduces a new approach to the domain analysis of device drivers. Our method uses a code clone detection technique to extract similarity among device drivers of the same domain. To examine the applicability of our method, we investigated whole device drivers of a Linux source. Results showed that many reusable similar codes can be discerned by the code clone detection method. We also investigated if our method is applicable to other kernel sources. However, the results show that the code clone detection method is not useful for the domain analysis of all kernel sources. That is, the applicability of the code clone detection method to domain analysis is a peculiar feature of device drivers.
引用
收藏
页码:394 / 402
页数:9
相关论文
共 50 条
  • [41] SourcererCC: Scaling Code Clone Detection to Big-Code
    Sajnani, Hitesh
    Saini, Vaibhav
    Svajlenko, Jeffrey
    Roy, Chanchal K.
    Lopes, Cristina V.
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 1157 - 1168
  • [42] Method-Level Code Clone Modification Environment Using CloneManager
    Kodhai, E.
    Kanmani, S.
    MODERN TRENDS AND TECHNIQUES IN COMPUTER SCIENCE (CSOC 2014), 2014, 285 : 529 - 539
  • [43] Learn To Align: A Code Alignment Network For Code Clone Detection
    Zhang, Aiping
    Liu, Kui
    Fang, Liming
    Liu, Qianjun
    Yun, Xinyu
    Ji, Shouling
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 1 - 11
  • [44] Efficient transformer with code token learner for code clone detection
    Zhang, Aiping
    Fang, Liming
    Ge, Chunpeng
    Li, Piji
    Liu, Zhe
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 197
  • [45] Testing Error Handling Code in Device Drivers Using Characteristic Fault Injection
    Bai, Jia-Ju
    Wang, Yu-Ping
    Yin, Jie
    Hu, Shi-Min
    PROCEEDINGS OF USENIX ATC '16: 2016 USENIX ANNUAL TECHNICAL CONFERENCE, 2016, : 635 - 647
  • [46] SimilaR: R Code Clone and Plagiarism Detection
    Bartoszuk, Maciej
    Gagolewski, Marek
    R JOURNAL, 2020, 12 (01): : 367 - 385
  • [47] Interpreting CodeBERT for Semantic Code Clone Detection
    Abid, Shamsa
    Cai, Xuemeng
    Jiang, Lingxiao
    PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023, 2023, : 229 - 238
  • [48] Code Clone Detection on Specialized PDGs with Heuristic
    Higo, Yoshiki
    Kusumoto, Shinji
    2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 75 - 84
  • [49] Code Clone Detection Based on Contrastive Learning
    Xie, Chunli
    Liang, Yao
    Lv, Quanrun
    Wan, Zexuan
    2024 IEEE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND ARTIFICIAL INTELLIGENCE, SEAI 2024, 2024, : 151 - 156
  • [50] Experiments on Code Clone Detection and Machine Learning
    Schaefer, Andre
    Amme, Wolfram
    Heinze, Thomas S.
    2022 IEEE 16TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC 2022), 2022, : 46 - 52