loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Lerina Aversano 1 ; Mario Bernardi 1 ; Marta Cimitile 2 ; Martina Iammarino 1 and Debora Montano 3

Affiliations: 1 University of Sannio, Department of Engineering, Benevento, Italy ; 2 Unitelma Sapienza University, Rome, Italy ; 3 Universitas Mercatorum, Rome, Italy

Keyword(s): Software Maintainability, Software Quality Metrics, Clones Detection, Decompiled Source-Code.

Abstract: Copying and pasting code snippets, with or without intent, is a very common activity in software development. These have both positive and negative aspects because they save time, but cause an increase in costs for software maintenance. However, often the copied code changes due to bug fixes or refactorings, which could affect clone detection. In this regard, this study aims to investigate whether the transformations performed by the compiler on the code can determine the appearance of a set of previously undetectable clones. The proposed approach involves the extraction of software quality metrics on both decompiled and source code to bring to light any differences due to the presence of undetectable clones on the source code. Experiments were conducted on five open-source Java software systems. The results show that indeed compiler optimizations lead to the appearance of a set of previously undetected clones, which can be called logical clones. This phenomenon in Java appears to be marginal as it amounts to 5% more clones than normal, therefore a statistically negligible result in small projects, but in the future, it would be interesting to extend the study to other programming languages to evaluate any different cases. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.145.8.139

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Aversano, L.; Bernardi, M.; Cimitile, M.; Iammarino, M. and Montano, D. (2023). Understanding Compiler Effects on Clone Detection Process. In Proceedings of the 18th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-665-1; ISSN 2184-2833, SciTePress, pages 345-352. DOI: 10.5220/0012080100003538

@conference{icsoft23,
author={Lerina Aversano. and Mario Bernardi. and Marta Cimitile. and Martina Iammarino. and Debora Montano.},
title={Understanding Compiler Effects on Clone Detection Process},
booktitle={Proceedings of the 18th International Conference on Software Technologies - ICSOFT},
year={2023},
pages={345-352},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012080100003538},
isbn={978-989-758-665-1},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 18th International Conference on Software Technologies - ICSOFT
TI - Understanding Compiler Effects on Clone Detection Process
SN - 978-989-758-665-1
IS - 2184-2833
AU - Aversano, L.
AU - Bernardi, M.
AU - Cimitile, M.
AU - Iammarino, M.
AU - Montano, D.
PY - 2023
SP - 345
EP - 352
DO - 10.5220/0012080100003538
PB - SciTePress