Clone detection provides insight about replicated fragments in a code base. With the rise of multi-language code bases, new techniques addressing cross-language code clone detection enable the analysis of polyglot systems. Such techniques have not yet been applied to the mobile apps’ domain, which are naturally polyglot. Native mobile app developers must synchronize their code base in at least two different programming languages. App synchronization is a difficult and time-consuming maintenance task, as features can rapidly diverge between platforms, and feature identification must be performed manually. Our goal is to provide an analysis framework to reduce the impact of app synchronization. A first step in this direction consists on a structural algorithm for cross-language clone detection exploiting the idea behind enriched concrete syntax trees. Such trees are used as a common intermediate repre- sentation built from programming languages’ grammars, to detect similarities between app code bases. Our technique finds code similarities with 79% precision for controlled tests where Type 1-3 clones are manually injected for the analysis of both single- and cross-language cases for Kotlin and Dart. We eval- uate our tool on a corpus of 52 mobile apps identifying code similarities with a precision of 65% to 84% for the full application logic.
Wed 26 AprDisplayed time zone: Montevideo change
16:45 - 18:15 | TS3: Technical Debt and SmellsCIbSE 2023 at Anfiteatro (planta baja) aulario Chair(s): Luis Olsina National University of La Pampa - Argentina | ||
16:45 30mTalk | Consolidating a Common Perspective on Technical Debt and its Management Through a Tertiary Study CIbSE 2023 Helvio Jeronimo Junior Universidade Federal do Rio de Janeiro - PESC/COPPE, Guilherme Horta Travassos Federal University of Rio de Janeiro | ||
17:15 30mTalk | Cross-language Clone Detection for Mobile Apps CIbSE 2023 Stephannie Jimenez Universidad de los Andes, Gordana Rakić Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Silvia Takahashi Systems and Computing Engineering Department , Universidad de los Andes , Bogotá, Colombia , Nicolás Cardozo Universidad de los Andes Pre-print Media Attached | ||
17:45 30mTalk | Using Software Architecture Descriptions to Detect Architectural Smells at Design Time CIbSE 2023 Everton Cavalcante Federal University of Rio Grande do Norte, Thais Batista Federal University of Rio Grande do Norte |