Skip to content
Software development
ASD ISMISM-2043

ASD ISM 2043 Ensuring readable and maintainable software architecture

What it says

Software is architected and structured to support readability and maintainability.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Design and organise software so other developers can read it and change it safely, using clear components, interfaces and code structure.

Software must be architected and structured to support readability and maintainability. Architected covers the overall design: how the software is divided into components and how they connect. Structured covers how the code is organised, such as modules, layers and the size and naming of functions. Readable means another developer can follow what the code does; maintainable means it can be fixed, updated and patched without breaking something else. This includes code written with AI tools. The control sets no measure, so the organisation decides how it judges both.

Why it matters

Code that is hard to read hides security flaws from reviewers, and code that is hard to change makes vulnerability fixes slow and likely to break something. Clear structure lets flaws be found in review and fixes be made, tested and released quickly.

How to implement

  1. Set the organisation's readability and maintainability rules.

    Cover how software is split into components with clear interfaces, naming and formatting conventions, limits on function size and complexity, and what must be documented, with limits chosen for each language.

  2. Document the architecture beside the code.

    Keep a current description of components, interfaces and data flows in the authoritative source for software, and record major design decisions, including security ones (ISM-2034).

  3. Check structure automatically in the pipeline.

    Run formatters, linters and complexity and duplication checks on every change, so code that breaks the rules is flagged before it is merged.

  4. Review for readability in code review.

    Have reviewers send back code they cannot follow without its author, including code from AI tools, and track hard-to-maintain areas as refactoring work in the issue tracker (ISM-2025). For software a supplier builds, put the rules in the contract and review sample code before acceptance.

Keep it running

Watch for modules where fixes take longest or keep breaking other features, and restructure them before they grow. Update the architecture documentation whenever components are added, merged or split.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The architecture documentation for a sampled application, compared with its deployed components and repository structure.

    Look at

    Whether the documented components and interfaces match what exists, and whether the code is organised along those boundaries.

    Good evidence

    The documentation matches the as-built components and interfaces, and the code is organised along those component boundaries rather than as one tangled block.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A walkthrough in which a developer who did not write a sampled module explains it and makes a small change, with its tests.

    Look at

    Whether they can do this from the code and documentation alone, and whether the change breaks anything.

    Good evidence

    The developer explains the module and makes the change without help from its author, and the existing tests still pass afterwards.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Complexity, duplication and size results for the codebase from the pipeline, with the organisation's limits.

    Look at

    Whether the checks run on every change and how much newly merged code exceeds the limits.

    Good evidence

    The checks run on every change, and code merged since they were introduced stays within the limits.

Mappings

Closest match in ISO/IEC 27001: A.8.25, Secure development life cycle, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.8.25Secure development life cyclePartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.