Spectrum-based feature localization for families of systems
dc.contributor.author | Michelon, Gabriela K. | |
dc.contributor.author | Martinez, Jabier | |
dc.contributor.author | Sotto-Mayor, Bruno | |
dc.contributor.author | Arrieta, Aitor | |
dc.contributor.author | Assunção, Wesley K.G. | |
dc.contributor.author | Abreu, Rui | |
dc.contributor.author | Egyed, Alexander | |
dc.contributor.institution | SWT | |
dc.date.accessioned | 2024-07-24T12:04:06Z | |
dc.date.available | 2024-07-24T12:04:06Z | |
dc.date.issued | 2023-01 | |
dc.description | Publisher Copyright: © 2022 The Author(s) | |
dc.description.abstract | In large code bases, locating the elements that implement concrete features of a system is challenging. This information is paramount for maintenance and evolution tasks, although not always explicitly available. In this work, motivated by the needs of locating features as a first step for feature-based Software Product Line adoption, we propose a solution for improving the performance of existing approaches. For this, relying on an automatic feature localization approach to locate features in single-systems, we propose approaches to deal with feature localization in the context of families of systems, e.g., variants created through opportunistic reuse such as clone-and-own. Our feature localization approaches are built on top of Spectrum-based feature localization (SBFL) techniques, supporting both dynamic feature localization (i.e., using execution traces as input) and static feature localization (i.e., relying on the structural decomposition of the variants’ implementation). Concretely, we provide (i) a characterization of different settings for dynamic SBFL in single systems, (ii) an approach to improve accuracy of dynamic SBFL for families of systems, and (iii) an approach to use SBFL as a static feature localization technique for families of systems. The proposed approaches are evaluated using the consolidated ArgoUML SPL feature localization benchmark. The results suggest that some settings of SBFL favor precision such as using the ranking metrics Wong2, Ochiai2, or Tarantula with high threshold values, while most of the ranking metrics with low thresholds favor recall. The approach to use information from variants increase the precision of dynamic SBFL while maintaining recall even with few number of variants, namely two or three. Finally, the static SBFL approach performs equally in terms of accuracy to other state-of-the-art approaches, such as Formal Concept Analysis and Interdependent Elements. | en |
dc.description.sponsorship | This research was funded by the LIT Secure and Correct Systems Lab, Spain ; the Austrian Science Fund (FWF) , grant no. P31989 ; Pro2Future, a COMET K1-Centre of the Austrian Research Promotion Agency (FFG) , grant no. 854184 . Aitor Arrieta is part of the Software and Systems Engineering research group of Mondragon Unibertsitatea ( IT1519-22 ), supported by the Department of Education, Universities and Research of the Basque Country, Spain . | |
dc.description.status | Peer reviewed | |
dc.identifier.citation | Michelon , G K , Martinez , J , Sotto-Mayor , B , Arrieta , A , Assunção , W K G , Abreu , R & Egyed , A 2023 , ' Spectrum-based feature localization for families of systems ' , Journal of Systems and Software , vol. 195 , 111532 . https://doi.org/10.1016/j.jss.2022.111532 | |
dc.identifier.doi | 10.1016/j.jss.2022.111532 | |
dc.identifier.issn | 0164-1212 | |
dc.identifier.uri | https://hdl.handle.net/11556/3418 | |
dc.identifier.url | http://www.scopus.com/inward/record.url?scp=85140380777&partnerID=8YFLogxK | |
dc.language.iso | eng | |
dc.relation.ispartof | Journal of Systems and Software | |
dc.relation.projectID | Department of Education, Universities and Research of the Basque Country | |
dc.relation.projectID | LIT Secure and Correct Systems Lab | |
dc.relation.projectID | Software and Systems Engineering research group of Mondragon Unibertsitatea, IT1519-22 | |
dc.relation.projectID | Austrian Science Fund, FWF, P31989 | |
dc.relation.projectID | Österreichische Forschungsförderungsgesellschaft, FFG, 854184 | |
dc.rights | info:eu-repo/semantics/openAccess | |
dc.subject.keywords | Clone-and-own | |
dc.subject.keywords | Feature localization | |
dc.subject.keywords | Software product lines | |
dc.subject.keywords | Spectrum-based localization | |
dc.subject.keywords | Software | |
dc.subject.keywords | Information Systems | |
dc.subject.keywords | Hardware and Architecture | |
dc.title | Spectrum-based feature localization for families of systems | en |
dc.type | journal article |