A Text Mining and Classification Approach for Analyzing Architecture Decision Records
Nicolás Miccio Palermo, Antonela Tommasel, J. Andrés Diaz-Pace
Abstract
Architectural decision records (ADRs) have become a popular lightweight mechanism for documenting architectural knowledge in software projects. However, there is limited empirical evidence on the kinds of architectural concerns captured in ADRs and how well their contents align with established architectural knowledge concepts and documentation practices. In this paper, we propose an automated text-mining and classification approach for analyzing ADRs at scale. We apply this approach to a dataset of ADRs extracted from ~550 open-source repositories, combining topic modeling, LLM-based classification, and template compliance checks. Our analysis examines decision taxonomies and quality attributes, and the degree to which ADRs adhere to the MADR template. Our findings show that ADRs frequently capture existence, technology, and process-related decisions, while alternatives, decisions drivers, and some quality concerns remain under-documented. We also observe recurring mismatches between ADR contents and template sections. These insights into current documentation practices provide architects with valuable information to reflect on how ADRs are and should be used to effectively deal with architectural knowledge. Furthermore, our automated approach is adaptable to other architectural tasks.
Create a lesson
Related papers
Analyzing and Clarifying Software Change Intentions via Project Asset Dependency Mining
Shared title terminologycs.SEYingtao Fang, Zhi Jin, Tiankuo Zhao et al.
Grounding SWE-Agent Decisions in Architecture-0 Design: Navigating Unknown Unknowns through Physical Mapping
Shared title terminologycs.SEZhongkai Wang, Yan Liu
Can LLMs Extract Architectural Design Decisions from Source Code Commits? - A Preliminary Exploratory Study
Shared title terminologycs.SEAmey Karan, Rudra Dhar, Mohamed Soliman et al.
Separate What from How: Repairing Static Analyzer Summaries with a Typed Repair IR
Shared title terminologycs.SEJinbao Chen, Zixiang Zhou, Yu Zhang
Tracing Decisions to Value: Measuring What People Contribute When Agents Build Software
Shared title terminologycs.SEShyam Agarwal, Hideaki Hata, Andrew Macvean et al.
Modernizing a Legacy University Course Platform: A Policy-Driven Self-Hosted Architecture
Shared title terminologycs.SEYi-Hsun Chou, Jui-Pin, Chu