Keeping up with the fast evolution of mobile operating systems is challenging for developers, who have to frequently adapt their apps to the upgrades and behavioral changes of the underlying API framework. Those changes often break backward compatibility. The consequence is that apps, if not updated, may misbehave and suffer unexpected crashes if executed within an evolved environment. Being able to quickly identify the portion of the app that should be modified to provide compatibility with new API versions can be challenging. To facilitate the debugging activities of problems caused by backward incompatible upgrades of the operating system, this paper presents FILO, a technique that is able to recommend the method that should be modified to implement the fix by analyzing a single failing execution. FILO can also provide additional information and key symptomatic anomalous events that can help developers understand the reason for the failure, therefore facilitating the implementation of the fix. We evaluated FILO against 18 real compatibility problems related to Android upgrades and compared it with Spectrum-Based Localization approaches. Results show that FILO is able to efficiently and effectively identify the fix-locus in the apps.

Mobilio, M., Riganelli, O., Micucci, D., Mariani, L. (2024). FILO: Automated FIx-LOcus Identification for Android Framework Compatibility Issues. INFORMATION, 15(8) [10.3390/info15080423].

FILO: Automated FIx-LOcus Identification for Android Framework Compatibility Issues

Mobilio M.;Riganelli O.
;
Micucci D.;Mariani L.
2024

Abstract

Keeping up with the fast evolution of mobile operating systems is challenging for developers, who have to frequently adapt their apps to the upgrades and behavioral changes of the underlying API framework. Those changes often break backward compatibility. The consequence is that apps, if not updated, may misbehave and suffer unexpected crashes if executed within an evolved environment. Being able to quickly identify the portion of the app that should be modified to provide compatibility with new API versions can be challenging. To facilitate the debugging activities of problems caused by backward incompatible upgrades of the operating system, this paper presents FILO, a technique that is able to recommend the method that should be modified to implement the fix by analyzing a single failing execution. FILO can also provide additional information and key symptomatic anomalous events that can help developers understand the reason for the failure, therefore facilitating the implementation of the fix. We evaluated FILO against 18 real compatibility problems related to Android upgrades and compared it with Spectrum-Based Localization approaches. Results show that FILO is able to efficiently and effectively identify the fix-locus in the apps.
Articolo in rivista - Articolo scientifico
Android fragmentation; fault localization; regression testing; software evolution;
English
23-lug-2024
2024
15
8
423
open
Mobilio, M., Riganelli, O., Micucci, D., Mariani, L. (2024). FILO: Automated FIx-LOcus Identification for Android Framework Compatibility Issues. INFORMATION, 15(8) [10.3390/info15080423].
File in questo prodotto:
File Dimensione Formato  
Mobilio-2024-Information (Switzerland)-VoR.pdf

accesso aperto

Descrizione: This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 5.63 MB
Formato Adobe PDF
5.63 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/522300
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
Social impact