WIPIVERSE All articles

Software architecture analysis method

The Software Architecture Analysis Method (SAAM) is a systematic, scenario-based procedure used to evaluate the design of a software system before its implementation. Introduced in 1994 by Rick Kazman, Len Bass, and Gregory Abowd of the Software Engineering Institute (SEI), it is recognized as the first documented formal method for software architecture analysis.

Purpose and Scope

The primary objective of a software architecture analysis method is to determine the extent to which a proposed architecture satisfies specific quality attributes, such as modifiability, portability, and functional coverage. By identifying potential risks and architectural flaws early in the software development lifecycle, the method helps reduce the cost of rectifying errors that would otherwise only be discovered during or after the coding phase.

Core Process

The SAAM process typically involves several structured steps involving stakeholders, such as developers, users, and architects:

  1. Scenario Development: Stakeholders identify a set of scenarios that represent the tasks the system must perform or the changes it might undergo in the future.
  2. Architecture Description: The architecture is described in a format that allows for evaluation (e.g., using architectural description languages or diagrammatic notations).
  3. Scenario Classification: Scenarios are categorized as "direct" (the system can execute the scenario without modification) or "indirect" (the architecture requires changes to accommodate the scenario).
  4. Individual Scenario Evaluation: For indirect scenarios, the cost and impact of the required changes are estimated.
  5. Scenario Interaction Assessment: If multiple indirect scenarios require changes to the same component, it indicates a high degree of responsibility for that component, which may signify a potential design weakness or a "hotspot."
  6. Overall Evaluation: The results are aggregated to provide a summary of the architecture’s suitability and to compare competing architectural candidates.

Evolution and Related Methods

While SAAM was initially focused on modifiability, the field of software engineering evolved to include methods that address a broader range of quality attributes and their interactions.

  • Architecture Tradeoff Analysis Method (ATAM): Developed as a successor to SAAM, ATAM is used to analyze multiple quality attributes (such as performance, security, availability, and modifiability) and identify the trade-offs between them.
  • Architecture-Level Modifiability Analysis (ALMA): Specifically targets the analysis of the modifiability of a software system.
  • Performance Assessment of Software Architectures (PASA): A specialized method focused on identifying performance-related risks.

Software architecture analysis remains a fundamental practice in software engineering, providing a framework for objective decision-making and risk management during the design phase.

Browse

More topics to explore

    Browse all articles