Manuscript Offprint

arXiv:2609.07375

A Text Mining and Classification Approach for Analyzing Architecture Decision Records

Nicolás Miccio Palermo, Antonela Tommasel, J. Andrés Diaz-Pace

Nicolas Miccio¹, Antonela Tommasel¹,², and J. Andres Diaz-Pace¹

¹ ISISTAN Research Institute, CONICET-UNCPBA, Tandil, Argentina, ² Johannes Kepler University, Linz, Austria {nicolas.miccio,antonela.tommasel,andres.diazpace}@isistan.unicen.edu.ar

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.

Keywords: architectural knowledge · architecture decision records · documentation mining · topic modeling · LLMs · open-source repositories

1 Introduction

Capturing design decisions is a valuable practice in software projects as it helps preserve the rationale, constraints, and trade-offs that shape system evolution. In the context of software architecture, this knowledge is often referred to Architecture knowledge (AK) [5]. A popular lightweight approach for AK management is the use of architecture decision records (ADRs) [1, 10], which provide a simple textual mechanism for documenting key design decisions and their rationale, often through templates with required and optional sections, such as the Markdown Architectural Decision Record (MADR) format³.

³ https://adr.github.io/madr/

TitleMetadata: Status, date, Stakeholders
Context and Problem StatementDecision driversDecision outcome (with justification)Consequences (good, bad)ValidationOptions Pros and Cons
Considered optionsAdditional information

Fig. 1: Representation of a typical ADR template (MADR)

Despite their growing adoption, there is still limited empirical evidence on how ADRs are actually used in practice. Little is known about the concerns practitioners choose to document, how these concerns align with established architectural decisions taxonomies [11, 17], or whether ADRs adequately capture aspects like rationale, alternatives and quality attributes. Existing studies have mainly focused on ADR adoption and usage patterns [4], leaving ADR contents largely unexplored. This gap matters as incomplete or low-quality ADRs hinder decision traceability, system evolution, and the long-term AK preservation.

To address this gap, we conduct an empirical study of ADR contents using a dataset of open-source projects [4]. We examined ≈ 550 projects with a total of ≈ 4300 ADRs from three complementary perspectives: (i) the concerns discussed in ADRs, (ii) their alignment with decision taxonomies and quality attributes, and (iii) their structural consistency with key decisions of the MADR template. For this purpose, we define a text-mining and classification pipeline combining topic modeling and LLM-based analysis. Our findings show that ADRs frequently document existence, technology, and process-related decisions, while design alternatives, decision drivers, and some quality concerns remain under-documented. We also identify mismatches between ADR contents and the intended purpose of sections. These results contribute empirical insights into current ADR documentation practices and suggest opportunities to improve ADR authoring via tool support, and demonstrate how LLM-based analysis pipelines can support large-scale architectural knowledge studies.

References (17)