Unveiling Code Clones in the Eclipse IIoT Software Ecosystem
Zengyang Li, Binbin Huang, Yimeng Li, Ran Mo, Peng Liang, Hui Liu, Yutao Ma · 2026
Read Unveiling Code Clones in the Eclipse IIoT Software Ecosystem by Zengyang Li, Binbin Huang, Yimeng Li, Ran Mo, Peng Liang, Hui Liu, Yutao Ma (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-27308.txt.
Introduction
Li and co-authors map code clones across the Eclipse industrial IoT open-source ecosystem. They gathered 90 release versions from 15 Eclipse IIoT projects. The NiCad tool plus a custom module measured clone spread and evolution. Clones touched 16.3 percent of all code lines, nearly double the usual open-source share. Most clone pairs arose between commits rather than within one commit. Clone counts stayed stable across versions in most projects. Only 0.17 percent of clones were ever changed together. Cross-project clones were common, especially in Java projects.
Catalog record
| CREATOR | Zengyang Li, Binbin Huang, Yimeng Li, Ran Mo, Peng Liang, Hui Liu, Yutao Ma |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 83828 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.27308
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Unveiling Code Clones in the Eclipse IIoT Software Ecosystem Zengyang Li, Binbin Huang, Yimeng Li, Ran Mo, Peng Liang, Hui Liu, Yutao Ma Abstract Context : Industrial Internet of Things (IIoT) has become a prominent topic recently, with an increasing number of IIoT open-source software (OSS) projects emerging, also within the Eclipse Foundation. Code cloning is a common practice that can adversely affect software maintenance. In the IIoT OSS domain, developers frequently reuse code and configurations for efficiency, which can lead to code clone proliferation and maintenance challenges. However, the extent and effects of code clones in the IIoT OSS domain remain understudied. Objective : This study aims to investigate the prevalence, evolution, and co-modification of code clones within the Eclipse IIoT OSS ecosystem. Methods : We collected 90 release versions from 15 projects in the Eclipse IIoT OSS ecosystem, and investigated their code clone situations based on source code and change history using the NiCad tool and our custom analysis module. The investigation covered clone distribution, patterns, evolution trends, co-modified clones, and cross-project clones. Results : 1) Code clones are prevalent in Eclipse IIoT OSS projects, with 16.3% of code lines involved in clones - nearly twice the proportion observed in traditional OSS projects; 2) Most code clones occur between commits, while there are still a significant proportion of code clones that each clone pair happens within a commit; 3) Most Eclipse IIoT projects remain stable in clone numbers during version iterations; 4) An average of 0.17% of the clones have been co-modified, which negatively affect maintenance; and 5) Cross-project clone pairs are prevalent, more in Java than in C projects, with rare co-modifications (0.02%) only in Java projects. Conclusions : We analyzed the distribution characteristics of code clones in Eclipse IIoT OSS projects, examining their specific situations, causes, and development trends. Our findings highlight the potential negative impacts of these clones on software maintenance, emphasizing the need to address these issues to improve overall software quality. keywords Code Clone, Industrial Internet of Things, Open Source Software, Empirical Study † † credit: Conceptualization, Methodology, Investigation, Data curation, Writing - Original draft preparation † † credit: Conceptualization, Methodology, Investigation, Data curation, Software, Writing - Original draft preparation † † credit: Methodology, Investigation, Data curation, Software † † credit: Conceptualization, Methodology, Writing - Original draft preparation † † credit: Conceptualization, Methodology, Writing - Original draft preparation † † credit: Methodology, Writing - Original draft preparation † † credit: Conceptualization, Methodology, Writing - Original draft preparation † † corresponding: Corresponding author. 1 Introduction The Industrial Internet of Things (IIoT) integrates Internet technology, edge computing [ 52 ] , digital twin [ 46 ] , and artificial intelligence [ 47 ] to transform global industrial systems into intelligent networks [ 11 ] . By connecting equipment, factories, and supply chains, IIoT enhances the intelligence, optimization, and collaboration of production processes, improving overall manufacturing efficiency and competitiveness. However, as the sizes of the software systems supporting these IIoT systems continue to expand, challenges in software maintenance are becoming increasingly prominent [ 42 ] . Recent literature suggests that managing embedded software maintenance in the IIoT domain is a daunting task, requiring modern methodologies to ensure software quality and reliability [ 10 ] . Code quality issues can substantially raise maintenance costs and may even lead to program crashes and data loss in high-reliability environments [ 1 , 6 ] . Among the various factors impacting software maintenance, code clones (i.e., identical or similar code blocks) are considered a major cause of project source code bloat [ 12 ] . However, code clones are not inherently detrimental to software quality [ 20 ] . Existing studies show that they can serve legitimate purposes in software development [ 39 ] , such as in safety-critical systems where cloning may be preferred over abstraction to ensure module isolation and minimize dependencies [ 35 ] . While cloning is a common practice to improve initial development efficiency, the change risk it introduces can make systems harder to maintain throughout their long-term evolution [ 31 ] . For example, empirical studies have demonstrated that the maintenance effort for methods reusing Stack Overflow code blocks increases significantly when clones are present [ 8 ] . Studies have shown that code clone prevalence and patterns vary significantly across domains [ 27 , 28 , 51 ] . Recent empirical studies further indicate that code clones are more likely to occur in deep learning software compared to traditional projects [ 29 ] . Although code clones in general IoT systems have been investigated [ 48 , 54 ] , these findings cannot be directly generalized to the IIoT context. Unlike consumer IoT, which primarily causes inconvenience, software defects propagated through clones in IIoT can lead to catastrophic safety hazards or significant economic losses [ 7 ] . Furthermore, while general IoT research suggests a “copy-and-forget” pattern for cross-project clones where up to 95% remain unmodified [ 54 ] , it remains unclear whether this applies to the IIoT ecosystem, which relies on the long-term collaborative maintenance of standard industrial protocols. Crucially, in safety-critical IIoT systems, stability often takes precedence over architectural abstraction [ 15 ] . Developers are typically hesitant to modify working code solely for the purpose of reducing clones, as refactoring may introduce new risks and instability [ 34 ] . Therefore, the objective of understanding code clones in this domain is not to force immediate refactoring, but rather to provide risk monitoring and consistency management. By detecting clones and quantifying co-modifications, developers can ensure that necessary updates are executed synchronously across duplicates, thereby reducing the “ripple effect” of changes without compromising system stability. Based on this, we focused our research on the Eclipse IIoT Open-Source Software (OSS) ecosystem, a long-standing and representative open-source IIoT collaborative community. Projects in this ecosystem implement de-facto industrial standards and possess a rich history of maintenance. According to the statistics of the collected projects in our dataset, the average project lifespan is approximately 9 years. This maturity provides a solid foundation for analyzing long-term evolutionary trends of code clones. Specifically, we aim to bridge the gap between general code clone research and the specific IIoT maintenance context. First, by quantifying clone prevalence and distribution, we assess the extent of code bloat and its subsequent overhead on constrained hardware resources as well as the extra maintenance effort required in IIoT environments. Second, by analyzing commit patterns and evolutionary trends, we reveal how code clones are introduced and managed over time, identifying potential stability risks during rapid iterations. Third, and most importantly regarding maintenance effort, we investigate co-modified clones to determine if they indeed necessitate simultaneous updates, thereby quantifying the “ripple effect” of changes. Finally, we examine cross-project clones to identify ecosystem-wide redundancy and propagation risks. Based on these empirical findings, we propose actionable implications to help developers optimize their code management strategies in IIoT software. In this work, we performed an in-depth analysis of IIoT OSS projects in the Eclipse ecosystem. The main contributions of this work are summarized below: \bullet To our knowledge, this work is the first attempt to analyze code clones in projects from the Eclipse IIoT OSS ecosystem. \bullet We investigated