The Software Architecture Mapping Framework for Managing Architectural Knowledge

Sébastien Adam, Alain AbranSEKE 2016

Introduction

In software architecture, selecting a design pattern or tactic is more than a technical choice; it is a complex trade-off impacting project budget, quality, and schedule. This "Architectural Knowledge" (AK)—encompassing rationale, risks, and consequences—is frequently lost in informal documentation or remains siloed within the minds of senior designers. The Software Architecture Mapping (SAM) framework addresses this by providing a systematic method to capture, rank, and visualize these critical design decisions.

The SAM Framework

The SAM framework operates through two primary roles: the Knowledge Engineer and the Project Designer.

1. Asset Creation (The Knowledge Engineer)

A specialist identifies fine-grained Software Design Artifacts (SDAs), such as specific roles or behaviors within a pattern. These are organized into a Software Structures Map (SSM), a traceability matrix that categorizes artifacts by development activities and "interrogatives" (why, when, what). The engineer also builds semi-formal "Argumentations" consisting of claims (solutions), reasons (support), rebuttals (risks), and alleviations (mitigations).

The SAM framework meta-model illustrating the relationships between design artifacts, issues, and arguments.

2. Asset Consumption (The Project Designer)

Project designers leverage this pre-built knowledge base by ranking the relevance of various project dimensions (e.g., Functionality, Quality, Cost, Human Resources) for their specific context. The framework calculates a "total impact value," generating a multi-dimensional heat map that highlights "critical factors" — the areas where design choices pose the greatest risk to success.

Case Study: Decomposing the Template Method

To validate the framework, the authors decomposed the well-known "Template Method" design pattern. Rather than treating it as a monolithic block, they identified 14 distinct SDAs, ranging from operational definitions to behavioral properties.

Decomposition of the Template Method pattern into fine-grained Software Design Artifacts (SDAs).

This granularity allows for precise risk assessment. For instance, an issue like "low cohesion" can be tied to a specific SDA within the pattern, allowing designers to see exactly how that choice ripples through project dimensions like "extensibility" or "junior developer workload."

Key Insights

  • Granularity and Precision: Breaking patterns into elementary artifacts enables more accurate risk modeling than high-level descriptions.
  • Predicate-Issue Structures: By using a formal "Subject + Verb + Complement" format, architectural issues become searchable and computable, moving beyond ad-hoc documentation.
  • Quantitative Decision Support: SAM transforms qualitative arguments into quantitative rankings. By weighting arguments based on project context, it directs designers to the most pressing risks.
  • Iterative Project Health: The analysis is dynamic. As designers address high-priority risks, they can regenerate the view to monitor updated project health.

Results and Future Work

The framework was successfully applied in academic settings (the Dice Game Software Framework) and industrial contexts like software cockpit design. In the DGSF study, students used the framework to identify that "Architecting" and "Designing" were their most critical activities and quantified how specific design changes shifted their project's risk profile over multiple iterations.

While promising, the framework currently faces a bottleneck in the "Asset Creation" phase, which requires significant expertise. Future work aims to further formalize the AK model to enable more advanced algorithmic exploitation and broader industrial adoption through robust tooling.

Summary updated

BibTeX
@inproceedings{adam2016software,
  author = {Sébastien Adam and Alain Abran},
  title = {{The Software Architecture Mapping Framework for Managing Architectural Knowledge}},
  booktitle = {SEKE},
  year = {2016},
  doi = {10.18293/seke2016-183},
}
Figure