Also called ISO 25010, ISO/IEC 25010:2023, SQuaRE product quality model
In depth Code quality metrics: the 21 markers behind a code health score, and what each one measures.
What ISO/IEC 25010 defines
ISO/IEC 25010 is part of the SQuaRE series (ISO/IEC 25000), a set of standards on systems and software quality requirements and evaluation. It defines a product quality model: a list of characteristics, each split into sub-characteristics, that a software product can be judged against. The current edition is ISO/IEC 25010:2023, published in November 2023. Per ISO's foreword it revises the product quality model of the 2011 edition and moves the other parts into ISO/IEC 25002 and ISO/IEC 25019, which carry the material that sat outside the product quality model.
The standard does not give you a score. It gives you words for what "quality" covers, so a team can agree on which parts it is measuring. There is no certificate to earn.
The characteristics, 2011 versus 2023
| ISO/IEC 25010:2011 (8) | ISO/IEC 25010:2023 (9) |
|---|---|
| Functional suitability | Functional suitability |
| Performance efficiency | Performance efficiency |
| Compatibility | Compatibility |
| Usability | Interaction capability |
| Reliability | Reliability |
| Security | Security |
| Maintainability | Maintainability |
| Portability | Flexibility |
| (none) | Safety |
The sub-characteristics of each are listed on iso25000.com. Maintainability is the one most tied to source code, and its sub-characteristics are modularity, reusability, analysability, modifiability and testability.
Maintainability is where code-level measurement lives
Most characteristics need runtime data, user studies or load tests. Maintainability can be read from the repository, so it is the one teams tend to automate. The table maps each sub-characteristic to signals repowise computes from code and git history. The mapping is a judgment call, not part of the standard.
| Sub-characteristic | Signals in repowise | What it tells you |
|---|---|---|
| Modularity | Circular import groups, hub files, low_cohesion, god_class | Whether a file can be loaded, tested or changed without dragging others in |
| Reusability | Hub files, low_cohesion, dead code | Which modules are pulled in widely and which are unused |
| Analysability | complex_method, nested_complexity, large_method, brain_method | How hard a function is to read: cyclomatic complexity, nesting depth, length |
| Modifiability | Churn, co-change (hidden_coupling), hotspots, knowledge_loss, bus factor | Where changes are frequent, spread across files and owned by few people |
| Testability | untested_hotspot, untested_complexity, test coverage gap | Whether the risky code has tests |
| Reliability (partly) | prior_defect, churn_risk | Where bugs have been fixed before |
Reliability in the standard is mostly about runtime behavior (faultlessness, availability, recoverability), so code signals only cover the part that predicts defects.
What the data looks like
In a cohort of 195 popular repositories analyzed by repowise, 173 contain at least one circular import chain between files, and in the median repo 9.2% of files sit inside one. That is the modularity picture. For analysability, across 200,744 production files in 160 repositories, 23.3% contain a function with cyclomatic complexity above 10, McCabe's usual limit. Those figures use the most complex function in each file, not a per-function count.
How to measure ISO 25010 maintainability yourself
You can cover most of it with free tools.
| Sub-characteristic | Plain tool |
|---|---|
| Modularity | madge --circular src/ (JavaScript, TypeScript), import-linter (Python), go list with a cycle check |
| Analysability | lizard -C 10 -w src/, radon cc -s src/, ESLint complexity rule |
| Modifiability | git log --since=90.days --name-only --pretty=format: | sort | uniq -c | sort -rn | head -20 for churn |
| Testability | Your coverage report, filtered to the files from the churn list |
| Dead code | vulture (Python), knip (TypeScript) |
Run the churn list against the complexity list and read the overlap. A complex file nobody touches is cheap to leave alone. A complex file changed weekly is where maintainability is costing you. The code quality hub lays out the full workflow, and code complexity metrics compares the numbers.
How repowise measures it
repowise scores every file from 1 to 10 using detectors that read both the code and the git history, so the same function ranks higher in a file that changes often. Complexity, nesting and length detectors cover analysability. Import cycles and hub files cover modularity. Co-change and ownership signals cover modifiability. Coverage-gap detectors cover testability. It also tracks technical debt as the cost of the findings that stay open.
Run repowise health for the ranked list, or call get_health over MCP from an agent. No LLM is involved in the scoring. See the code health feature page for the full view.