Executive summary
httpie/cli falls short of our standard for production because 37 files are no longer known to anyone active in the project and the project keeps no record of its design decisions. It scores 54 out of 100 and is rated Adequate, and all 54 of its critical findings are security problems.
Maturity, at 46, is the weakest lens and counts most in the score. The best first step is recording design decisions, worth about 8 points. Having someone learn and document the 37 files no active contributor knows comes next, also worth about 8. Raising Maturity to 70 would lift the score to about 60.
Thirty-six pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with. Seven settings leave the servers or containers unsafe, and five secrets can leak from the build pipeline. Pinning each tool to an exact version, correcting the unsafe settings and limiting each secret to its own step would close these risks. Setting a waiting period for automatic updates would fix the automatic dependency update that takes a new release at once, and the four pipeline steps that install packages without pinning their versions need the packages they install pinned to exact versions.
The product code is 9,080 lines, about €15,000 to rebuild.
If Maturity rose from 46 to 70, the lowest score rated Strong, the score would rise from 54 to about 60.
New since the last survey: 13 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 3 findings
- Supply-chain Provenance & Signing REDACTED
- Supply-chain Provenance & Signing REDACTED
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €15,000 · Estimate
| Cost to rebuild | €5,100 to €26,000, for 85 to 270 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 54. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 9,080 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 (global) | 2 docs.contributors | 3 docs.contributors.fetch | 4 docs.installation | 5 extras.packaging.linux | 6 httpie.cli.argtypes | 7 httpie.cli.dicts | 8 httpie.cli.options | 9 httpie.config | 10 httpie.models | 11 httpie.output.processing | 12 httpie.output.ui.palette | 13 httpie.plugins.base | 14 httpie.status | 15 tests.utils.matching.tokens | 16 extras.scripts | 17 httpie.cli | 18 httpie.context | 19 httpie.output.formatters.headers | 20 httpie.output.formatters.json | 21 httpie.output.formatters.xml | 22 httpie.output.streams | 23 httpie.plugins.builtin | 24 tests.utils.matching | 25 httpie | 26 httpie.cli.argparser | 27 httpie.downloads | 28 httpie.internal | 29 httpie.manager | 30 httpie.manager.tasks | 31 httpie.manager.tasks.plugins | 32 httpie.output.formatters.colors | 33 httpie.output.models | 34 httpie.output.ui | 35 httpie.output.ui.rich_progress | 36 httpie.sessions | 37 tests.utils | 38 tests.utils.plugins_cli | 39 httpie.output | 40 tests |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | ||||||||||||||||||||||||||||||||||||||||
| 2 docs.contributors | ||||||||||||||||||||||||||||||||||||||||
| 3 docs.contributors.fetch | ||||||||||||||||||||||||||||||||||||||||
| 4 docs.installation | ||||||||||||||||||||||||||||||||||||||||
| 5 extras.packaging.linux | ||||||||||||||||||||||||||||||||||||||||
| 6 httpie.cli.argtypes | ||||||||||||||||||||||||||||||||||||||||
| 7 httpie.cli.dicts | ||||||||||||||||||||||||||||||||||||||||
| 8 httpie.cli.options | ||||||||||||||||||||||||||||||||||||||||
| 9 httpie.config | ||||||||||||||||||||||||||||||||||||||||
| 10 httpie.models | ||||||||||||||||||||||||||||||||||||||||
| 11 httpie.output.processing | ||||||||||||||||||||||||||||||||||||||||
| 12 httpie.output.ui.palette | ||||||||||||||||||||||||||||||||||||||||
| 13 httpie.plugins.base | ||||||||||||||||||||||||||||||||||||||||
| 14 httpie.status | ||||||||||||||||||||||||||||||||||||||||
| 15 tests.utils.matching.tokens | ||||||||||||||||||||||||||||||||||||||||
| 16 extras.scripts | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 httpie.cli | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 httpie.context | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 httpie.output.formatters.headers | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 httpie.output.formatters.json | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 httpie.output.formatters.xml | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 httpie.output.streams | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 23 httpie.plugins.builtin | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 tests.utils.matching | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 httpie | 2 | 1 | 2 | 4 | ||||||||||||||||||||||||||||||||||||
| 26 httpie.cli.argparser | 2 | |||||||||||||||||||||||||||||||||||||||
| 27 httpie.downloads | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 httpie.internal | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 29 httpie.manager | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 30 httpie.manager.tasks | 4 | 4 | ||||||||||||||||||||||||||||||||||||||
| 31 httpie.manager.tasks.plugins | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 httpie.output.formatters.colors | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 httpie.output.models | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 httpie.output.ui | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 httpie.output.ui.rich_progress | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 httpie.sessions | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 tests.utils | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 tests.utils.plugins_cli | 1 | |||||||||||||||||||||||||||||||||||||||
| 39 httpie.output | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 40 tests | 2 |
16→8 extras.scripts uses httpie.cli.options✕
- Connections
- 1 pair of types, where a type in extras.scripts uses a type in httpie.cli.options.
- The types involved
extras.scripts.generate_man_pages→httpie.cli.options.ParserSpec
- Direction
- extras.scripts uses httpie.cli.options, so a change to httpie.cli.options can break extras.scripts, while a change to extras.scripts can't break httpie.cli.options.
- Position
- Below the diagonal: extras.scripts uses a module listed above it, which is the healthy direction.
17→6 httpie.cli uses httpie.cli.argtypes✕
- Connections
- 1 pair of types, where a type in httpie.cli uses a type in httpie.cli.argtypes.
- The types involved
httpie.cli.requestitems→httpie.cli.argtypes.KeyValueArg
- Direction
- httpie.cli uses httpie.cli.argtypes, so a change to httpie.cli.argtypes can break httpie.cli, while a change to httpie.cli can't break httpie.cli.argtypes.
- Position
- Below the diagonal: httpie.cli uses a module listed above it, which is the healthy direction.
17→8 httpie.cli uses httpie.cli.options✕
- Connections
- 1 pair of types, where a type in httpie.cli uses a type in httpie.cli.options.
- The types involved
httpie.cli.options→httpie.cli.options.ParserSpec
- Direction
- httpie.cli uses httpie.cli.options, so a change to httpie.cli.options can break httpie.cli, while a change to httpie.cli can't break httpie.cli.options.
- Position
- Below the diagonal: httpie.cli uses a module listed above it, which is the healthy direction.
18→9 httpie.context uses httpie.config✕
- Connections
- 1 pair of types, where a type in httpie.context uses a type in httpie.config.
- The types involved
httpie.context.Environment→httpie.config.Config
- Direction
- httpie.context uses httpie.config, so a change to httpie.config can break httpie.context, while a change to httpie.context can't break httpie.config.
- Position
- Below the diagonal: httpie.context uses a module listed above it, which is the healthy direction.
19→13 httpie.output.formatters.headers uses httpie.plugins.base✕
- Connections
- 1 pair of types, where a type in httpie.output.formatters.headers uses a type in httpie.plugins.base.
- The types involved
httpie.output.formatters.headers.HeadersFormatter→httpie.plugins.base.FormatterPlugin
- Direction
- httpie.output.formatters.headers uses httpie.plugins.base, so a change to httpie.plugins.base can break httpie.output.formatters.headers, while a change to httpie.output.formatters.headers can't break httpie.plugins.base.
- Position
- Below the diagonal: httpie.output.formatters.headers uses a module listed above it, which is the healthy direction.
20→13 httpie.output.formatters.json uses httpie.plugins.base✕
- Connections
- 1 pair of types, where a type in httpie.output.formatters.json uses a type in httpie.plugins.base.
- The types involved
httpie.output.formatters.json.JSONFormatter→httpie.plugins.base.FormatterPlugin
- Direction
- httpie.output.formatters.json uses httpie.plugins.base, so a change to httpie.plugins.base can break httpie.output.formatters.json, while a change to httpie.output.formatters.json can't break httpie.plugins.base.
- Position
- Below the diagonal: httpie.output.formatters.json uses a module listed above it, which is the healthy direction.
21→13 httpie.output.formatters.xml uses httpie.plugins.base✕
- Connections
- 1 pair of types, where a type in httpie.output.formatters.xml uses a type in httpie.plugins.base.
- The types involved
httpie.output.formatters.xml.XMLFormatter→httpie.plugins.base.FormatterPlugin
- Direction
- httpie.output.formatters.xml uses httpie.plugins.base, so a change to httpie.plugins.base can break httpie.output.formatters.xml, while a change to httpie.output.formatters.xml can't break httpie.plugins.base.
- Position
- Below the diagonal: httpie.output.formatters.xml uses a module listed above it, which is the healthy direction.
22→10 httpie.output.streams uses httpie.models✕
- Connections
- 2 pairs of types, where a type in httpie.output.streams uses a type in httpie.models.
- The types involved
httpie.output.streams.BaseStream→httpie.models.HTTPMessagehttpie.output.streams.BaseStream→httpie.models.OutputOptions
- Direction
- httpie.output.streams uses httpie.models, so a change to httpie.models can break httpie.output.streams, while a change to httpie.output.streams can't break httpie.models.
- Position
- Below the diagonal: httpie.output.streams uses a module listed above it, which is the healthy direction.
22→11 httpie.output.streams uses httpie.output.processing✕
- Connections
- 2 pairs of types, where a type in httpie.output.streams uses a type in httpie.output.processing.
- The types involved
httpie.output.streams.PrettyStream→httpie.output.processing.Conversionhttpie.output.streams.PrettyStream→httpie.output.processing.Formatting
- Direction
- httpie.output.streams uses httpie.output.processing, so a change to httpie.output.processing can break httpie.output.streams, while a change to httpie.output.streams can't break httpie.output.processing.
- Position
- Below the diagonal: httpie.output.streams uses a module listed above it, which is the healthy direction.
23→13 httpie.plugins.builtin uses httpie.plugins.base✕
- Connections
- 1 pair of types, where a type in httpie.plugins.builtin uses a type in httpie.plugins.base.
- The types involved
httpie.plugins.builtin.BuiltinAuthPlugin→httpie.plugins.base.AuthPlugin
- Direction
- httpie.plugins.builtin uses httpie.plugins.base, so a change to httpie.plugins.base can break httpie.plugins.builtin, while a change to httpie.plugins.builtin can't break httpie.plugins.base.
- Position
- Below the diagonal: httpie.plugins.builtin uses a module listed above it, which is the healthy direction.
24→15 tests.utils.matching uses tests.utils.matching.tokens✕
- Connections
- 1 pair of types, where a type in tests.utils.matching uses a type in tests.utils.matching.tokens.
- The types involved
tests.utils.matching.parsing→tests.utils.matching.tokens.Expect
- Direction
- tests.utils.matching uses tests.utils.matching.tokens, so a change to tests.utils.matching.tokens can break tests.utils.matching, while a change to tests.utils.matching can't break tests.utils.matching.tokens.
- Position
- Below the diagonal: tests.utils.matching uses a module listed above it, which is the healthy direction.
25→7 httpie uses httpie.cli.dicts✕
- Connections
- 2 pairs of types, where a type in httpie uses a type in httpie.cli.dicts.
- The types involved
httpie.client→httpie.cli.dicts.HTTPHeadersDicthttpie.uploads→httpie.cli.dicts.MultipartRequestDataDict
- Direction
- httpie uses httpie.cli.dicts, so a change to httpie.cli.dicts can break httpie, while a change to httpie can't break httpie.cli.dicts.
- Position
- Below the diagonal: httpie uses a module listed above it, which is the healthy direction.
25→10 httpie uses httpie.models✕
- Connections
- 1 pair of types, where a type in httpie uses a type in httpie.models.
- The types involved
httpie.models→httpie.models.RequestsMessageKind
- Direction
- httpie uses httpie.models, so a change to httpie.models can break httpie, while a change to httpie can't break httpie.models.
- Position
- Below the diagonal: httpie uses a module listed above it, which is the healthy direction.
25→14 httpie uses httpie.status✕
- Connections
- 2 pairs of types, where a type in httpie uses a type in httpie.status.
- The types involved
httpie.core→httpie.status.ExitStatushttpie.status→httpie.status.ExitStatus
- Direction
- httpie uses httpie.status, so a change to httpie.status can break httpie, while a change to httpie can't break httpie.status.
- Position
- Below the diagonal: httpie uses a module listed above it, which is the healthy direction.
25→18 httpie uses httpie.context✕
- Connections
- 4 pairs of types, where a type in httpie uses a type in httpie.context.
- The types involved
httpie.client→httpie.context.Environmenthttpie.core→httpie.context.Environmenthttpie.sessions→httpie.context.Environmenthttpie.uploads→httpie.context.Environment
- Direction
- httpie uses httpie.context, so a change to httpie.context can break httpie, while a change to httpie can't break httpie.context.
- Position
- Below the diagonal: httpie uses a module listed above it, which is the healthy direction.
26→18 httpie.cli.argparser uses httpie.context✕
- Connections
- 2 pairs of types, where a type in httpie.cli.argparser uses a type in httpie.context.
- The types involved
httpie.cli.argparser.BaseHTTPieArgumentParser→httpie.context.Environmenthttpie.cli.argparser.HTTPieArgumentParser→httpie.context.Environment
- Direction
- httpie.cli.argparser uses httpie.context, so a change to httpie.context can break httpie.cli.argparser, while a change to httpie.cli.argparser can't break httpie.context.
- Position
- Below the diagonal: httpie.cli.argparser uses a module listed above it, which is the healthy direction.
27→18 httpie.downloads uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.downloads uses a type in httpie.context.
- The types involved
httpie.downloads.Downloader→httpie.context.Environment
- Direction
- httpie.downloads uses httpie.context, so a change to httpie.context can break httpie.downloads, while a change to httpie.downloads can't break httpie.context.
- Position
- Below the diagonal: httpie.downloads uses a module listed above it, which is the healthy direction.
28→14 httpie.internal uses httpie.status✕
- Connections
- 1 pair of types, where a type in httpie.internal uses a type in httpie.status.
- The types involved
httpie.internal.daemon_runner→httpie.status.ExitStatus
- Direction
- httpie.internal uses httpie.status, so a change to httpie.status can break httpie.internal, while a change to httpie.internal can't break httpie.status.
- Position
- Below the diagonal: httpie.internal uses a module listed above it, which is the healthy direction.
28→18 httpie.internal uses httpie.context✕
- Connections
- 2 pairs of types, where a type in httpie.internal uses a type in httpie.context.
- The types involved
httpie.internal.daemon_runner→httpie.context.Environmenthttpie.internal.update_warnings→httpie.context.Environment
- Direction
- httpie.internal uses httpie.context, so a change to httpie.context can break httpie.internal, while a change to httpie.internal can't break httpie.context.
- Position
- Below the diagonal: httpie.internal uses a module listed above it, which is the healthy direction.
29→14 httpie.manager uses httpie.status✕
- Connections
- 2 pairs of types, where a type in httpie.manager uses a type in httpie.status.
- The types involved
httpie.manager.__main__→httpie.status.ExitStatushttpie.manager.core→httpie.status.ExitStatus
- Direction
- httpie.manager uses httpie.status, so a change to httpie.status can break httpie.manager, while a change to httpie.manager can't break httpie.status.
- Position
- Below the diagonal: httpie.manager uses a module listed above it, which is the healthy direction.
29→18 httpie.manager uses httpie.context✕
- Connections
- 2 pairs of types, where a type in httpie.manager uses a type in httpie.context.
- The types involved
httpie.manager.__main__→httpie.context.Environmenthttpie.manager.core→httpie.context.Environment
- Direction
- httpie.manager uses httpie.context, so a change to httpie.context can break httpie.manager, while a change to httpie.manager can't break httpie.context.
- Position
- Below the diagonal: httpie.manager uses a module listed above it, which is the healthy direction.
30→14 httpie.manager.tasks uses httpie.status✕
- Connections
- 4 pairs of types, where a type in httpie.manager.tasks uses a type in httpie.status.
- The types involved
httpie.manager.tasks.check_updates→httpie.status.ExitStatushttpie.manager.tasks.export_args→httpie.status.ExitStatushttpie.manager.tasks.plugins→httpie.status.ExitStatushttpie.manager.tasks.sessions→httpie.status.ExitStatus
- Direction
- httpie.manager.tasks uses httpie.status, so a change to httpie.status can break httpie.manager.tasks, while a change to httpie.manager.tasks can't break httpie.status.
- Position
- Below the diagonal: httpie.manager.tasks uses a module listed above it, which is the healthy direction.
30→18 httpie.manager.tasks uses httpie.context✕
- Connections
- 4 pairs of types, where a type in httpie.manager.tasks uses a type in httpie.context.
- The types involved
httpie.manager.tasks.check_updates→httpie.context.Environmenthttpie.manager.tasks.export_args→httpie.context.Environmenthttpie.manager.tasks.plugins→httpie.context.Environmenthttpie.manager.tasks.sessions→httpie.context.Environment
- Direction
- httpie.manager.tasks uses httpie.context, so a change to httpie.context can break httpie.manager.tasks, while a change to httpie.manager.tasks can't break httpie.context.
- Position
- Below the diagonal: httpie.manager.tasks uses a module listed above it, which is the healthy direction.
31→14 httpie.manager.tasks.plugins uses httpie.status✕
- Connections
- 1 pair of types, where a type in httpie.manager.tasks.plugins uses a type in httpie.status.
- The types involved
httpie.manager.tasks.plugins.PluginInstaller→httpie.status.ExitStatus
- Direction
- httpie.manager.tasks.plugins uses httpie.status, so a change to httpie.status can break httpie.manager.tasks.plugins, while a change to httpie.manager.tasks.plugins can't break httpie.status.
- Position
- Below the diagonal: httpie.manager.tasks.plugins uses a module listed above it, which is the healthy direction.
31→18 httpie.manager.tasks.plugins uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.manager.tasks.plugins uses a type in httpie.context.
- The types involved
httpie.manager.tasks.plugins.PluginInstaller→httpie.context.Environment
- Direction
- httpie.manager.tasks.plugins uses httpie.context, so a change to httpie.context can break httpie.manager.tasks.plugins, while a change to httpie.manager.tasks.plugins can't break httpie.context.
- Position
- Below the diagonal: httpie.manager.tasks.plugins uses a module listed above it, which is the healthy direction.
32→13 httpie.output.formatters.colors uses httpie.plugins.base✕
- Connections
- 1 pair of types, where a type in httpie.output.formatters.colors uses a type in httpie.plugins.base.
- The types involved
httpie.output.formatters.colors.ColorFormatter→httpie.plugins.base.FormatterPlugin
- Direction
- httpie.output.formatters.colors uses httpie.plugins.base, so a change to httpie.plugins.base can break httpie.output.formatters.colors, while a change to httpie.output.formatters.colors can't break httpie.plugins.base.
- Position
- Below the diagonal: httpie.output.formatters.colors uses a module listed above it, which is the healthy direction.
32→18 httpie.output.formatters.colors uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.output.formatters.colors uses a type in httpie.context.
- The types involved
httpie.output.formatters.colors.ColorFormatter→httpie.context.Environment
- Direction
- httpie.output.formatters.colors uses httpie.context, so a change to httpie.context can break httpie.output.formatters.colors, while a change to httpie.output.formatters.colors can't break httpie.context.
- Position
- Below the diagonal: httpie.output.formatters.colors uses a module listed above it, which is the healthy direction.
33→18 httpie.output.models uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.output.models uses a type in httpie.context.
- The types involved
httpie.output.models.ProcessingOptions→httpie.context.Environment
- Direction
- httpie.output.models uses httpie.context, so a change to httpie.context can break httpie.output.models, while a change to httpie.output.models can't break httpie.context.
- Position
- Below the diagonal: httpie.output.models uses a module listed above it, which is the healthy direction.
34→8 httpie.output.ui uses httpie.cli.options✕
- Connections
- 2 pairs of types, where a type in httpie.output.ui uses a type in httpie.cli.options.
- The types involved
httpie.output.ui.rich_help→httpie.cli.options.Argumenthttpie.output.ui.rich_help→httpie.cli.options.ParserSpec
- Direction
- httpie.output.ui uses httpie.cli.options, so a change to httpie.cli.options can break httpie.output.ui, while a change to httpie.output.ui can't break httpie.cli.options.
- Position
- Below the diagonal: httpie.output.ui uses a module listed above it, which is the healthy direction.
34→12 httpie.output.ui uses httpie.output.ui.palette✕
- Connections
- 1 pair of types, where a type in httpie.output.ui uses a type in httpie.output.ui.palette.
- The types involved
httpie.output.ui.palette→httpie.output.ui.palette.PieColor
- Direction
- httpie.output.ui uses httpie.output.ui.palette, so a change to httpie.output.ui.palette can break httpie.output.ui, while a change to httpie.output.ui can't break httpie.output.ui.palette.
- Position
- Below the diagonal: httpie.output.ui uses a module listed above it, which is the healthy direction.
34→18 httpie.output.ui uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.output.ui uses a type in httpie.context.
- The types involved
httpie.output.ui.man_pages→httpie.context.Environment
- Direction
- httpie.output.ui uses httpie.context, so a change to httpie.context can break httpie.output.ui, while a change to httpie.output.ui can't break httpie.context.
- Position
- Below the diagonal: httpie.output.ui uses a module listed above it, which is the healthy direction.
35→18 httpie.output.ui.rich_progress uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.output.ui.rich_progress uses a type in httpie.context.
- The types involved
httpie.output.ui.rich_progress.BaseDisplay→httpie.context.Environment
- Direction
- httpie.output.ui.rich_progress uses httpie.context, so a change to httpie.context can break httpie.output.ui.rich_progress, while a change to httpie.output.ui.rich_progress can't break httpie.context.
- Position
- Below the diagonal: httpie.output.ui.rich_progress uses a module listed above it, which is the healthy direction.
36→7 httpie.sessions uses httpie.cli.dicts✕
- Connections
- 1 pair of types, where a type in httpie.sessions uses a type in httpie.cli.dicts.
- The types involved
httpie.sessions.Session→httpie.cli.dicts.HTTPHeadersDict
- Direction
- httpie.sessions uses httpie.cli.dicts, so a change to httpie.cli.dicts can break httpie.sessions, while a change to httpie.sessions can't break httpie.cli.dicts.
- Position
- Below the diagonal: httpie.sessions uses a module listed above it, which is the healthy direction.
36→9 httpie.sessions uses httpie.config✕
- Connections
- 1 pair of types, where a type in httpie.sessions uses a type in httpie.config.
- The types involved
httpie.sessions.Session→httpie.config.BaseConfigDict
- Direction
- httpie.sessions uses httpie.config, so a change to httpie.config can break httpie.sessions, while a change to httpie.sessions can't break httpie.config.
- Position
- Below the diagonal: httpie.sessions uses a module listed above it, which is the healthy direction.
36→18 httpie.sessions uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.sessions uses a type in httpie.context.
- The types involved
httpie.sessions.Session→httpie.context.Environment
- Direction
- httpie.sessions uses httpie.context, so a change to httpie.context can break httpie.sessions, while a change to httpie.sessions can't break httpie.context.
- Position
- Below the diagonal: httpie.sessions uses a module listed above it, which is the healthy direction.
37→9 tests.utils uses httpie.config✕
- Connections
- 1 pair of types, where a type in tests.utils uses a type in httpie.config.
- The types involved
tests.utils.MockEnvironment→httpie.config.Config
- Direction
- tests.utils uses httpie.config, so a change to httpie.config can break tests.utils, while a change to tests.utils can't break httpie.config.
- Position
- Below the diagonal: tests.utils uses a module listed above it, which is the healthy direction.
37→14 tests.utils uses httpie.status✕
- Connections
- 1 pair of types, where a type in tests.utils uses a type in httpie.status.
- The types involved
tests.utils.BaseCLIResponse→httpie.status.ExitStatus
- Direction
- tests.utils uses httpie.status, so a change to httpie.status can break tests.utils, while a change to tests.utils can't break httpie.status.
- Position
- Below the diagonal: tests.utils uses a module listed above it, which is the healthy direction.
37→18 tests.utils uses httpie.context✕
- Connections
- 1 pair of types, where a type in tests.utils uses a type in httpie.context.
- The types involved
tests.utils.MockEnvironment→httpie.context.Environment
- Direction
- tests.utils uses httpie.context, so a change to httpie.context can break tests.utils, while a change to tests.utils can't break httpie.context.
- Position
- Below the diagonal: tests.utils uses a module listed above it, which is the healthy direction.
38→18 tests.utils.plugins_cli uses httpie.context✕
- Connections
- 1 pair of types, where a type in tests.utils.plugins_cli uses a type in httpie.context.
- The types involved
tests.utils.plugins_cli.Interface→httpie.context.Environment
- Direction
- tests.utils.plugins_cli uses httpie.context, so a change to httpie.context can break tests.utils.plugins_cli, while a change to tests.utils.plugins_cli can't break httpie.context.
- Position
- Below the diagonal: tests.utils.plugins_cli uses a module listed above it, which is the healthy direction.
39→7 httpie.output uses httpie.cli.dicts✕
- Connections
- 1 pair of types, where a type in httpie.output uses a type in httpie.cli.dicts.
- The types involved
httpie.output.writer→httpie.cli.dicts.HTTPHeadersDict
- Direction
- httpie.output uses httpie.cli.dicts, so a change to httpie.cli.dicts can break httpie.output, while a change to httpie.output can't break httpie.cli.dicts.
- Position
- Below the diagonal: httpie.output uses a module listed above it, which is the healthy direction.
39→10 httpie.output uses httpie.models✕
- Connections
- 1 pair of types, where a type in httpie.output uses a type in httpie.models.
- The types involved
httpie.output.writer→httpie.models.OutputOptions
- Direction
- httpie.output uses httpie.models, so a change to httpie.models can break httpie.output, while a change to httpie.output can't break httpie.models.
- Position
- Below the diagonal: httpie.output uses a module listed above it, which is the healthy direction.
39→18 httpie.output uses httpie.context✕
- Connections
- 1 pair of types, where a type in httpie.output uses a type in httpie.context.
- The types involved
httpie.output.writer→httpie.context.Environment
- Direction
- httpie.output uses httpie.context, so a change to httpie.context can break httpie.output, while a change to httpie.output can't break httpie.context.
- Position
- Below the diagonal: httpie.output uses a module listed above it, which is the healthy direction.
39→22 httpie.output uses httpie.output.streams✕
- Connections
- 1 pair of types, where a type in httpie.output uses a type in httpie.output.streams.
- The types involved
httpie.output.writer→httpie.output.streams.BaseStream
- Direction
- httpie.output uses httpie.output.streams, so a change to httpie.output.streams can break httpie.output, while a change to httpie.output can't break httpie.output.streams.
- Position
- Below the diagonal: httpie.output uses a module listed above it, which is the healthy direction.
39→33 httpie.output uses httpie.output.models✕
- Connections
- 1 pair of types, where a type in httpie.output uses a type in httpie.output.models.
- The types involved
httpie.output.writer→httpie.output.models.ProcessingOptions
- Direction
- httpie.output uses httpie.output.models, so a change to httpie.output.models can break httpie.output, while a change to httpie.output can't break httpie.output.models.
- Position
- Below the diagonal: httpie.output uses a module listed above it, which is the healthy direction.
40→37 tests uses tests.utils✕
- Connections
- 2 pairs of types, where a type in tests uses a type in tests.utils.
- The types involved
tests.utils→tests.utils.MockEnvironmenttests.utils→tests.utils.StrCLIResponse
- Direction
- tests uses tests.utils, so a change to tests.utils can break tests, while a change to tests can't break tests.utils.
- Position
- Below the diagonal: tests uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 61 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 20 | Medium |
| A02:2025 — Security Misconfiguration | 12 | High / Critical |
Roadmap
Begin by resolving the missing architectural decision records and addressing the 37 orphaned files, prioritizing sessions.py, REDACTED, and colors.py. Next, implement a diagnostic log accessible via a verbose flag to capture error details for easier bug reproduction. Finally, integrate a static analysis security check into the CI pipeline to prevent security regressions from being merged.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +7.6 pts | Low | ADR Quality |
| Resolve the 37 Orphaned file finding(s) in Knowledge Freshness — start with sessions.py (2), REDACTED, colors.py. | +7.5 pts | Medium | Knowledge Freshness |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +6.5 pts | Medium | Architecture documentation |
| Write a diagnostic trail the user can hand back with a bug report: a log file under the platform's per-user data directory, switchable with a `--verbose`/`--debug` flag. Start with the error paths that emit nothing — a discarded error is the failure the user cannot describe and you cannot reproduce. | +3.6 pts | Medium | Observability |
| Add a SAST step to CI running what this repository's stack ships: bandit, `semgrep --config=p/python`, or CodeQL's python pack — so a security regression fails the build instead of landing. | +2.9 pts | Medium | Security & performance tooling |
| Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite. | +2.4 pts | Medium | Documentation (README) |
| Resolve the 2 Most significant orphaned file finding(s) in Knowledge Freshness — start with definition.py, argparser.py. | +1.2 pts | Low | Knowledge Freshness |
| Adopt a checker and raise it file by file: with Sorbet, `srb init` (or `bundle exec tapioca init`) commits `sorbet/config`, then move each file's sigil from `# typed: false` to `# typed: true` and on to `strict` as its methods get `sig`s — `spoom bump` does the moving; with Steep, write RBS signatures and `check` the product directories in the `Steepfile` under `D::Ruby.default` or `strict`, not `lenient`. Then pay down the assertions rather than adding to them: each `T.must` is a nil the checker could not rule out — narrow it (`return unless x`, `x&.`, `if (y = x)`), make the attribute non-nilable and set it in `initialize`, or change the method so the nil cannot arrive. | +1.5 pts | Medium | Nullable reference types |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 0.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 0.9 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 1.6 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 1.6 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| httpie/core.py | 6.0 | Mixed | Explicit Debt: TodoComment |
| httpie/cli/argparser.py | 6.0 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.0 | Mixed | Explicit Debt: TodoComment |
| httpie/output/formatters/colors.py | 6.7 | Mixed | Explicit Debt: FixmeComment |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 56 of 56 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 56 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 170 of 187 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.py, .rb) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`coverage run -m pytest` then `coverage xml`, or SimpleCov — `require "simplecov"` in your `spec_helper.rb`/`test_helper.rb`, which writes `coverage/.resultset.json` (or lcov via `simplecov-lcov`)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (`coverage run -m pytest` then `coverage xml`, or SimpleCov — `require "simplecov"` in your `spec_helper.rb`/`test_helper.rb`, which writes `coverage/.resultset.json` (or lcov via `simplecov-lcov`)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.py, .rb) and this repository declares a Python test suite (repository root, 35 test files), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 11 shipped Python distribution(s) were read, but the outdated signal needs pypi.org, and no declaration here carries an exact pin to ask about — a floor or a range installs the newest release it admits and cannot be behind one, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. All 39 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains — nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness). Counted over 39 of the 86 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
- D19 Documentation Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Each ecosystem's manifests (what makes a folder runnable or a published package) need their own proof before D19 judges its units. Until then those folders' READMEs are judged only as documents (boilerplate, structure), never counted as complete.
- D21 Naming Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (setup.py), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
- D24 Comment Value — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via REDACTED (REDACTED). docker build failed (exit 1) — 2 | # packages. This will prevent stuff like glibc from conflicting. 3 | >>> FROM ubuntu:18.04 4 | 5 | RUN apt-get update -------------------- ERROR: failed to solve: ubuntu:18.04: failed to resolve source metadata for docker.io/library/ubuntu:18.04: failed to do request: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/18.04": Forbidden; runtime evidence skipped.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and this repository's Python is most of its product and is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and this repository's Python is most of its product and is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. M4 checks only the claim kinds adjudicated at or above 95 % precision: links and versions (PREREGISTRATION version 9). Paths, command arguments, installs, environment variables, settings, projects, packages, routes, cd targets, infrastructure products and removed modules are read but not checked, and none of them is reported or counted.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
Dimensions
D1 · Cyclomatic Complexity
4 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was core.raw_main at 26.
What to do
- Bring the 4 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with core.raw_main (cyclomatic 26), HTTPieArgumentParser._process_auth (cyclomatic 23), core.program (cyclomatic 23). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 4 together lifts Cyclomatic Complexity from 9.1 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
13 method(s) exceeded the cognitive complexity threshold of 15; the worst was HTTPieArgumentParser._process_auth at 40.
What to do
- Bring the 13 bodies over 15 down to 15 or less in Cognitive Complexity — start with HTTPieArgumentParser._process_auth (cognitive 40), core.raw_main (cognitive 38), core.program (cognitive 35). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 13 together lifts Cognitive Complexity from 7.8 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
0 duplicated block group(s) detected.
D6 · Cohesion (LCOM4)
0 of 20 classes have LCOM4 above 3.
D9 · Test Distribution
429 test methods: 429 unit, 0 integration, 0 BDD, 0 e2e. The Python suite contributes 429 test function(s) across 35 file(s) declaring at least one — every `def test…` in a file pytest or unittest would collect, which is those frameworks' own definition of a case; a parametrize table counts once, so this is a floor. Its tier split is read from file names and paths only.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 17 shipped Python distribution(s) use a banned license. Licences were resolved from PyPI over the distributions a consumer installs — this repository's 11 declared runtime requirement(s) closed transitively over each distribution's published `requires_dist` (6 reached that way). Requirements it states ONLY under an extra, a PEP 735 dependency group, a Poetry dev group or a dev-named requirements file are excluded: pip does not install any of them for a consumer. ★ This repository commits no dependency lockfile that this pass reads, so each licence is the one PyPI publishes for the distribution's CURRENT release rather than for a pinned version. 1 of them publish no licence on PyPI this pass can read; that is missing data, not a violation, and none of them is charged. This repository publishes itself under BSD, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
24 deducted task-comment markers across 9080 LoC (0.2/KLoC) → score 9.6. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 17 TodoComment finding(s) in Explicit Debt — start with argparser.py (3), test_ssl.py (2), core.py (2). — One of this dimension's main actionable groups (17 warning-level).
- Resolve the 7 FixmeComment finding(s) in Explicit Debt — start with argparser.py (2), test_compress.py, test_json.py. — One of this dimension's main actionable groups (7 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
1 of 1 documentation facets pass in full. 16 document(s) read across 1 unit(s).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
1 of 1 build units (Python) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
61 finding(s): 0 critical, 47 high, 12 medium, 2 low. 36 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 2 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- No action in Static Analysis (SAST) — all 36 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (36 issue-level, 0 of them charged here).
D31 · IaC & Container Security
12 finding(s): 0 critical, 7 high, 4 medium, 1 low.
What to do
- Resolve the 7 High IaC finding(s) in IaC & Container Security — start with REDACTED (7). — One of this dimension's main actionable groups (7 issue-level).
- Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 Low IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D34 · Knowledge Freshness
39 of 39 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is httpie/cli/definition.py. Counted over 39 of the 86 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 37 Orphaned file finding(s) in Knowledge Freshness — start with sessions.py (2), REDACTED, colors.py. — One of this dimension's main actionable groups (37 recommendation-level).
- Resolve the 2 Most significant orphaned file finding(s) in Knowledge Freshness — start with definition.py, argparser.py. — One of this dimension's main actionable groups (2 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 5 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 5 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 11 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page — but when a run fails on a user's machine, neither they nor you have anything to read.
What to do
- Write a diagnostic trail the user can hand back with a bug report: a log file under the platform's per-user data directory, switchable with a `--verbose`/`--debug` flag. Start with the error paths that emit nothing — a discarded error is the failure the user cannot describe and you cannot reproduce.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add bandit, `semgrep --config=p/python`, or CodeQL's python pack as a CI step. What was searched, so you can tell an absence from a miss: the 13671 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: bandit, `semgrep --config=p/python`, or CodeQL's python pack — so a security regression fails the build instead of landing.
- Dependabot is configured but does not watch `pip` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P6 · Release Hygiene
PF1 · Benchmark discipline
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- `except Exception` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — httpie/uploads.py:90
- `except (Exception, SystemExit)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — httpie/manager/__main__.py:26
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- This repository commits no Sorbet configuration (`sorbet/config`) and no `Steepfile`, so nothing type-checks its 2 Ruby product file(s): a nilable value reaches a method call silently and raises `NoMethodError: undefined method … for nil` the first time it is nil. A `# typed:` sigil does nothing without a `sorbet/config` beside the code; a Steep run configured only on a command line is not something this check can read.
What to do
- Adopt a checker and raise it file by file: with Sorbet, `srb init` (or `bundle exec tapioca init`) commits `sorbet/config`, then move each file's sigil from `# typed: false` to `# typed: true` and on to `strict` as its methods get `sig`s — `spoom bump` does the moving; with Steep, write RBS signatures and `check` the product directories in the `Steepfile` under `D::Ruby.default` or `strict`, not `lenient`. Then pay down the assertions rather than adding to them: each `T.must` is a nil the checker could not rule out — narrow it (`return unless x`, `x&.`, `if (y = x)`), make the attribute non-nilable and set it in `initialize`, or change the method so the nil cannot arrive.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 64% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 85% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 46% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 53% | Adequate — gated by P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 63% | Adequate — gated by D29, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 80% | Strong | Strongest area. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X7 Silent fallback defaults — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 1 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 61 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's Python imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — No container singleton was found, so there is no shared instance for concurrent requests to race on. No function in this Python code is served by a threaded web framework (a Flask, Bottle or FastAPI route, a Django or Pyramid view), so no module is shared between request threads. No class in this Ruby code is a Rails controller, a Sinatra, Grape or Roda app, a Hanami action or a Rack app (an instance `call(env)`), so no request handler shares state between request threads.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — no class or module declares an abstract method
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — docker build failed (exit 1) — 2 | # packages. This will prevent stuff like glibc from conflicting. 3 | >>> FROM ubuntu:18.04 4 | 5 | RUN apt-get update -------------------- ERROR: failed to solve: ubuntu:18.04: failed to resolve source metadata for docker.io/library/ubuntu:18.04: failed to do request: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/18.04": Forbidden; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository registers no route and starts no server another machine can reach (no Flask/FastAPI/Starlette route, Django urlpatterns or class-based view, Tornado handler). Access control is therefore N/A here — a library or command-line tool is authorized by the application that serves it, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Django, SQLAlchemy, SQLModel, Peewee, Tortoise or MongoEngine model, a migration or a SQL schema — and no database or data-store client (Django ORM, SQLAlchemy, psycopg, PyMongo, …) in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential on a Django, SQLAlchemy, SQLModel, Peewee, Tortoise or mongoengine model, in a migration or in a SQL schema — and no database or data-store client (django.db, sqlalchemy, psycopg2, pymongo, sqlite3, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential on a Django, SQLAlchemy, SQLModel, Peewee, Tortoise or mongoengine model, in a migration or in a SQL schema — and no database or data-store client (django.db, sqlalchemy, psycopg2, pymongo, sqlite3, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~6558 lines of test source are present (.py, .rb) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .py suite was found but not re-run
- D12 Dependency Hygiene — Not scored — 11 shipped Python distribution(s) were read, but the outdated signal needs pypi.org, and no declaration here carries an exact pin to ask about — a floor or a range installs the newest release it admits and cannot be behind one, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D16 Bus Factor — dormant codebase — no living knowledge left to concentrate
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D21 Naming Consistency — Naming consistency is measured on C# only; Python, Ruby not measured.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — D24 reads C# and Visual Basic comments only — this repository's production source is .py, .rb, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.py), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D5 Coupling — Not applicable — this Python build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (13 value object(s))
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the Python, Ruby source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`coverage run -m pytest` then `coverage xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF2 Allocation hygiene — Not applicable: Python runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- PF3 Async & latency hygiene — Not applicable: Ruby has no async/await function colour, so there is no asynchronous code for a blocking call to stall.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no C# was loaded; this repository's Ruby and Python were read, and no request in it can be cancelled by a caller — a Ruby request takes no token: Net::HTTP, Faraday and async-http are stopped from outside the call (Async::Task#stop, Thread#raise, Timeout), not through a parameter; a Python request takes no token: asyncio cancels the task and trio or anyio the scope that made it, from outside the call, and requests, httpx, aiohttp and gRPC take a timeout, not a cancellation
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Ruby was read, and it logs through none: the standard library's Logger, which Rails.logger is, takes one finished message and no template arguments or fields (as log4net does in C#), so an interpolated message there loses nothing the API could have kept. The console gem (`Console.info`), SemanticLogger, Ougai and dry-logger would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 54 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 76 finding(s)
- TodoComment tests/test_auth_plugins.py:9
- TodoComment tests/test_downloads.py:184
- TodoComment tests/test_plugins_cli.py:120
- TodoComment tests/test_ssl.py:24
- TodoComment tests/test_ssl.py:71
- TodoComment tests/utils/matching/__init__.py:29
- TodoComment REDACTED:88
- TodoComment httpie/core.py:139
- TodoComment httpie/core.py:175
- TodoComment httpie/downloads.py:198
- TodoComment httpie/uploads.py:162
- TodoComment httpie/manager/tasks/plugins.py:167
- TodoComment httpie/cli/argparser.py:79
- TodoComment httpie/cli/argparser.py:188
- TodoComment httpie/cli/argparser.py:283
- TodoComment docs/markdownlint.rb:41
- TodoComment docs/markdownlint.rb:45
- FixmeComment tests/test_compress.py:25
- FixmeComment tests/test_json.py:31
- FixmeComment tests/test_sessions.py:234
- FixmeComment httpie/downloads.py:219
- FixmeComment httpie/output/formatters/colors.py:183
- FixmeComment httpie/cli/argparser.py:235
- FixmeComment httpie/cli/argparser.py:422
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Swallowed exception (caught, then discarded) httpie/uploads.py:90
- Swallowed exception (caught, then discarded) httpie/manager/__main__.py:26
- core.raw_main (cyclomatic 26) httpie/core.py:32
- HTTPieArgumentParser._process_auth (cyclomatic 23) httpie/cli/argparser.py:282
- core.program (cyclomatic 23) httpie/core.py:170
- client.collect_messages (cyclomatic 21) REDACTED:43
- HTTPieArgumentParser._process_auth (cognitive 40) httpie/cli/argparser.py:282
- core.raw_main (cognitive 38) httpie/core.py:32
- core.program (cognitive 35) httpie/core.py:170
- client.collect_messages (cognitive 34) REDACTED:43
- Session._compute_new_headers (cognitive 22) httpie/sessions.py:200
- interpret.interpret (cognitive 21) httpie/cli/nested_json/interpret.py:30
- rich_help.to_help_message (cognitive 21) httpie/output/ui/rich_help.py:128
- HTTPieArgumentParser._parse_items (cognitive 18) httpie/cli/argparser.py:448
- colors.get_lexer (cognitive 17) httpie/output/formatters/colors.py:142
- fetch.merge_all_the_people (cognitive 16) docs/contributors/fetch.py:129
- generate_man_pages.to_man_page (cognitive 16) extras/scripts/generate_man_pages.py:116
- argtypes.parse_format_options (cognitive 16) httpie/cli/argtypes.py:202
- writer.get_stream_type_and_kwargs (cognitive 16) httpie/output/writer.py:153
- REDACTED
- REDACTED
- REDACTED
- Coverage collected but not gated
- No structured logging
Minor — 57 finding(s)
- Orphaned file REDACTED:1
- Orphaned file httpie/output/formatters/colors.py:1
- Orphaned file httpie/downloads.py:1
- Orphaned file httpie/core.py:1
- Orphaned file httpie/sessions.py:1
- Orphaned file httpie/utils.py:1
- Orphaned file extras/profiling/run.py:1
- Orphaned file httpie/manager/tasks/plugins.py:1
- Orphaned file httpie/output/streams.py:1
- Orphaned file httpie/cli/argtypes.py:1
- Orphaned file httpie/uploads.py:1
- Orphaned file httpie/cli/options.py:1
- Orphaned file httpie/cli/requestitems.py:1
- Orphaned file httpie/output/ui/palette.py:1
- Orphaned file httpie/context.py:1
- Orphaned file httpie/output/ui/rich_help.py:1
- Orphaned file httpie/output/writer.py:1
- Orphaned file httpie/models.py:1
- Orphaned file extras/scripts/generate_man_pages.py:1
- Orphaned file extras/profiling/benchmarks.py:1
- Orphaned file httpie/cli/nested_json/parse.py:1
- Orphaned file httpie/manager/cli.py:1
- Orphaned file REDACTED:1
- Orphaned file httpie/config.py:1
- Orphaned file httpie/plugins/base.py:1
- Most significant orphaned file httpie/cli/definition.py:1
- Most significant orphaned file httpie/cli/argparser.py:1
- Silent fallback default on parse failure docs/contributors/fetch.py:189
- Silent fallback default on parse failure REDACTED:36
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- Dormant codebase
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No architecture diagram/doc
- No src/ separation
- No SAST
- Ruby's type checker does not check nil everywhere
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6ec9a015cf7d426dae4343b8c01a32ff/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6ec9a015cf7d426dae4343b8c01a32ff/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt . | 61 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 12 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |