Executive summary
⚠ A critical security finding caps this grade — resolve it before relying on the score below; see the Security lens.
The system holds an overall standing of 59%, placing it in the At Risk category. While the underlying architecture is robust and the codebase is small, the low security posture and incomplete documentation create a fragile foundation for future growth. This score reflects a workable system that carries real, concentrated risk rather than a broken asset.
The asset is small, comprising roughly ten thousand lines of production code with a rebuild cost of approximately €11,000. This low value-at-stake means the financial exposure from a total failure is manageable, but it also implies that the team has limited resources to absorb technical debt. The code is tightly coupled with business logic, leaving little room for boilerplate, which makes every change impactful and costly in terms of developer time.
The most critical vulnerability is security exposure. With a security score of 53%, the system lacks essential protections that could lead to data breaches or compliance failures. For a small asset, this is a disproportionate risk that could halt delivery or incur significant remediation costs if exploited. This weakness outweighs the strong architectural design, which scores 90% and ensures that changes do not ripple uncontrollably through the system.
A secondary risk is the knowledge gap. The maturity score of 55% indicates that new team members would struggle to understand the system’s intent. Without recorded decisions or clear testing instructions, every change requires tribal knowledge, slowing down onboarding and increasing the likelihood of defects. This creates a velocity tax, where every modification takes 2–5% longer than it should, compounding over time.
The system’s strength lies in its clean, maintainable code (82%) and solid architecture. These factors ensure that when changes are made, they are stable and predictable. However, these strengths are undermined by the lack of security controls and documentation.
Focus first on recording significant decisions in a central location. This low-effort action provides immediate leverage by clarifying intent and reducing future ambiguity. Simultaneously, address the top security findings to mitigate the highest business risk. The picture is partial, as several key areas like performance and domain modeling were not measured, so this assessment should be updated as more data becomes available.
Raise Security 53 → 70 (the Healthy floor) ⇒ headline 59 → ~64.
New since the last scan (7+)
- D22 · Inconsistent naming convention for file operations. 'ReadFile' and 'WriteFile' follow a Verb-Noun pattern, while 'AppendFile' uses a Verb-Noun pattern but semantically 'Append' is a mode of writing, not a distinct noun like 'Read'. More importantly, 'AppendFile' breaks the symmetry with 'WriteFile' if the intent is to represent file access modes. If these are distinct peer types, they should likely be unified or named consistently (e.g., FileRead, FileWrite, FileAppend or FilePeer with a mode enum).
- D22 · Duplicate intent with different names. `Literal` and `LiteralPeer` both appear to represent a peer that outputs a literal byte. The existence of both suggests either a legacy type (`Literal`) and a new one (`LiteralPeer`), or a confusion between the concept and the implementation. The module `trivial_peer` contains both `Literal` and `LiteralPeer` as well as `Clogged` and `CloggedPeer`.
- D22 · Duplicate intent with different names. `Random` and `RandomReader` likely represent the same functionality (generating random data). The suffix 'Reader' is redundant if the type itself is a Peer (which implies reading/writing).
- D22 · Duplicate intent with different names. `ExitOnSpecificByte` and `ExitOnSpecificByteReader` appear to be duplicates.
- D22 · Duplicate intent with different names. `DropOnBackpressure` and `DropOnBackpressureWriter` appear to be duplicates.
- D22 · Inconsistent naming for WebSocket client connections. `WsClient` and `WsClientSecure` are named as nouns (the client itself), while `WsConnect` is named as a verb/action. If `WsConnect` is a peer type, it should be named `WsClientPeer` or similar to match `WsClient`. If `WsClient` is the high-level API and `WsConnect` is the low-level peer, the naming distinction is confusing without clear documentation, but structurally they look like overlapping concepts in the same module.
- D22 · Poor naming convention for configuration stages. Using numeric suffixes (1, 2, 3) implies a temporal or sequential state that is not immediately obvious from the type name. It is unclear what distinguishes them other than the fields (addr1/addr2 vs s1/s2 vs Rc). This makes the API hard to use correctly without reading the source.
Rebuild cost & value ~ Modeled — €3,700–€19,000
| Cost to rebuild | €3,700–€19,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 59% quality) |
| Size & shape | Small · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.1 person-years of build effort (about ~€11,000 to rebuild). Its weakest lens is Security at 53% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency matrix
| depends on → | 1 help | 2 lints | 3 main.logging | 4 my_copy | 5 readdebt | 6 specparse | 7 specifier | 8 socks5_peer | 9 options | 10 websocat | 11 main | 12 sessionserve | 13 crypto_peer | 14 file_peer | 15 foreachmsg_peer | 16 http_peer | 17 http_serve | 18 jsonrpc_peer | 19 lengthprefixed_peer | 20 line_peer | 21 mirror_peer | 22 net_peer | 23 primitive_reuse_peer | 24 process_peer | 25 ssl_peer | 26 stdio_threaded_peer | 27 timestamp_peer | 28 trivial_peer | 29 unix_peer | 30 unix_seqpacket_peer | 31 util | 32 windows_np_peer | 33 ws_client_peer | 34 ws_lowlevel_peer | 35 ws_peer | 36 ws_server_peer | 37 broadcast_reuse_peer | 38 prometheus_peer | 39 reconnect_peer | 40 stdio_peer |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 help | ||||||||||||||||||||||||||||||||||||||||
| 2 lints | ||||||||||||||||||||||||||||||||||||||||
| 3 main.logging | ||||||||||||||||||||||||||||||||||||||||
| 4 my_copy | ||||||||||||||||||||||||||||||||||||||||
| 5 readdebt | ||||||||||||||||||||||||||||||||||||||||
| 6 specparse | ||||||||||||||||||||||||||||||||||||||||
| 7 specifier | 2 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 8 socks5_peer | 4 | 4 | ||||||||||||||||||||||||||||||||||||||
| 9 options | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 10 websocat | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 11 main | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 12 sessionserve | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 crypto_peer | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 14 file_peer | 6 | 3 | ||||||||||||||||||||||||||||||||||||||
| 15 foreachmsg_peer | 4 | 2 | ||||||||||||||||||||||||||||||||||||||
| 16 http_peer | 6 | 5 | ||||||||||||||||||||||||||||||||||||||
| 17 http_serve | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 jsonrpc_peer | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 19 lengthprefixed_peer | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 20 line_peer | 4 | 3 | ||||||||||||||||||||||||||||||||||||||
| 21 mirror_peer | 3 | 4 | 2 | |||||||||||||||||||||||||||||||||||||
| 22 net_peer | 8 | 1 | 5 | |||||||||||||||||||||||||||||||||||||
| 23 primitive_reuse_peer | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 process_peer | 7 | 4 | ||||||||||||||||||||||||||||||||||||||
| 25 ssl_peer | 4 | 1 | 4 | |||||||||||||||||||||||||||||||||||||
| 26 stdio_threaded_peer | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 timestamp_peer | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 28 trivial_peer | 1 | 16 | 8 | |||||||||||||||||||||||||||||||||||||
| 29 unix_peer | 12 | 1 | 6 | |||||||||||||||||||||||||||||||||||||
| 30 unix_seqpacket_peer | 4 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 31 util | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 windows_np_peer | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 ws_client_peer | 6 | 1 | 4 | |||||||||||||||||||||||||||||||||||||
| 34 ws_lowlevel_peer | 4 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 35 ws_peer | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 36 ws_server_peer | 2 | 2 | 3 | |||||||||||||||||||||||||||||||||||||
| 37 broadcast_reuse_peer | 2 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 prometheus_peer | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 reconnect_peer | 6 | 3 | 2 | |||||||||||||||||||||||||||||||||||||
| 40 stdio_peer | 6 | 3 | 1 |
7→2 specifier depends on lints✕
- Type pairs
- 2 distinct (type in specifier → type in lints) references.
- Which types
websocat.specifier.SpecifierStack→websocat.lints.SpecifierStackExtwebsocat.specifier.SpecifierStack→websocat.lints.StdioUsageStatus
- Direction
- specifier uses lints. Changing lints can break specifier, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→9 specifier depends on options cycle✕
- Type pairs
- 1 distinct (type in specifier → type in options) reference.
- Which types
websocat.specifier.ConstructParams→websocat.options.Options
- Direction
- specifier uses options. Changing options can break specifier, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
7→10 specifier depends on websocat cycle✕
- Type pairs
- 3 distinct (type in specifier → type in websocat) references.
- Which types
websocat.specifier.ConstructParams→websocat.L2rUserwebsocat.specifier.ConstructParams→websocat.ProgramStatewebsocat.specifier.Specifier→websocat.PeerConstructor
- Direction
- specifier uses websocat. Changing websocat can break specifier, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
8→7 socks5_peer depends on specifier✕
- Type pairs
- 4 distinct (type in socks5_peer → type in specifier) references.
- Which types
websocat.socks5_peer.SocksBind→websocat.specifier.ConstructParamswebsocat.socks5_peer.SocksBind→websocat.specifier.Specifierwebsocat.socks5_peer.SocksProxy→websocat.specifier.ConstructParamswebsocat.socks5_peer.SocksProxy→websocat.specifier.Specifier
- Direction
- socks5_peer uses specifier. Changing specifier can break socks5_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→10 socks5_peer depends on websocat cycle✕
- Type pairs
- 4 distinct (type in socks5_peer → type in websocat) references.
- Which types
websocat.socks5_peer.SocksBind→websocat.PeerConstructorwebsocat.socks5_peer.SocksProxy→websocat.PeerConstructorwebsocat.socks5_peer.socks5_peer$module→websocat.L2rUserwebsocat.socks5_peer.socks5_peer$module→websocat.Peer
- Direction
- socks5_peer uses websocat. Changing websocat can break socks5_peer, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
9→5 options depends on readdebt✕
- Type pairs
- 1 distinct (type in options → type in readdebt) reference.
- Which types
websocat.options.Options→websocat.readdebt.DebtHandling
- Direction
- options uses readdebt. Changing readdebt can break options, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→8 options depends on socks5_peer✕
- Type pairs
- 1 distinct (type in options → type in socks5_peer) reference.
- Which types
websocat.options.Options→websocat.socks5_peer.SocksSocketAddr
- Direction
- options uses socks5_peer. Changing socks5_peer can break options, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→7 websocat depends on specifier✕
- Type pairs
- 1 distinct (type in websocat → type in specifier) reference.
- Which types
websocat.WebsocatConfiguration2→websocat.specifier.SpecifierStack
- Direction
- websocat uses specifier. Changing specifier can break websocat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→9 websocat depends on options✕
- Type pairs
- 4 distinct (type in websocat → type in options) references.
- Which types
websocat.Session→websocat.options.Optionswebsocat.WebsocatConfiguration1→websocat.options.Optionswebsocat.WebsocatConfiguration2→websocat.options.Optionswebsocat.WebsocatConfiguration3→websocat.options.Options
- Direction
- websocat uses options. Changing options can break websocat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→8 main depends on socks5_peer✕
- Type pairs
- 1 distinct (type in main → type in socks5_peer) reference.
- Which types
websocat.main.Opt→websocat.socks5_peer.SocksSocketAddr
- Direction
- main uses socks5_peer. Changing socks5_peer can break main, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→9 main depends on options✕
- Type pairs
- 1 distinct (type in main → type in options) reference.
- Which types
websocat.main.Opt→websocat.options.StaticFile
- Direction
- main uses options. Changing options can break main, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→9 sessionserve depends on options✕
- Type pairs
- 1 distinct (type in sessionserve → type in options) reference.
- Which types
websocat.sessionserve.sessionserve$module→websocat.options.Options
- Direction
- sessionserve uses options. Changing options can break sessionserve, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→7 crypto_peer depends on specifier✕
- Type pairs
- 2 distinct (type in crypto_peer → type in specifier) references.
- Which types
websocat.crypto_peer.Crypto→websocat.specifier.ConstructParamswebsocat.crypto_peer.Crypto→websocat.specifier.Specifier
- Direction
- crypto_peer uses specifier. Changing specifier can break crypto_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→10 crypto_peer depends on websocat✕
- Type pairs
- 2 distinct (type in crypto_peer → type in websocat) references.
- Which types
websocat.crypto_peer.Crypto→websocat.PeerConstructorwebsocat.crypto_peer.crypto_peer$module→websocat.Peer
- Direction
- crypto_peer uses websocat. Changing websocat can break crypto_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→7 file_peer depends on specifier✕
- Type pairs
- 6 distinct (type in file_peer → type in specifier) references.
- Which types
websocat.file_peer.AppendFile→websocat.specifier.ConstructParamswebsocat.file_peer.AppendFile→websocat.specifier.Specifierwebsocat.file_peer.ReadFile→websocat.specifier.ConstructParamswebsocat.file_peer.ReadFile→websocat.specifier.Specifierwebsocat.file_peer.WriteFile→websocat.specifier.ConstructParamswebsocat.file_peer.WriteFile→websocat.specifier.Specifier
- Direction
- file_peer uses specifier. Changing specifier can break file_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→10 file_peer depends on websocat✕
- Type pairs
- 3 distinct (type in file_peer → type in websocat) references.
- Which types
websocat.file_peer.AppendFile→websocat.PeerConstructorwebsocat.file_peer.ReadFile→websocat.PeerConstructorwebsocat.file_peer.WriteFile→websocat.PeerConstructor
- Direction
- file_peer uses websocat. Changing websocat can break file_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→7 foreachmsg_peer depends on specifier✕
- Type pairs
- 4 distinct (type in foreachmsg_peer → type in specifier) references.
- Which types
websocat.foreachmsg_peer.Foreachmsg→websocat.specifier.ConstructParamswebsocat.foreachmsg_peer.Foreachmsg→websocat.specifier.Specifierwebsocat.foreachmsg_peer.State→websocat.specifier.ConstructParamswebsocat.foreachmsg_peer.foreachmsg_peer$module→websocat.specifier.ConstructParams
- Direction
- foreachmsg_peer uses specifier. Changing specifier can break foreachmsg_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→10 foreachmsg_peer depends on websocat✕
- Type pairs
- 2 distinct (type in foreachmsg_peer → type in websocat) references.
- Which types
websocat.foreachmsg_peer.Foreachmsg→websocat.PeerConstructorwebsocat.foreachmsg_peer.State→websocat.Peer
- Direction
- foreachmsg_peer uses websocat. Changing websocat can break foreachmsg_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→7 http_peer depends on specifier✕
- Type pairs
- 6 distinct (type in http_peer → type in specifier) references.
- Which types
websocat.http_peer.Http→websocat.specifier.ConstructParamswebsocat.http_peer.Http→websocat.specifier.Specifierwebsocat.http_peer.HttpPostSse→websocat.specifier.ConstructParamswebsocat.http_peer.HttpPostSse→websocat.specifier.Specifierwebsocat.http_peer.HttpRequest→websocat.specifier.ConstructParamswebsocat.http_peer.HttpRequest→websocat.specifier.Specifier
- Direction
- http_peer uses specifier. Changing specifier can break http_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→10 http_peer depends on websocat✕
- Type pairs
- 5 distinct (type in http_peer → type in websocat) references.
- Which types
websocat.http_peer.Http→websocat.PeerConstructorwebsocat.http_peer.HttpPostSse→websocat.PeerConstructorwebsocat.http_peer.HttpRequest→websocat.PeerConstructorwebsocat.http_peer.http_peer$module→websocat.L2rUserwebsocat.http_peer.http_peer$module→websocat.Peer
- Direction
- http_peer uses websocat. Changing websocat can break http_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→9 http_serve depends on options✕
- Type pairs
- 1 distinct (type in http_serve → type in options) reference.
- Which types
websocat.http_serve.http_serve$module→websocat.options.StaticFile
- Direction
- http_serve uses options. Changing options can break http_serve, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→10 http_serve depends on websocat✕
- Type pairs
- 1 distinct (type in http_serve → type in websocat) reference.
- Which types
websocat.http_serve.http_serve$module→websocat.Peer
- Direction
- http_serve uses websocat. Changing websocat can break http_serve, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→7 jsonrpc_peer depends on specifier✕
- Type pairs
- 2 distinct (type in jsonrpc_peer → type in specifier) references.
- Which types
websocat.jsonrpc_peer.JsonRpc→websocat.specifier.ConstructParamswebsocat.jsonrpc_peer.JsonRpc→websocat.specifier.Specifier
- Direction
- jsonrpc_peer uses specifier. Changing specifier can break jsonrpc_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→10 jsonrpc_peer depends on websocat✕
- Type pairs
- 2 distinct (type in jsonrpc_peer → type in websocat) references.
- Which types
websocat.jsonrpc_peer.JsonRpc→websocat.PeerConstructorwebsocat.jsonrpc_peer.jsonrpc_peer$module→websocat.Peer
- Direction
- jsonrpc_peer uses websocat. Changing websocat can break jsonrpc_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→7 lengthprefixed_peer depends on specifier✕
- Type pairs
- 2 distinct (type in lengthprefixed_peer → type in specifier) references.
- Which types
websocat.lengthprefixed_peer.LengthPrefixed→websocat.specifier.ConstructParamswebsocat.lengthprefixed_peer.LengthPrefixed→websocat.specifier.Specifier
- Direction
- lengthprefixed_peer uses specifier. Changing specifier can break lengthprefixed_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→10 lengthprefixed_peer depends on websocat✕
- Type pairs
- 2 distinct (type in lengthprefixed_peer → type in websocat) references.
- Which types
websocat.lengthprefixed_peer.LengthPrefixed→websocat.PeerConstructorwebsocat.lengthprefixed_peer.lengthprefixed_peer$module→websocat.Peer
- Direction
- lengthprefixed_peer uses websocat. Changing websocat can break lengthprefixed_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→7 line_peer depends on specifier✕
- Type pairs
- 4 distinct (type in line_peer → type in specifier) references.
- Which types
websocat.line_peer.Line2Message→websocat.specifier.ConstructParamswebsocat.line_peer.Line2Message→websocat.specifier.Specifierwebsocat.line_peer.Message2Line→websocat.specifier.ConstructParamswebsocat.line_peer.Message2Line→websocat.specifier.Specifier
- Direction
- line_peer uses specifier. Changing specifier can break line_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→10 line_peer depends on websocat✕
- Type pairs
- 3 distinct (type in line_peer → type in websocat) references.
- Which types
websocat.line_peer.Line2Message→websocat.PeerConstructorwebsocat.line_peer.Message2Line→websocat.PeerConstructorwebsocat.line_peer.line_peer$module→websocat.Peer
- Direction
- line_peer uses websocat. Changing websocat can break line_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→5 mirror_peer depends on readdebt✕
- Type pairs
- 3 distinct (type in mirror_peer → type in readdebt) references.
- Which types
websocat.mirror_peer.LiteralReplyRead→websocat.readdebt.ReadDebtwebsocat.mirror_peer.MirrorRead→websocat.readdebt.ReadDebtwebsocat.mirror_peer.mirror_peer$module→websocat.readdebt.DebtHandling
- Direction
- mirror_peer uses readdebt. Changing readdebt can break mirror_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→7 mirror_peer depends on specifier✕
- Type pairs
- 4 distinct (type in mirror_peer → type in specifier) references.
- Which types
websocat.mirror_peer.LiteralReply→websocat.specifier.ConstructParamswebsocat.mirror_peer.LiteralReply→websocat.specifier.Specifierwebsocat.mirror_peer.Mirror→websocat.specifier.ConstructParamswebsocat.mirror_peer.Mirror→websocat.specifier.Specifier
- Direction
- mirror_peer uses specifier. Changing specifier can break mirror_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→10 mirror_peer depends on websocat✕
- Type pairs
- 2 distinct (type in mirror_peer → type in websocat) references.
- Which types
websocat.mirror_peer.LiteralReply→websocat.PeerConstructorwebsocat.mirror_peer.Mirror→websocat.PeerConstructor
- Direction
- mirror_peer uses websocat. Changing websocat can break mirror_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→7 net_peer depends on specifier✕
- Type pairs
- 8 distinct (type in net_peer → type in specifier) references.
- Which types
websocat.net_peer.TcpConnect→websocat.specifier.ConstructParamswebsocat.net_peer.TcpConnect→websocat.specifier.Specifierwebsocat.net_peer.TcpListen→websocat.specifier.ConstructParamswebsocat.net_peer.TcpListen→websocat.specifier.Specifierwebsocat.net_peer.UdpConnect→websocat.specifier.ConstructParamswebsocat.net_peer.UdpConnect→websocat.specifier.Specifierwebsocat.net_peer.UdpListen→websocat.specifier.ConstructParamswebsocat.net_peer.UdpListen→websocat.specifier.Specifier
- Direction
- net_peer uses specifier. Changing specifier can break net_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→9 net_peer depends on options✕
- Type pairs
- 1 distinct (type in net_peer → type in options) reference.
- Which types
websocat.net_peer.net_peer$module→websocat.options.Options
- Direction
- net_peer uses options. Changing options can break net_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→10 net_peer depends on websocat✕
- Type pairs
- 5 distinct (type in net_peer → type in websocat) references.
- Which types
websocat.net_peer.TcpConnect→websocat.PeerConstructorwebsocat.net_peer.TcpListen→websocat.PeerConstructorwebsocat.net_peer.UdpConnect→websocat.PeerConstructorwebsocat.net_peer.UdpListen→websocat.PeerConstructorwebsocat.net_peer.net_peer$module→websocat.L2rUser
- Direction
- net_peer uses websocat. Changing websocat can break net_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→7 primitive_reuse_peer depends on specifier✕
- Type pairs
- 2 distinct (type in primitive_reuse_peer → type in specifier) references.
- Which types
websocat.primitive_reuse_peer.Reuser→websocat.specifier.ConstructParamswebsocat.primitive_reuse_peer.Reuser→websocat.specifier.Specifier
- Direction
- primitive_reuse_peer uses specifier. Changing specifier can break primitive_reuse_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→10 primitive_reuse_peer depends on websocat✕
- Type pairs
- 1 distinct (type in primitive_reuse_peer → type in websocat) reference.
- Which types
websocat.primitive_reuse_peer.Reuser→websocat.PeerConstructor
- Direction
- primitive_reuse_peer uses websocat. Changing websocat can break primitive_reuse_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→7 process_peer depends on specifier✕
- Type pairs
- 7 distinct (type in process_peer → type in specifier) references.
- Which types
websocat.process_peer.Cmd→websocat.specifier.ConstructParamswebsocat.process_peer.Cmd→websocat.specifier.Specifierwebsocat.process_peer.Exec→websocat.specifier.ConstructParamswebsocat.process_peer.Exec→websocat.specifier.Specifierwebsocat.process_peer.ShC→websocat.specifier.ConstructParamswebsocat.process_peer.ShC→websocat.specifier.Specifierwebsocat.process_peer.process_peer$module→websocat.specifier.ConstructParams
- Direction
- process_peer uses specifier. Changing specifier can break process_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→10 process_peer depends on websocat✕
- Type pairs
- 4 distinct (type in process_peer → type in websocat) references.
- Which types
websocat.process_peer.Cmd→websocat.PeerConstructorwebsocat.process_peer.Exec→websocat.PeerConstructorwebsocat.process_peer.ShC→websocat.PeerConstructorwebsocat.process_peer.process_peer$module→websocat.LeftSpecToRightSpec
- Direction
- process_peer uses websocat. Changing websocat can break process_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→7 ssl_peer depends on specifier✕
- Type pairs
- 4 distinct (type in ssl_peer → type in specifier) references.
- Which types
websocat.ssl_peer.TlsAccept→websocat.specifier.ConstructParamswebsocat.ssl_peer.TlsAccept→websocat.specifier.Specifierwebsocat.ssl_peer.TlsConnect→websocat.specifier.ConstructParamswebsocat.ssl_peer.TlsConnect→websocat.specifier.Specifier
- Direction
- ssl_peer uses specifier. Changing specifier can break ssl_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→9 ssl_peer depends on options✕
- Type pairs
- 1 distinct (type in ssl_peer → type in options) reference.
- Which types
websocat.ssl_peer.ssl_peer$module→websocat.options.Options
- Direction
- ssl_peer uses options. Changing options can break ssl_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→10 ssl_peer depends on websocat✕
- Type pairs
- 4 distinct (type in ssl_peer → type in websocat) references.
- Which types
websocat.ssl_peer.TlsAccept→websocat.PeerConstructorwebsocat.ssl_peer.TlsConnect→websocat.PeerConstructorwebsocat.ssl_peer.ssl_peer$module→websocat.L2rUserwebsocat.ssl_peer.ssl_peer$module→websocat.Peer
- Direction
- ssl_peer uses websocat. Changing websocat can break ssl_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→7 stdio_threaded_peer depends on specifier✕
- Type pairs
- 2 distinct (type in stdio_threaded_peer → type in specifier) references.
- Which types
websocat.stdio_threaded_peer.ThreadedStdio→websocat.specifier.ConstructParamswebsocat.stdio_threaded_peer.ThreadedStdio→websocat.specifier.Specifier
- Direction
- stdio_threaded_peer uses specifier. Changing specifier can break stdio_threaded_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→10 stdio_threaded_peer depends on websocat✕
- Type pairs
- 1 distinct (type in stdio_threaded_peer → type in websocat) reference.
- Which types
websocat.stdio_threaded_peer.ThreadedStdio→websocat.PeerConstructor
- Direction
- stdio_threaded_peer uses websocat. Changing websocat can break stdio_threaded_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→7 timestamp_peer depends on specifier✕
- Type pairs
- 2 distinct (type in timestamp_peer → type in specifier) references.
- Which types
websocat.timestamp_peer.TimestampPeer→websocat.specifier.ConstructParamswebsocat.timestamp_peer.TimestampPeer→websocat.specifier.Specifier
- Direction
- timestamp_peer uses specifier. Changing specifier can break timestamp_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→10 timestamp_peer depends on websocat✕
- Type pairs
- 2 distinct (type in timestamp_peer → type in websocat) references.
- Which types
websocat.timestamp_peer.TimestampPeer→websocat.PeerConstructorwebsocat.timestamp_peer.timestamp_peer$module→websocat.Peer
- Direction
- timestamp_peer uses websocat. Changing websocat can break timestamp_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→5 trivial_peer depends on readdebt✕
- Type pairs
- 1 distinct (type in trivial_peer → type in readdebt) reference.
- Which types
websocat.trivial_peer.LiteralPeer→websocat.readdebt.ReadDebt
- Direction
- trivial_peer uses readdebt. Changing readdebt can break trivial_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→7 trivial_peer depends on specifier✕
- Type pairs
- 16 distinct (type in trivial_peer → type in specifier) references.
- Which types
websocat.trivial_peer.Assert→websocat.specifier.ConstructParamswebsocat.trivial_peer.Assert→websocat.specifier.Specifierwebsocat.trivial_peer.Assert2→websocat.specifier.ConstructParamswebsocat.trivial_peer.Assert2→websocat.specifier.Specifierwebsocat.trivial_peer.Clogged→websocat.specifier.ConstructParamswebsocat.trivial_peer.Clogged→websocat.specifier.Specifierwebsocat.trivial_peer.DropOnBackpressure→websocat.specifier.ConstructParamswebsocat.trivial_peer.DropOnBackpressure→websocat.specifier.Specifierwebsocat.trivial_peer.ExitOnSpecificByte→websocat.specifier.ConstructParamswebsocat.trivial_peer.ExitOnSpecificByte→websocat.specifier.Specifierwebsocat.trivial_peer.Literal→websocat.specifier.ConstructParamswebsocat.trivial_peer.Literal→websocat.specifier.Specifierwebsocat.trivial_peer.Log→websocat.specifier.ConstructParamswebsocat.trivial_peer.Log→websocat.specifier.Specifierwebsocat.trivial_peer.Random→websocat.specifier.ConstructParamswebsocat.trivial_peer.Random→websocat.specifier.Specifier
- Direction
- trivial_peer uses specifier. Changing specifier can break trivial_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→10 trivial_peer depends on websocat✕
- Type pairs
- 8 distinct (type in trivial_peer → type in websocat) references.
- Which types
websocat.trivial_peer.Assert→websocat.PeerConstructorwebsocat.trivial_peer.Assert2→websocat.PeerConstructorwebsocat.trivial_peer.Clogged→websocat.PeerConstructorwebsocat.trivial_peer.DropOnBackpressure→websocat.PeerConstructorwebsocat.trivial_peer.ExitOnSpecificByte→websocat.PeerConstructorwebsocat.trivial_peer.Literal→websocat.PeerConstructorwebsocat.trivial_peer.Log→websocat.PeerConstructorwebsocat.trivial_peer.Random→websocat.PeerConstructor
- Direction
- trivial_peer uses websocat. Changing websocat can break trivial_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→7 unix_peer depends on specifier✕
- Type pairs
- 12 distinct (type in unix_peer → type in specifier) references.
- Which types
websocat.unix_peer.AbstractConnect→websocat.specifier.ConstructParamswebsocat.unix_peer.AbstractConnect→websocat.specifier.Specifierwebsocat.unix_peer.AbstractDgram→websocat.specifier.ConstructParamswebsocat.unix_peer.AbstractDgram→websocat.specifier.Specifierwebsocat.unix_peer.AbstractListen→websocat.specifier.ConstructParamswebsocat.unix_peer.AbstractListen→websocat.specifier.Specifierwebsocat.unix_peer.UnixConnect→websocat.specifier.ConstructParamswebsocat.unix_peer.UnixConnect→websocat.specifier.Specifierwebsocat.unix_peer.UnixDgram→websocat.specifier.ConstructParamswebsocat.unix_peer.UnixDgram→websocat.specifier.Specifierwebsocat.unix_peer.UnixListen→websocat.specifier.ConstructParamswebsocat.unix_peer.UnixListen→websocat.specifier.Specifier
- Direction
- unix_peer uses specifier. Changing specifier can break unix_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 unix_peer depends on options✕
- Type pairs
- 1 distinct (type in unix_peer → type in options) reference.
- Which types
websocat.unix_peer.unix_peer$module→websocat.options.Options
- Direction
- unix_peer uses options. Changing options can break unix_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→10 unix_peer depends on websocat✕
- Type pairs
- 6 distinct (type in unix_peer → type in websocat) references.
- Which types
websocat.unix_peer.AbstractConnect→websocat.PeerConstructorwebsocat.unix_peer.AbstractDgram→websocat.PeerConstructorwebsocat.unix_peer.AbstractListen→websocat.PeerConstructorwebsocat.unix_peer.UnixConnect→websocat.PeerConstructorwebsocat.unix_peer.UnixDgram→websocat.PeerConstructorwebsocat.unix_peer.UnixListen→websocat.PeerConstructor
- Direction
- unix_peer uses websocat. Changing websocat can break unix_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→7 unix_seqpacket_peer depends on specifier✕
- Type pairs
- 4 distinct (type in unix_seqpacket_peer → type in specifier) references.
- Which types
websocat.unix_seqpacket_peer.SeqpacketConnect→websocat.specifier.ConstructParamswebsocat.unix_seqpacket_peer.SeqpacketConnect→websocat.specifier.Specifierwebsocat.unix_seqpacket_peer.SeqpacketListen→websocat.specifier.ConstructParamswebsocat.unix_seqpacket_peer.SeqpacketListen→websocat.specifier.Specifier
- Direction
- unix_seqpacket_peer uses specifier. Changing specifier can break unix_seqpacket_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→9 unix_seqpacket_peer depends on options✕
- Type pairs
- 1 distinct (type in unix_seqpacket_peer → type in options) reference.
- Which types
websocat.unix_seqpacket_peer.unix_seqpacket_peer$module→websocat.options.Options
- Direction
- unix_seqpacket_peer uses options. Changing options can break unix_seqpacket_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→10 unix_seqpacket_peer depends on websocat✕
- Type pairs
- 2 distinct (type in unix_seqpacket_peer → type in websocat) references.
- Which types
websocat.unix_seqpacket_peer.SeqpacketConnect→websocat.PeerConstructorwebsocat.unix_seqpacket_peer.SeqpacketListen→websocat.PeerConstructor
- Direction
- unix_seqpacket_peer uses websocat. Changing websocat can break unix_seqpacket_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→10 util depends on websocat✕
- Type pairs
- 1 distinct (type in util → type in websocat) reference.
- Which types
websocat.util.util$module→websocat.PeerConstructor
- Direction
- util uses websocat. Changing websocat can break util, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→7 windows_np_peer depends on specifier✕
- Type pairs
- 2 distinct (type in windows_np_peer → type in specifier) references.
- Which types
websocat.windows_np_peer.NamedPipeConnect→websocat.specifier.ConstructParamswebsocat.windows_np_peer.NamedPipeConnect→websocat.specifier.Specifier
- Direction
- windows_np_peer uses specifier. Changing specifier can break windows_np_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→10 windows_np_peer depends on websocat✕
- Type pairs
- 1 distinct (type in windows_np_peer → type in websocat) reference.
- Which types
websocat.windows_np_peer.NamedPipeConnect→websocat.PeerConstructor
- Direction
- windows_np_peer uses websocat. Changing websocat can break windows_np_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→7 ws_client_peer depends on specifier✕
- Type pairs
- 6 distinct (type in ws_client_peer → type in specifier) references.
- Which types
websocat.ws_client_peer.WsClient→websocat.specifier.ConstructParamswebsocat.ws_client_peer.WsClient→websocat.specifier.Specifierwebsocat.ws_client_peer.WsClientSecure→websocat.specifier.ConstructParamswebsocat.ws_client_peer.WsClientSecure→websocat.specifier.Specifierwebsocat.ws_client_peer.WsConnect→websocat.specifier.ConstructParamswebsocat.ws_client_peer.WsConnect→websocat.specifier.Specifier
- Direction
- ws_client_peer uses specifier. Changing specifier can break ws_client_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→9 ws_client_peer depends on options✕
- Type pairs
- 1 distinct (type in ws_client_peer → type in options) reference.
- Which types
websocat.ws_client_peer.ws_client_peer$module→websocat.options.Options
- Direction
- ws_client_peer uses options. Changing options can break ws_client_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→10 ws_client_peer depends on websocat✕
- Type pairs
- 4 distinct (type in ws_client_peer → type in websocat) references.
- Which types
websocat.ws_client_peer.WsClient→websocat.PeerConstructorwebsocat.ws_client_peer.WsClientSecure→websocat.PeerConstructorwebsocat.ws_client_peer.WsConnect→websocat.PeerConstructorwebsocat.ws_client_peer.ws_client_peer$module→websocat.Peer
- Direction
- ws_client_peer uses websocat. Changing websocat can break ws_client_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→7 ws_lowlevel_peer depends on specifier✕
- Type pairs
- 4 distinct (type in ws_lowlevel_peer → type in specifier) references.
- Which types
websocat.ws_lowlevel_peer.WsLlClient→websocat.specifier.ConstructParamswebsocat.ws_lowlevel_peer.WsLlClient→websocat.specifier.Specifierwebsocat.ws_lowlevel_peer.WsLlServer→websocat.specifier.ConstructParamswebsocat.ws_lowlevel_peer.WsLlServer→websocat.specifier.Specifier
- Direction
- ws_lowlevel_peer uses specifier. Changing specifier can break ws_lowlevel_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→9 ws_lowlevel_peer depends on options✕
- Type pairs
- 1 distinct (type in ws_lowlevel_peer → type in options) reference.
- Which types
websocat.ws_lowlevel_peer.ws_lowlevel_peer$module→websocat.options.Options
- Direction
- ws_lowlevel_peer uses options. Changing options can break ws_lowlevel_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→10 ws_lowlevel_peer depends on websocat✕
- Type pairs
- 3 distinct (type in ws_lowlevel_peer → type in websocat) references.
- Which types
websocat.ws_lowlevel_peer.WsLlClient→websocat.PeerConstructorwebsocat.ws_lowlevel_peer.WsLlServer→websocat.PeerConstructorwebsocat.ws_lowlevel_peer.ws_lowlevel_peer$module→websocat.Peer
- Direction
- ws_lowlevel_peer uses websocat. Changing websocat can break ws_lowlevel_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→5 ws_peer depends on readdebt✕
- Type pairs
- 1 distinct (type in ws_peer → type in readdebt) reference.
- Which types
websocat.ws_peer.WsReadWrapper→websocat.readdebt.ReadDebt
- Direction
- ws_peer uses readdebt. Changing readdebt can break ws_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→9 ws_peer depends on options✕
- Type pairs
- 1 distinct (type in ws_peer → type in options) reference.
- Which types
websocat.ws_peer.ws_peer$module→websocat.options.Options
- Direction
- ws_peer uses options. Changing options can break ws_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→10 ws_peer depends on websocat✕
- Type pairs
- 2 distinct (type in ws_peer → type in websocat) references.
- Which types
websocat.ws_peer.PeerForWs→websocat.Peerwebsocat.ws_peer.ws_peer$module→websocat.Peer
- Direction
- ws_peer uses websocat. Changing websocat can break ws_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→7 ws_server_peer depends on specifier✕
- Type pairs
- 2 distinct (type in ws_server_peer → type in specifier) references.
- Which types
websocat.ws_server_peer.WsServer→websocat.specifier.ConstructParamswebsocat.ws_server_peer.WsServer→websocat.specifier.Specifier
- Direction
- ws_server_peer uses specifier. Changing specifier can break ws_server_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→9 ws_server_peer depends on options✕
- Type pairs
- 2 distinct (type in ws_server_peer → type in options) references.
- Which types
websocat.ws_server_peer.ws_server_peer$module→websocat.options.Optionswebsocat.ws_server_peer.ws_server_peer$module→websocat.options.StaticFile
- Direction
- ws_server_peer uses options. Changing options can break ws_server_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→10 ws_server_peer depends on websocat✕
- Type pairs
- 3 distinct (type in ws_server_peer → type in websocat) references.
- Which types
websocat.ws_server_peer.WsServer→websocat.PeerConstructorwebsocat.ws_server_peer.ws_server_peer$module→websocat.L2rUserwebsocat.ws_server_peer.ws_server_peer$module→websocat.Peer
- Direction
- ws_server_peer uses websocat. Changing websocat can break ws_server_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→7 broadcast_reuse_peer depends on specifier✕
- Type pairs
- 2 distinct (type in broadcast_reuse_peer → type in specifier) references.
- Which types
websocat.broadcast_reuse_peer.BroadcastReuser→websocat.specifier.ConstructParamswebsocat.broadcast_reuse_peer.BroadcastReuser→websocat.specifier.Specifier
- Direction
- broadcast_reuse_peer uses specifier. Changing specifier can break broadcast_reuse_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→10 broadcast_reuse_peer depends on websocat✕
- Type pairs
- 3 distinct (type in broadcast_reuse_peer → type in websocat) references.
- Which types
websocat.broadcast_reuse_peer.BroadcastReuser→websocat.PeerConstructorwebsocat.broadcast_reuse_peer.Broadcaster→websocat.Peerwebsocat.broadcast_reuse_peer.broadcast_reuse_peer$module→websocat.Peer
- Direction
- broadcast_reuse_peer uses websocat. Changing websocat can break broadcast_reuse_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→23 broadcast_reuse_peer depends on primitive_reuse_peer✕
- Type pairs
- 1 distinct (type in broadcast_reuse_peer → type in primitive_reuse_peer) reference.
- Which types
websocat.broadcast_reuse_peer.broadcast_reuse_peer$module→websocat.primitive_reuse_peer.GlobalState
- Direction
- broadcast_reuse_peer uses primitive_reuse_peer. Changing primitive_reuse_peer can break broadcast_reuse_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→7 prometheus_peer depends on specifier✕
- Type pairs
- 2 distinct (type in prometheus_peer → type in specifier) references.
- Which types
websocat.prometheus_peer.Prometheus→websocat.specifier.ConstructParamswebsocat.prometheus_peer.Prometheus→websocat.specifier.Specifier
- Direction
- prometheus_peer uses specifier. Changing specifier can break prometheus_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→10 prometheus_peer depends on websocat✕
- Type pairs
- 2 distinct (type in prometheus_peer → type in websocat) references.
- Which types
websocat.prometheus_peer.Prometheus→websocat.PeerConstructorwebsocat.prometheus_peer.prometheus_peer$module→websocat.Peer
- Direction
- prometheus_peer uses websocat. Changing websocat can break prometheus_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→23 prometheus_peer depends on primitive_reuse_peer✕
- Type pairs
- 1 distinct (type in prometheus_peer → type in primitive_reuse_peer) reference.
- Which types
websocat.prometheus_peer.prometheus_peer$module→websocat.primitive_reuse_peer.GlobalState
- Direction
- prometheus_peer uses primitive_reuse_peer. Changing primitive_reuse_peer can break prometheus_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→7 reconnect_peer depends on specifier✕
- Type pairs
- 6 distinct (type in reconnect_peer → type in specifier) references.
- Which types
websocat.reconnect_peer.AutoReconnect→websocat.specifier.ConstructParamswebsocat.reconnect_peer.AutoReconnect→websocat.specifier.Specifierwebsocat.reconnect_peer.State→websocat.specifier.ConstructParamswebsocat.reconnect_peer.WaitForData→websocat.specifier.ConstructParamswebsocat.reconnect_peer.WaitForData→websocat.specifier.Specifierwebsocat.reconnect_peer.reconnect_peer$module→websocat.specifier.ConstructParams
- Direction
- reconnect_peer uses specifier. Changing specifier can break reconnect_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→10 reconnect_peer depends on websocat✕
- Type pairs
- 3 distinct (type in reconnect_peer → type in websocat) references.
- Which types
websocat.reconnect_peer.AutoReconnect→websocat.PeerConstructorwebsocat.reconnect_peer.State→websocat.Peerwebsocat.reconnect_peer.WaitForData→websocat.PeerConstructor
- Direction
- reconnect_peer uses websocat. Changing websocat can break reconnect_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→15 reconnect_peer depends on foreachmsg_peer✕
- Type pairs
- 2 distinct (type in reconnect_peer → type in foreachmsg_peer) references.
- Which types
websocat.reconnect_peer.PeerHandle→websocat.foreachmsg_peer.Statewebsocat.reconnect_peer.State→websocat.foreachmsg_peer.State2
- Direction
- reconnect_peer uses foreachmsg_peer. Changing foreachmsg_peer can break reconnect_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→7 stdio_peer depends on specifier✕
- Type pairs
- 6 distinct (type in stdio_peer → type in specifier) references.
- Which types
websocat.stdio_peer.AsyncStdio→websocat.specifier.ConstructParamswebsocat.stdio_peer.AsyncStdio→websocat.specifier.Specifierwebsocat.stdio_peer.OpenAsync→websocat.specifier.ConstructParamswebsocat.stdio_peer.OpenAsync→websocat.specifier.Specifierwebsocat.stdio_peer.OpenFdAsync→websocat.specifier.ConstructParamswebsocat.stdio_peer.OpenFdAsync→websocat.specifier.Specifier
- Direction
- stdio_peer uses specifier. Changing specifier can break stdio_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→10 stdio_peer depends on websocat✕
- Type pairs
- 3 distinct (type in stdio_peer → type in websocat) references.
- Which types
websocat.stdio_peer.AsyncStdio→websocat.PeerConstructorwebsocat.stdio_peer.OpenAsync→websocat.PeerConstructorwebsocat.stdio_peer.OpenFdAsync→websocat.PeerConstructor
- Direction
- stdio_peer uses websocat. Changing websocat can break stdio_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→23 stdio_peer depends on primitive_reuse_peer✕
- Type pairs
- 1 distinct (type in stdio_peer → type in primitive_reuse_peer) reference.
- Which types
websocat.stdio_peer.stdio_peer$module→websocat.primitive_reuse_peer.GlobalState
- Direction
- stdio_peer uses primitive_reuse_peer. Changing primitive_reuse_peer can break stdio_peer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A06:2021 — Vulnerable & Outdated Components | 36 | High / Critical |
| A03:2021 — Injection | 16 | High / Critical |
| A05:2021 — Security Misconfiguration | 10 | High / Critical |
| A02:2021 — Cryptographic Failures | 3 | High / Critical |
Roadmap
First, resolve the two leaked secrets in the repository and update the root README to accurately reflect current platform support and integration capabilities. Next, add a clear testing section to the README so users know how to run the test suite. Finally, establish a structured process for architecture documentation by recording significant decisions as dated, standalone documents that capture context, choices, and consequences.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +6.1 pts | Low | ADR Quality |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +6.7 pts | Medium | Architecture documentation |
| Add a 'Testing' section to the root README — how to run the test suite. | +6.1 pts | Medium | Documentation (README) |
| Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED. | +3.0 pts | Low | Secret Scanning |
| Reconcile the README with reality: README claims to support Inetd mode (UNIX sockets) and abstract namespaced on Linux; evidence has no such feature description; README claims to integrate with Nginx using TCP or UNIX sockets; evidence shows no Nginx integration; README claims to support Windows, macOS, Linux, Android pre-built binaries; evidence shows only Debian/Ubuntu and Rust install options exist for the main platform; README claims a separate wsbroad project exists but omits it in favor of more examples; README advertises a RAG / ML engine, but no ML/RAG code or dependency exists. | +5.1 pts | Medium | Documentation accuracy |
| Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). | +1.5 pts | Low | Static Analysis (SAST) |
| Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it. | +3.0 pts | Medium | Deployment & Rollback |
| Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets. | +2.9 pts | Medium | Security & performance tooling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.3 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 1.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 4.1 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 4.4 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/main.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/my_copy.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/ws_server_peer.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/reconnect_peer.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/net_peer.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/lints.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/unix_peer.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/process_peer.rs | 6.6 | Mixed | Explicit Debt: TodoComment |
| src/options.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| src/ws_peer.rs | 7.0 | Mixed | Cyclomatic Complexity: WsReadWrapper::read (cyclomatic 28) |
| src/foreachmsg_peer.rs | 7.1 | Mixed | Cyclomatic Complexity: PeerHandle::write (cyclomatic 24) |
| src/line_peer.rs | 7.1 | Mixed | Cyclomatic Complexity: Line2PacketWrapper::read (cyclomatic 24) |
| REDACTED | 7.2 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: 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. 32 of 37 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — 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 — 37 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, 139 of 165 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 | Local LLM | ◐ 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 (.rs) 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 (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) 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 (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) 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 (.rs) and this repository declares a Cargo test suite (repository root, 2 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.
- 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. Single-maintainer repository — bus factor is not applicable (24 contributor(s) across 754 commit(s) sampled, automation and bot accounts excluded). One of them holds 95% of the history; the other 23 hold 0.2% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a REDACTED) is simply not read here yet.
- AX1 Captive dependencies — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- AX2 Stateful singletons — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- AX6 Interface segregation — 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 is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing 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.
- 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.
- C2 Access Controls — 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 authorization 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 authorization controls.
- C3 Audit Trail — 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 audit 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 audit controls.
- C4 Data Retention — 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 retention 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 retention controls.
- C5 Data-Subject Rights — 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 data-subject rights 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 data-subject rights controls.
- ED5 Idempotency — 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 finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- P10 Library API & versioning — 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 NuGet packaging and C# public API only, and no .NET project was loaded for this repository, 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.
- 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.
- PF1 Benchmark discipline — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- PF2 Allocation 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. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- 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.
- X1 Async correctness — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X10 Duplicated predicate — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X12 Unreachable branch — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X13 Undrained process stream — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X14 Bypassable address classification — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X15 Unvalidated length from an untrusted reader — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X16 Unfloored truncation loop — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X17 Uncapped recursion over a caller-supplied document — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X18 Disposal-pattern correctness — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X19 Unrestored process-global state — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X2 Cancellation propagation — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X20 Mistyped argument guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X21 Side-effecting pattern guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X22 Contradicted release guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X23 Unguarded diagnostic materialisation — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X24 Document value interpolated into markup unescaped — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X25 Inert configuration knob — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X26 Unsynchronised callback handoff — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X27 Collection changed while being enumerated — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X28 Index access outside its own emptiness guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X29 Per-element action decided by a fixed element — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X3 Exception handling — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X30 Support guard that admits what it rejects — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X32 Type resolved by simple name across every loaded assembly — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X4 Structured logging — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X5 Nullable reference types — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X6 Hand-rolled structured-format parsing — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
- X7 Silent fallback defaults — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing 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.
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.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- 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 is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- 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.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- 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").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- 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.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- 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.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- 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.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
9 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was websocat::run at 58.
What to do
- Resolve the 2 websocat finding(s) in Cyclomatic Complexity — start with main.rs, ws_server_peer.rs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 WsReadWrapper finding(s) in Cyclomatic Complexity — start with ws_peer.rs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 PeerHandle finding(s) in Cyclomatic Complexity — start with foreachmsg_peer.rs. — One of this dimension's main actionable groups (1 warning-level).
- 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
25 function(s) exceeded the cognitive complexity threshold of 15; the worst was websocat::run at 94.
What to do
- Resolve the 5 websocat finding(s) in Cognitive Complexity — start with main.rs, ws_server_peer.rs, http_serve.rs. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 2 PeerHandle finding(s) in Cognitive Complexity — start with foreachmsg_peer.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Line2PacketWrapper finding(s) in Cognitive Complexity — start with line_peer.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- 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
6 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 2 TooManyFields finding(s) in God Classes — start with main.rs, options.rs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 FileTooLong finding(s) in God Classes — start with main.rs, ws_peer.rs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 FunctionTooLong finding(s) in God Classes — start with main.rs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
15 duplicated block group(s) detected.
What to do
- Resolve the 5 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with http_peer.rs, reconnect_peer.rs, unix_peer.rs. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 3 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with util.rs, net_peer.rs, stdio_peer.rs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with foreachmsg_peer.rs, unix_peer.rs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 28 classes have LCOM4 above 3.
D9 · Test Distribution
8 test methods: 1 unit, 7 integration, 0 BDD, 0 e2e. The Rust suite contributes 8 `#[test]` function(s) across 2 file(s) declaring at least one; its unit/integration split is Cargo's own — 1 of those file(s) are integration-test targets under a crate's tests/ directory, and the rest are #[test] functions compiled into the crate they test.
D12 · Dependency Hygiene
5 outdated, 0 yanked direct Cargo dependencies. Only DIRECT edges are graded: a transitive crate cannot be moved past what its parent's requirement admits, so reporting one would be advice its owner cannot take. A newer release is reported only where this repository's OWN requirement already admits it, so the remedy is `cargo update` and never a manifest edit — which means a release outside the declared range is deliberately NOT charged, because a written-down constraint is a decision rather than a defect. Note that a bare requirement is a CARET, and for a 0.x crate its ceiling is the minor. Whether any crate is UNMAINTAINED is not graded — crates.io publishes no maintenance status, and release age does not stand in for one. Known CVEs in this dependency graph are D30's question, read from REDACTED there.
D13 · Secret Scanning
2 secret(s) detected.
What to do
- Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 222 shipped crate(s) use a banned license. Licences were resolved from crates.io over the crates a consumer compiles — this repository's REDACTED closed over its manifests' `[dependencies]` and `[build-dependencies]`. Crates it asks for ONLY under `[dev-dependencies]` are excluded: they are not compiled by anything that depends on this repository. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
19 deducted task-comment markers across 10219 LoC (0.2/KLoC) → score 9.7. 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 16 TodoComment finding(s) in Explicit Debt — start with process_peer.rs (4), unix_peer.rs (2), trivial_peer.rs (2). — One of this dimension's main actionable groups (16 warning-level).
- Resolve the 3 FixmeComment finding(s) in Explicit Debt — start with ws_server_peer.rs, ws_client_peer.rs, net_peer.rs. — One of this dimension's main actionable groups (3 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
The repository's single README is a well-structured, multi-sectioned command-line tool README for websocat that clearly states what the project does (WebSocket netcat/curl/socat) and shows real usage examples. It begins with an overview paragraph describing the project and its purpose, then dives into Examples, Features, and a clipped Architecture/Docs section outline, leaving no visible architecture or design documentation to flag as missing. The README is complete for its role as the root repository-level document.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's single README is a well-structured, multi-sectioned command-line tool README for websocat that clearly states what the project does (WebSocket netcat/curl/socat) and shows real usage examples. It begins with an overview paragraph describing the project and its purpose, then dives into Examples, Features, and a clipped Architecture/Docs section outline, leaving no visible architecture or design documentation to flag as missing. The README is complete for its role as the root repository-level document.
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).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
7 API inconsistencies across 134 exposed types.
What to do
- Resolve the 1 Inconsistent naming convention for file operations. 'ReadFile' and… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicate intent with different names. `Literal` and `LiteralPeer` both… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicate intent with different names. `Random` and `RandomReader`… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
1 of 1 build units (Cargo) 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)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
What to do
- Resolve the 1 High secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D29 · Static Analysis (SAST)
16 finding(s): 0 critical, 16 high, 0 medium, 0 low. 12 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. semgrep hit a parse error in 2 file(s) — `src/main.rs` (line 740), `src/specparse.rs` (line 63) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 1 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 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 12 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 (12 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
36 finding(s): 2 critical, 4 high, 30 medium, 0 low.
What to do
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
10 finding(s): 0 critical, 6 high, 4 medium, 0 low.
What to do
- Resolve the 6 High IaC finding(s) in IaC & Container Security — start with REDACTED (5), REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (4 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 37 of the 40 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
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 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
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
AX9 · CQS / query purity
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — 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 significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- README claims to support Inetd mode (UNIX sockets) and abstract namespaced on Linux; evidence has no such feature description — reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
- README claims to integrate with Nginx using TCP or UNIX sockets; evidence shows no Nginx integration — reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
- README claims to support Windows, macOS, Linux, Android pre-built binaries; evidence shows only Debian/Ubuntu and Rust install options exist for the main platform — reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
- README claims a separate wsbroad project exists but omits it in favor of more examples — searched for: `wsbroadcast`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
- README advertises a RAG / ML engine, but no ML/RAG code or dependency exists — searched for: `rag`, `langchain`, `llamaindex`, `pinecone`, `weaviate`, `qdrant`, `embeddings`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README claims to support Inetd mode (UNIX sockets) and abstract namespaced on Linux; evidence has no such feature description; README claims to integrate with Nginx using TCP or UNIX sockets; evidence shows no Nginx integration; README claims to support Windows, macOS, Linux, Android pre-built binaries; evidence shows only Debian/Ubuntu and Rust install options exist for the main platform; README claims a separate wsbroad project exists but omits it in favor of more examples; README advertises a RAG / ML engine, but no ML/RAG code or dependency exists.
P1 · CI/CD gates
P2 · Observability
What to do
- Add a health-check endpoint (a /health route on your axum/actix router) so orchestrators and load balancers can probe liveness/readiness.
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
P6 · Release Hygiene
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 82% | Adequate — gated by D2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 90% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 55% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 69% | Adequate — gated by D13 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 53% | Adequate — gated by D30, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit 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 audit 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.
- C4 Data Retention — Not assessed: these retention 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 retention 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.
- C5 Data-Subject Rights — Not assessed: these data-subject rights 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 data-subject rights 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.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 79 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 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
- AX2 Stateful singletons — 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
- 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 — not assessed — interface segregation is computed over a type surface 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
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- 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) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; 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 — Not assessed: these authorization 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 authorization 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.
- D10 Test Quality — ~218 lines of test source are present (.rs) 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 .rs suite was found but not re-run
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- 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.
- 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. 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 — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- 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.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D5 Coupling — Not applicable — this Cargo 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 (65 value object(s))
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- 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# syntax, and none was loaded for this repository. 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
- P10 Library API & versioning — 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
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the Rust 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 (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) 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
- PF1 Benchmark discipline — 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
- PF2 Allocation hygiene — 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
- PF3 Async & latency hygiene — Not applicable: this repository declares no async functions, 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.
- X1 Async correctness — 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
- X10 Duplicated predicate — 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
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — 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
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — 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
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — 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
- X5 Nullable reference types — 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
- X6 Hand-rolled structured-format parsing — 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
- X7 Silent fallback defaults — 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
- 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 — 31 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
Serious — 117 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment src/unix_peer.rs:385
- TodoComment src/unix_peer.rs:407
- TodoComment src/trivial_peer.rs:48
- TodoComment src/trivial_peer.rs:246
- TodoComment src/reconnect_peer.rs:16
- TodoComment src/reconnect_peer.rs:17
- TodoComment src/process_peer.rs:70
- TodoComment src/process_peer.rs:71
- TodoComment src/process_peer.rs:217
- TodoComment src/process_peer.rs:257
- TodoComment src/options.rs:41
- TodoComment src/my_copy.rs:66
- TodoComment src/mirror_peer.rs:45
- TodoComment src/main.rs:649
- TodoComment src/lints.rs:683
- TodoComment src/lints.rs:684
- websocat::run (cognitive 94) src/main.rs:767
- websocat::ws_server_peer::ws_upgrade_peer (cognitive 50) src/ws_server_peer.rs:111
- websocat::http_serve::http_serve (cognitive 33) src/http_serve.rs:42
- websocat::help::shorthelp (cognitive 20) src/help.rs:27
- websocat::net_peer::apply_udp_options (cognitive 20) src/net_peer.rs:314
- Duplicated block (9 lines × 2) src/http_peer.rs:37
- Duplicated block (9 lines × 2) src/reconnect_peer.rs:244
- Duplicated block (9 lines × 2) src/unix_peer.rs:386
- Duplicated block (9 lines × 2) src/sessionserve.rs:204
- Duplicated block (9 lines × 2) src/main.rs:653
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- FixmeComment src/ws_server_peer.rs:28
- FixmeComment src/ws_client_peer.rs:234
- FixmeComment src/net_peer.rs:27
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (6 lines × 2) src/util.rs:31
- Duplicated block (6 lines × 2) src/net_peer.rs:188
- Duplicated block (6 lines × 2) src/stdio_peer.rs:238
- websocat::run (cyclomatic 58) src/main.rs:767
- websocat::ws_server_peer::ws_upgrade_peer (cyclomatic 20) src/ws_server_peer.rs:111
- PeerHandle::write (cognitive 61) src/foreachmsg_peer.rs:220
- PeerHandle::read (cognitive 26) src/foreachmsg_peer.rs:158
- Line2PacketWrapper::read (cognitive 56) src/line_peer.rs:204
- Line2PacketWrapper::deliver_the_line (cognitive 22) src/line_peer.rs:170
- State::poll (cognitive 30) src/reconnect_peer.rs:74
- State::poll (cognitive 16) src/foreachmsg_peer.rs:80
- WebsocatConfiguration2::l_udp (cognitive 19) src/lints.rs:572
- WebsocatConfiguration2::l_ping (cognitive 16) src/lints.rs:514
- TooManyFields: Opt src/main.rs:59
- TooManyFields: Options src/options.rs:20
- FileTooLong: src/main.rs src/main.rs
- FileTooLong: src/ws_peer.rs src/ws_peer.rs
- REDACTED
- REDACTED
- Duplicated block (10 lines × 2) src/foreachmsg_peer.rs:243
- Duplicated block (10 lines × 2) src/unix_peer.rs:446
- WsReadWrapper::read (cyclomatic 28) src/ws_peer.rs:174
- PeerHandle::write (cyclomatic 24) src/foreachmsg_peer.rs:220
- Line2PacketWrapper::read (cyclomatic 24) src/line_peer.rs:204
- JsonRpcWrapper::read (cyclomatic 22) src/jsonrpc_peer.rs:48
- Copy::poll (cyclomatic 20) src/my_copy.rs:84
- WsWriteWrapper::write (cyclomatic 17) src/ws_peer.rs:372
- WsPinger::poll (cyclomatic 17) src/ws_peer.rs:552
- Copy::poll (cognitive 50) src/my_copy.rs:84
- WsReadWrapper::read (cognitive 47) src/ws_peer.rs:174
- JsonRpcWrapper::read (cognitive 30) src/jsonrpc_peer.rs:48
- WsPinger::poll (cognitive 29) src/ws_peer.rs:552
- Lengthprefixed2PacketWrapper::read (cognitive 27) src/lengthprefixed_peer.rs:116
- WsWriteWrapper::write (cognitive 24) src/ws_peer.rs:372
- Packet2LineWrapper::read (cognitive 23) src/line_peer.rs:95
- InnerPeerReader::poll (cognitive 21) src/broadcast_reuse_peer.rs:93
- SseStream::write (cognitive 21) src/http_peer.rs:481
- WaitForHttpHead::poll (cognitive 18) src/http_peer.rs:179
- SpecifierStack::from_str (cognitive 18) src/specparse.rs:65
- Packet2LengthPrefixedWrapper::write (cognitive 16) src/lengthprefixed_peer.rs:188
- Inconsistent naming convention for file operations. 'ReadFile' and 'WriteFile' follow a Verb-Noun pattern, while 'AppendFile' uses a Verb-Noun pattern but semantically 'Append' is a mode of writing, not a distinct noun like 'Read'. More importantly, 'AppendFile' breaks the symmetry with 'WriteFile' if the intent is to represent file access modes. If these are distinct peer types, they should likely be unified or named consistently (e.g., FileRead, FileWrite, FileAppend or FilePeer with a mode enum).
- Duplicate intent with different names. `Literal` and `LiteralPeer` both appear to represent a peer that outputs a literal byte. The existence of both suggests either a legacy type (`Literal`) and a new one (`LiteralPeer`), or a confusion between the concept and the implementation. The module `trivial_peer` contains both `Literal` and `LiteralPeer` as well as `Clogged` and `CloggedPeer`.
- Duplicate intent with different names. `Random` and `RandomReader` likely represent the same functionality (generating random data). The suffix 'Reader' is redundant if the type itself is a Peer (which implies reading/writing).
- Duplicate intent with different names. `ExitOnSpecificByte` and `ExitOnSpecificByteReader` appear to be duplicates.
- Duplicate intent with different names. `DropOnBackpressure` and `DropOnBackpressureWriter` appear to be duplicates.
- Inconsistent naming for WebSocket client connections. `WsClient` and `WsClientSecure` are named as nouns (the client itself), while `WsConnect` is named as a verb/action. If `WsConnect` is a peer type, it should be named `WsClientPeer` or similar to match `WsClient`. If `WsClient` is the high-level API and `WsConnect` is the low-level peer, the naming distinction is confusing without clear documentation, but structurally they look like overlapping concepts in the same module.
- Poor naming convention for configuration stages. Using numeric suffixes (1, 2, 3) implies a temporal or sequential state that is not immediately obvious from the type name. It is unclear what distinguishes them other than the fields (addr1/addr2 vs s1/s2 vs Rc). This makes the API hard to use correctly without reading the source.
- FunctionTooLong: websocat::run src/main.rs:767
- MethodTooLong: WsReadWrapper.read src/ws_peer.rs:174
- REDACTED
- REDACTED
- Duplicated block (13 lines × 2) src/line_peer.rs:181
- Duplicated block (11–12 lines × 2) src/unix_peer.rs:475
- Duplicated block (7–8 lines × 4) src/unix_peer.rs:450
- Duplicated block (5 lines × 2) src/unix_peer.rs:458
- Duplicated block (8 lines × 2) src/ws_peer.rs:686
Minor — 12 finding(s)
- README/code drift
- README/code drift
- README/code drift
- README/code drift
- README/code drift
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No architecture diagram/doc
Minor — 5 finding(s)
- Outdated: flate2
- Outdated: libc
- Outdated: log
- Outdated: native-tls
- Outdated: tempfile
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-b4d3f31e6b6f4ccb8a5df1b75879a5de/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-b4d3f31e6b6f4ccb8a5df1b75879a5de/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 . | 16 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 36 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 10 | 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 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 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 | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |