Using Automatically Recommended Seed Mappings for Machine Learning-Based Code-to-Architecture Mappers
2023 (English)In: Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing, Association for Computing Machinery (ACM), 2023, p. 1432-1439Conference paper, Published paper (Refereed)
Abstract [en]
Software architecture consistency checking (SACC) is a popular method to detect architecture degradation. Most SACC techniques require software engineers to manually map a subset of entities of a system’s implementation onto elements of its intended software architecture. Manually creating such a "seed mapping"for complex systems is a time-consuming activity.The objective of this paper is to investigate if creating seed mappings semi-automatically based on mapping recommendations for training automatic, machine learning-based mappers can reduce the effort for this task.To this end, we applied InMap, a highly accurate, interactive code-to-architecture mapping approach, to create seed mappings for five open source system with known architectures and mappings. Three different machine learning-based mappers were trained with these seed mappings and analysed regarding their predictive performance. We then compared the manual effort involved in using the combination of InMap and the most accurate automatic mapper and the manual effort of mapping the systems solely with InMap.The results suggest that InMap, with a minor adaption, can be used to seed an accurate mapper based on Naive Bayes. A full mapping with only InMap though turns out to involve slightly less manual effort on average; this is, however, not consistent across all systems. These results give reason to assume that more advanced ways of combining automatic mappers with InMap may further reduce that effort.
Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2023. p. 1432-1439
Keywords [en]
Mapping, Open source software, Open systems, Software architecture, Automatic machines, Code-to-architecture mapping, Consistency checking, Highly accurate, Machine-learning, Open source system, Predictive performance, Software architecture consistency, Software architecture degradation, Systems implementation, Machine learning
National Category
Software Engineering Computer Sciences
Research subject
Computer Science
Identifiers
URN: urn:nbn:se:kau:diva-96057DOI: 10.1145/3555776.3577628Scopus ID: 2-s2.0-85162854475ISBN: 978-1-4503-9517-5 (print)OAI: oai:DiVA.org:kau-96057DiVA, id: diva2:1781277
Conference
38th Annual ACM Symposium on Applied Computing, Tallinn, Estonia, March 27-31, 2023.
Funder
Region Värmland2023-07-072023-07-072023-07-07Bibliographically approved