Architecture in the Cradle: Early Warning of Architectural Decay with ArchGuard
Abstract—Architectural decay can manifest as evolution of architectural smells, degrading integrity, and increasing maintenance costs. Existing techniques capture smells post hoc, or predict on component level, acting too late or on a too coarse granularity. We investigate if the risk of introducing architectural smells can already be predicted when issues are opened. Thus, we propose an issue-level prediction approach that utilizes the semantic representations of Large Language Models (LLMs). To enable training and evaluation, we construct a multi-project dataset by linking issues to smells via smell-inducing changes. On this dataset, we train classifiers to identify high-risk issues and conduct an empirical study comparing seven different representations and nine classifiers. Our best performing classifier (SVM with OpenAI embeddings) achieves F1-scores of up to 0.506, with recall of about 0.74. This means that our approach can identify approximately 74% of smell-inducing issues before implementation begins. When design alternatives are still being considered. our approach is able to give early warnings about potential architectural risks. This work shifts from reactive remediation to preventive quality assurance, reducing the accumulation of architectural technical debt.
Wed 24 JunDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
10:45 - 12:00 | Architectural Smells & Maintenance Research Papers / Software Architecture in Practice / at Theatre 2 Chair(s): Rahime Yılmaz University of Southern Denmark | ||
10:45 20mResearch paper | Architecture in the Cradle: Early Warning of Architectural Decay with ArchGuard Research Papers Haoyu Liu Karlsruhe Institute of Technology (KIT), Dominik Fuchß Karlsruhe Institute of Technology (KIT), Sophie Corallo Karlsruhe Institute of Technology, Maximilian Hummel , Jan Keim Karlsruhe Institute of Technology (KIT), Tobias Hey Karlsruhe Institute of Technology (KIT) | ||
11:05 20mResearch paper | Efficient Repair of Confidentiality Violations in Software Architectures Research Papers Nils Niehues Karlsruhe Institute of Technology (KIT), Benjamin Arp , Robert Heinrich Karlsruhe Institute of Technology (KIT) | ||
11:25 15mShort-paper | Can an LLM Detect Instances of Microservice Infrastructure Patterns? Research Papers Carlos Eduardo Duarte INESC TEC, Faculdade de Engenharia, Universidade do Porto, Neil Harrison University of Utah, Filipe Figueiredo Correia University of Porto, Ademar Aguiar INESC TEC, Faculdade de Engenharia, Universidade do Porto, Pavlina Wurzel Goncalves University of Zurich | ||
11:40 15mPaper | Software Coupling Metrics. An Industrial Evaluation at Cadmatic Software Architecture in Practice Venla Liljas , Alexander Bakhtin University of Oulu, Matteo Esposito University of Oulu, Valentina Lenarduzzi University of Southern Denmark, Davide Taibi University of Southern Denmark and University of Oulu Pre-print | ||