posted on 2025-05-09, 15:18authored byJnanamurthy HK, Raoul Jetley, Frans Henskens, David Paul, Mark WallisMark Wallis, Sudarsan SD
The detection of software clones is gaining more attention due to the advantages it can bring to software mainte- nance. Clone detection helps in code optimization (code present in multiple locations can be updated and optimized once), bug detection (discovering bugs that are copied to various locations in the code), and analysis of re-used code in software systems. There are several approaches to detect clones at the code level, but existing methods do not address the issue of clone detection in the PLC-based IEC 61131-3 languages. In this paper, we present a novel approach to detect clones in PLC- based IEC 61131-3 software using semantic-based analysis. For the semantic analysis, we use I/O based dependency analysis to detect PLC program clones. Our approach is a semantic-based technique to identify clones, making it feasible even for large code bases. Further, experiments indicate that the proposed method is successful in identifying software clones. [Final citation details to be advised]
History
Source title
Proccedings of the 20th IEEE International Conference on Industrial Technology (ICIT 2019)
Name of conference
2019 20th IEEE International Conference on Industrial Technology (ICIT 2019)
Location
Melbourne
Start date
2019-02-13
End date
2019-02-15
Publisher
Institute of Electrical and Electronics Engineers (IEEE)