Executive summary
Preview (pre-1.0). This repo hasn't declared a stable release, so it's judged against a relaxed, pre-production bar.
This system holds a strong overall standing of 70%, indicating a healthy asset with solid foundations. However, the business faces a specific, manageable risk concentrated in how the team captures and retains institutional knowledge. While the code itself is robust and the architecture is sound, the lack of documented decision-making creates a fragility that could slow future delivery or increase costs if key personnel leave.
The value at stake is moderate, with a rebuild effort estimated at roughly 0.3 person-years, or about €51,000. This is a manageable scope, but it represents real capital tied up in the system. The code is highly efficient, with no boilerplate or straight-line logic, suggesting a mature engineering culture. Yet, the low maturity score of 59% means that new engineers may struggle to understand the rationale behind past choices, leading to potential rework or misaligned features.
The primary theme is knowledge continuity. Without recorded architectural decisions, the system relies on tribal memory, which is a single point of failure. This gap poses a risk of delayed onboarding and inconsistent design patterns over time. The second theme is operational clarity. While the code health and architecture are excellent, the absence of clear testing instructions in the main documentation creates friction for anyone trying to verify changes, potentially slowing down release cycles and increasing the chance of defects slipping through.
What is genuinely good is the underlying code quality and architectural integrity. The system is well-structured, secure, and ready for production use. The high scores in code health and architecture indicate that the technical debt is low and the system is maintainable. The security posture is also strong, minimizing exposure to common vulnerabilities.
Where to focus first is documenting significant decisions. Recording these in a centralized, discoverable format provides the highest leverage, as it immediately improves onboarding and reduces ambiguity. This action is low-cost but high-impact, addressing the core maturity gap. Adding a testing section to the README is a close second, ensuring that the strong code health can be easily verified by any team member. This approach balances immediate operational needs with long-term knowledge preservation.
Raise Maturity 59 → 70 (the Healthy floor) ⇒ headline 70 → ~75.
New since the last scan (3+)
- D6 · Low cohesion: SudoString (LCOM4 4) src/common/string.rs
- D6 · Low cohesion: Command (LCOM4 4) test-framework/sudo-test/src/docker/command.rs
- D22 · Two top-level factory methods with nearly identical signatures and return types, differing only by a suffix ('NoImplicit'). The semantic distinction is not obvious from the signature alone and requires external documentation to understand.
Rebuild cost & value ~ Modeled — €17,000–€85,000
| Cost to rebuild | €17,000–€85,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 1.0× (at 70% quality) |
| Size & shape | Medium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.3 person-years of build effort (about ~€51,000 to rebuild). Its weakest lens is Maturity at 59% — 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 sudo_compliance_tests | 2 sudo_rs.common.bin_serde | 3 sudo_rs.common.string | 4 sudo_rs.exec.event | 5 sudo_rs.sudoers.ast_names | 6 sudo_rs.sudoers.char_stream | 7 sudo_rs.system.signal.set | 8 sudo_rs.system.signal.state | 9 sudo_rs.system.term.sealed | 10 sudo_rs.common.path | 11 sudo_rs.exec.use_pty.pipe | 12 sudo_rs.pam.error | 13 sudo_rs.su.cli | 14 sudo_rs.sudoers.basic_parser | 15 sudo_rs.system.interface | 16 sudo_rs.system.signal.stream | 17 sudo_rs.common.error | 18 sudo_rs.sudo.cli | 19 sudo_rs.sudoers.tokens | 20 sudo_rs.system.term | 21 sudo_rs.exec.use_pty.backchannel | 22 sudo_rs.sudoers.ast | 23 sudo_test | 24 sudo_test.docker.command | 25 sudo_rs.system | 26 sudo_rs.common.resolve | 27 sudo_rs.exec | 28 sudo_rs.exec.no_pty | 29 sudo_rs.exec.use_pty.monitor | 30 sudo_rs.exec.use_pty.parent | 31 sudo_rs.su.context | 32 sudo_rs.sudoers.policy | 33 sudo_rs.system.audit | 34 sudo_rs.system.timestamp | 35 sudo_rs.sudoers | 36 sudo_rs.common.context | 37 sudo_rs.sudoers.entry | 38 sudo_rs.sudo.env.environment | 39 sudo_rs.sudo.pipeline | 40 sudo_rs.sudo.pipeline.list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 sudo_compliance_tests | ||||||||||||||||||||||||||||||||||||||||
| 2 sudo_rs.common.bin_serde | ||||||||||||||||||||||||||||||||||||||||
| 3 sudo_rs.common.string | ||||||||||||||||||||||||||||||||||||||||
| 4 sudo_rs.exec.event | ||||||||||||||||||||||||||||||||||||||||
| 5 sudo_rs.sudoers.ast_names | ||||||||||||||||||||||||||||||||||||||||
| 6 sudo_rs.sudoers.char_stream | ||||||||||||||||||||||||||||||||||||||||
| 7 sudo_rs.system.signal.set | ||||||||||||||||||||||||||||||||||||||||
| 8 sudo_rs.system.signal.state | ||||||||||||||||||||||||||||||||||||||||
| 9 sudo_rs.system.term.sealed | ||||||||||||||||||||||||||||||||||||||||
| 10 sudo_rs.common.path | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 sudo_rs.exec.use_pty.pipe | 4 | |||||||||||||||||||||||||||||||||||||||
| 12 sudo_rs.pam.error | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 sudo_rs.su.cli | 2 | |||||||||||||||||||||||||||||||||||||||
| 14 sudo_rs.sudoers.basic_parser | 5 | |||||||||||||||||||||||||||||||||||||||
| 15 sudo_rs.system.interface | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 sudo_rs.system.signal.stream | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 sudo_rs.common.error | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 sudo_rs.sudo.cli | 5 | 3 | ||||||||||||||||||||||||||||||||||||||
| 19 sudo_rs.sudoers.tokens | 1 | 14 | 1 | 18 | ||||||||||||||||||||||||||||||||||||
| 20 sudo_rs.system.term | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 sudo_rs.exec.use_pty.backchannel | 4 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 sudo_rs.sudoers.ast | 7 | 10 | 14 | 2 | ||||||||||||||||||||||||||||||||||||
| 23 sudo_test | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 24 sudo_test.docker.command | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 sudo_rs.system | 1 | 1 | 1 | 8 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 26 sudo_rs.common.resolve | 2 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 sudo_rs.exec | 1 | 3 | 1 | 1 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 28 sudo_rs.exec.no_pty | 1 | 2 | 1 | 2 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 29 sudo_rs.exec.use_pty.monitor | 1 | 2 | 1 | 2 | 2 | 1 | 2 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||
| 30 sudo_rs.exec.use_pty.parent | 3 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 3 | |||||||||||||||||||||||||||||
| 31 sudo_rs.su.context | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 32 sudo_rs.sudoers.policy | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 sudo_rs.system.audit | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 sudo_rs.system.timestamp | 1 | 2 | 3 | |||||||||||||||||||||||||||||||||||||
| 35 sudo_rs.sudoers | 1 | 1 | 2 | 6 | 6 | 2 | ||||||||||||||||||||||||||||||||||
| 36 sudo_rs.common.context | 1 | 4 | 1 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 37 sudo_rs.sudoers.entry | 4 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 sudo_rs.sudo.env.environment | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 sudo_rs.sudo.pipeline | 2 | 2 | 2 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 40 sudo_rs.sudo.pipeline.list | 1 | 1 | 1 | 1 |
10→3 sudo_rs.common.path depends on sudo_rs.common.string✕
- Type pairs
- 1 distinct (type in sudo_rs.common.path → type in sudo_rs.common.string) reference.
- Which types
sudo_rs.common.path.SudoPath→sudo_rs.common.string.SudoString
- Direction
- sudo_rs.common.path uses sudo_rs.common.string. Changing sudo_rs.common.string can break sudo_rs.common.path, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→4 sudo_rs.exec.use_pty.pipe depends on sudo_rs.exec.event✕
- Type pairs
- 4 distinct (type in sudo_rs.exec.use_pty.pipe → type in sudo_rs.exec.event) references.
- Which types
sudo_rs.exec.use_pty.pipe.Buffer→sudo_rs.exec.event.EventHandlesudo_rs.exec.use_pty.pipe.Buffer→sudo_rs.exec.event.EventRegistrysudo_rs.exec.use_pty.pipe.Pipe→sudo_rs.exec.event.EventRegistrysudo_rs.exec.use_pty.pipe.Pipe→sudo_rs.exec.event.PollEvent
- Direction
- sudo_rs.exec.use_pty.pipe uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.exec.use_pty.pipe, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→17 sudo_rs.pam.error depends on sudo_rs.common.error cycle✕
- Type pairs
- 1 distinct (type in sudo_rs.pam.error → type in sudo_rs.common.error) reference.
- Which types
sudo_rs.pam.error.PamError→sudo_rs.common.error.Error
- Direction
- sudo_rs.pam.error uses sudo_rs.common.error. Changing sudo_rs.common.error can break sudo_rs.pam.error, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
13→3 sudo_rs.su.cli depends on sudo_rs.common.string✕
- Type pairs
- 2 distinct (type in sudo_rs.su.cli → type in sudo_rs.common.string) references.
- Which types
sudo_rs.su.cli.SuOptions→sudo_rs.common.string.SudoStringsudo_rs.su.cli.SuRunOptions→sudo_rs.common.string.SudoString
- Direction
- sudo_rs.su.cli uses sudo_rs.common.string. Changing sudo_rs.common.string can break sudo_rs.su.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→6 sudo_rs.sudoers.basic_parser depends on sudo_rs.sudoers.char_stream✕
- Type pairs
- 5 distinct (type in sudo_rs.sudoers.basic_parser → type in sudo_rs.sudoers.char_stream) references.
- Which types
sudo_rs.sudoers.basic_parser.Comment→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.basic_parser.LeadingWhitespace→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.basic_parser.Parse→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.basic_parser.TrailingWhitespace→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.basic_parser.basic_parser$module→sudo_rs.sudoers.char_stream.CharStream
- Direction
- sudo_rs.sudoers.basic_parser uses sudo_rs.sudoers.char_stream. Changing sudo_rs.sudoers.char_stream can break sudo_rs.sudoers.basic_parser, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→9 sudo_rs.system.interface depends on sudo_rs.system.term.sealed✕
- Type pairs
- 1 distinct (type in sudo_rs.system.interface → type in sudo_rs.system.term.sealed) reference.
- Which types
sudo_rs.system.interface.ProcessId→sudo_rs.system.term.sealed.Sealed
- Direction
- sudo_rs.system.interface uses sudo_rs.system.term.sealed. Changing sudo_rs.system.term.sealed can break sudo_rs.system.interface, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→25 sudo_rs.system.interface depends on sudo_rs.system cycle✕
- Type pairs
- 1 distinct (type in sudo_rs.system.interface → type in sudo_rs.system) reference.
- Which types
sudo_rs.system.interface.UnixUser→sudo_rs.system.Group
- Direction
- sudo_rs.system.interface uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.system.interface, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
16→8 sudo_rs.system.signal.stream depends on sudo_rs.system.signal.state✕
- Type pairs
- 1 distinct (type in sudo_rs.system.signal.stream → type in sudo_rs.system.signal.state) reference.
- Which types
sudo_rs.system.signal.stream.stream$module→sudo_rs.system.signal.state.SignalsState
- Direction
- sudo_rs.system.signal.stream uses sudo_rs.system.signal.state. Changing sudo_rs.system.signal.state can break sudo_rs.system.signal.stream, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→12 sudo_rs.common.error depends on sudo_rs.pam.error✕
- Type pairs
- 1 distinct (type in sudo_rs.common.error → type in sudo_rs.pam.error) reference.
- Which types
sudo_rs.common.error.Error→sudo_rs.pam.error.PamError
- Direction
- sudo_rs.common.error uses sudo_rs.pam.error. Changing sudo_rs.pam.error can break sudo_rs.common.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→3 sudo_rs.sudo.cli depends on sudo_rs.common.string✕
- Type pairs
- 5 distinct (type in sudo_rs.sudo.cli → type in sudo_rs.common.string) references.
- Which types
sudo_rs.sudo.cli.SudoEditOptions→sudo_rs.common.string.SudoStringsudo_rs.sudo.cli.SudoListOptions→sudo_rs.common.string.SudoStringsudo_rs.sudo.cli.SudoOptions→sudo_rs.common.string.SudoStringsudo_rs.sudo.cli.SudoRunOptions→sudo_rs.common.string.SudoStringsudo_rs.sudo.cli.SudoValidateOptions→sudo_rs.common.string.SudoString
- Direction
- sudo_rs.sudo.cli uses sudo_rs.common.string. Changing sudo_rs.common.string can break sudo_rs.sudo.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→10 sudo_rs.sudo.cli depends on sudo_rs.common.path✕
- Type pairs
- 3 distinct (type in sudo_rs.sudo.cli → type in sudo_rs.common.path) references.
- Which types
sudo_rs.sudo.cli.SudoEditOptions→sudo_rs.common.path.SudoPathsudo_rs.sudo.cli.SudoOptions→sudo_rs.common.path.SudoPathsudo_rs.sudo.cli.SudoRunOptions→sudo_rs.common.path.SudoPath
- Direction
- sudo_rs.sudo.cli uses sudo_rs.common.path. Changing sudo_rs.common.path can break sudo_rs.sudo.cli, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→3 sudo_rs.sudoers.tokens depends on sudo_rs.common.string✕
- Type pairs
- 1 distinct (type in sudo_rs.sudoers.tokens → type in sudo_rs.common.string) reference.
- Which types
sudo_rs.sudoers.tokens.Username→sudo_rs.common.string.SudoString
- Direction
- sudo_rs.sudoers.tokens uses sudo_rs.common.string. Changing sudo_rs.common.string can break sudo_rs.sudoers.tokens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→5 sudo_rs.sudoers.tokens depends on sudo_rs.sudoers.ast_names✕
- Type pairs
- 14 distinct (type in sudo_rs.sudoers.tokens → type in sudo_rs.sudoers.ast_names) references.
- Which types
sudo_rs.sudoers.tokens.AliasName→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.ChDir→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.DefaultName→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.DigitsU32→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.EnvVar→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.Hostname→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.IncludePath→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.Meta→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.Numeric→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.QuotedIncludePath→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.QuotedStringParameter→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.StringParameter→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.Unquoted→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.tokens.Username→sudo_rs.sudoers.ast_names.UserFriendly
- Direction
- sudo_rs.sudoers.tokens uses sudo_rs.sudoers.ast_names. Changing sudo_rs.sudoers.ast_names can break sudo_rs.sudoers.tokens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→6 sudo_rs.sudoers.tokens depends on sudo_rs.sudoers.char_stream✕
- Type pairs
- 1 distinct (type in sudo_rs.sudoers.tokens → type in sudo_rs.sudoers.char_stream) reference.
- Which types
sudo_rs.sudoers.tokens.Meta→sudo_rs.sudoers.char_stream.CharStream
- Direction
- sudo_rs.sudoers.tokens uses sudo_rs.sudoers.char_stream. Changing sudo_rs.sudoers.char_stream can break sudo_rs.sudoers.tokens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→14 sudo_rs.sudoers.tokens depends on sudo_rs.sudoers.basic_parser✕
- Type pairs
- 18 distinct (type in sudo_rs.sudoers.tokens → type in sudo_rs.sudoers.basic_parser) references.
- Which types
sudo_rs.sudoers.tokens.AliasName→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.ChDir→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.DefaultName→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.DigitsU32→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.EnvVar→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.Hostname→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.tokens.Hostname→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.IncludePath→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.Meta→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.tokens.Meta→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.tokens.Meta→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.Numeric→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.QuotedIncludePath→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.QuotedStringParameter→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.StringParameter→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.Unquoted→sudo_rs.sudoers.basic_parser.Tokensudo_rs.sudoers.tokens.Username→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.tokens.Username→sudo_rs.sudoers.basic_parser.Token
- Direction
- sudo_rs.sudoers.tokens uses sudo_rs.sudoers.basic_parser. Changing sudo_rs.sudoers.basic_parser can break sudo_rs.sudoers.tokens, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→9 sudo_rs.system.term depends on sudo_rs.system.term.sealed✕
- Type pairs
- 3 distinct (type in sudo_rs.system.term → type in sudo_rs.system.term.sealed) references.
- Which types
sudo_rs.system.term.PtyFollower→sudo_rs.system.term.sealed.SafeTtysudo_rs.system.term.PtyLeader→sudo_rs.system.term.sealed.SafeTtysudo_rs.system.term.Terminal→sudo_rs.system.term.sealed.Sealed
- Direction
- sudo_rs.system.term uses sudo_rs.system.term.sealed. Changing sudo_rs.system.term.sealed can break sudo_rs.system.term, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→15 sudo_rs.system.term depends on sudo_rs.system.interface✕
- Type pairs
- 1 distinct (type in sudo_rs.system.term → type in sudo_rs.system.interface) reference.
- Which types
sudo_rs.system.term.Terminal→sudo_rs.system.interface.ProcessId
- Direction
- sudo_rs.system.term uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.system.term, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→2 sudo_rs.exec.use_pty.backchannel depends on sudo_rs.common.bin_serde✕
- Type pairs
- 4 distinct (type in sudo_rs.exec.use_pty.backchannel → type in sudo_rs.common.bin_serde) references.
- Which types
sudo_rs.exec.use_pty.backchannel.MonitorBackchannel→sudo_rs.common.bin_serde.BinPipesudo_rs.exec.use_pty.backchannel.MonitorMessage→sudo_rs.common.bin_serde.DeSerializesudo_rs.exec.use_pty.backchannel.ParentBackchannel→sudo_rs.common.bin_serde.BinPipesudo_rs.exec.use_pty.backchannel.ParentMessage→sudo_rs.common.bin_serde.DeSerialize
- Direction
- sudo_rs.exec.use_pty.backchannel uses sudo_rs.common.bin_serde. Changing sudo_rs.common.bin_serde can break sudo_rs.exec.use_pty.backchannel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→17 sudo_rs.exec.use_pty.backchannel depends on sudo_rs.common.error✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.backchannel → type in sudo_rs.common.error) reference.
- Which types
sudo_rs.exec.use_pty.backchannel.ParentMessage→sudo_rs.common.error.Error
- Direction
- sudo_rs.exec.use_pty.backchannel uses sudo_rs.common.error. Changing sudo_rs.common.error can break sudo_rs.exec.use_pty.backchannel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→5 sudo_rs.sudoers.ast depends on sudo_rs.sudoers.ast_names✕
- Type pairs
- 7 distinct (type in sudo_rs.sudoers.ast → type in sudo_rs.sudoers.ast_names) references.
- Which types
sudo_rs.sudoers.ast.CommandSpec→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.ast.Def→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.ast.Identifier→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.ast.PeerSpec→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.ast.Qualified→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.ast.Sudo→sudo_rs.sudoers.ast_names.UserFriendlysudo_rs.sudoers.ast.UserSpecifier→sudo_rs.sudoers.ast_names.UserFriendly
- Direction
- sudo_rs.sudoers.ast uses sudo_rs.sudoers.ast_names. Changing sudo_rs.sudoers.ast_names can break sudo_rs.sudoers.ast, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→6 sudo_rs.sudoers.ast depends on sudo_rs.sudoers.char_stream✕
- Type pairs
- 10 distinct (type in sudo_rs.sudoers.ast → type in sudo_rs.sudoers.char_stream) references.
- Which types
sudo_rs.sudoers.ast.CommandSpec→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.Def→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.Identifier→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.MetaOrTag→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.PeerSpec→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.Qualified→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.RunAs→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.Sudo→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.UserSpecifier→sudo_rs.sudoers.char_stream.CharStreamsudo_rs.sudoers.ast.ast$module→sudo_rs.sudoers.char_stream.CharStream
- Direction
- sudo_rs.sudoers.ast uses sudo_rs.sudoers.char_stream. Changing sudo_rs.sudoers.char_stream can break sudo_rs.sudoers.ast, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→14 sudo_rs.sudoers.ast depends on sudo_rs.sudoers.basic_parser✕
- Type pairs
- 14 distinct (type in sudo_rs.sudoers.ast → type in sudo_rs.sudoers.basic_parser) references.
- Which types
sudo_rs.sudoers.ast.CommandSpec→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.Def→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.ast.Def→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.Identifier→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.ast.Identifier→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.MetaOrTag→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.PeerSpec→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.Qualified→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.ast.Qualified→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.RunAs→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.Sudo→sudo_rs.sudoers.basic_parser.Parsesudo_rs.sudoers.ast.Tag→sudo_rs.sudoers.basic_parser.Spansudo_rs.sudoers.ast.UserSpecifier→sudo_rs.sudoers.basic_parser.Manysudo_rs.sudoers.ast.UserSpecifier→sudo_rs.sudoers.basic_parser.Parse
- Direction
- sudo_rs.sudoers.ast uses sudo_rs.sudoers.basic_parser. Changing sudo_rs.sudoers.basic_parser can break sudo_rs.sudoers.ast, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→19 sudo_rs.sudoers.ast depends on sudo_rs.sudoers.tokens✕
- Type pairs
- 2 distinct (type in sudo_rs.sudoers.ast → type in sudo_rs.sudoers.tokens) references.
- Which types
sudo_rs.sudoers.ast.MetaOrTag→sudo_rs.sudoers.tokens.Metasudo_rs.sudoers.ast.Tag→sudo_rs.sudoers.tokens.ChDir
- Direction
- sudo_rs.sudoers.ast uses sudo_rs.sudoers.tokens. Changing sudo_rs.sudoers.tokens can break sudo_rs.sudoers.ast, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→19 sudo_test depends on sudo_rs.sudoers.tokens✕
- Type pairs
- 1 distinct (type in sudo_test → type in sudo_rs.sudoers.tokens) reference.
- Which types
sudo_test.User→sudo_rs.sudoers.tokens.Username
- Direction
- sudo_test uses sudo_rs.sudoers.tokens. Changing sudo_rs.sudoers.tokens can break sudo_test, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→25 sudo_test depends on sudo_rs.system cycle✕
- Type pairs
- 2 distinct (type in sudo_test → type in sudo_rs.system) references.
- Which types
sudo_test.sudo_test$module→sudo_rs.system.Groupsudo_test.sudo_test$module→sudo_rs.system.User
- Direction
- sudo_test uses sudo_rs.system. Changing sudo_rs.system can break sudo_test, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
24→5 sudo_test.docker.command depends on sudo_rs.sudoers.ast_names✕
- Type pairs
- 1 distinct (type in sudo_test.docker.command → type in sudo_rs.sudoers.ast_names) reference.
- Which types
sudo_test.docker.command.Command→sudo_rs.sudoers.ast_names.UserFriendly
- Direction
- sudo_test.docker.command uses sudo_rs.sudoers.ast_names. Changing sudo_rs.sudoers.ast_names can break sudo_test.docker.command, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→14 sudo_test.docker.command depends on sudo_rs.sudoers.basic_parser✕
- Type pairs
- 2 distinct (type in sudo_test.docker.command → type in sudo_rs.sudoers.basic_parser) references.
- Which types
sudo_test.docker.command.Command→sudo_rs.sudoers.basic_parser.Manysudo_test.docker.command.Command→sudo_rs.sudoers.basic_parser.Token
- Direction
- sudo_test.docker.command uses sudo_rs.sudoers.basic_parser. Changing sudo_rs.sudoers.basic_parser can break sudo_test.docker.command, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→23 sudo_test.docker.command depends on sudo_test✕
- Type pairs
- 1 distinct (type in sudo_test.docker.command → type in sudo_test) reference.
- Which types
sudo_test.docker.command.Command→sudo_test.Env
- Direction
- sudo_test.docker.command uses sudo_test. Changing sudo_test can break sudo_test.docker.command, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→3 sudo_rs.system depends on sudo_rs.common.string✕
- Type pairs
- 1 distinct (type in sudo_rs.system → type in sudo_rs.common.string) reference.
- Which types
sudo_rs.system.User→sudo_rs.common.string.SudoString
- Direction
- sudo_rs.system uses sudo_rs.common.string. Changing sudo_rs.common.string can break sudo_rs.system, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→4 sudo_rs.system depends on sudo_rs.exec.event✕
- Type pairs
- 1 distinct (type in sudo_rs.system → type in sudo_rs.exec.event) reference.
- Which types
sudo_rs.system.Process→sudo_rs.exec.event.Process
- Direction
- sudo_rs.system uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.system, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→10 sudo_rs.system depends on sudo_rs.common.path✕
- Type pairs
- 1 distinct (type in sudo_rs.system → type in sudo_rs.common.path) reference.
- Which types
sudo_rs.system.User→sudo_rs.common.path.SudoPath
- Direction
- sudo_rs.system uses sudo_rs.common.path. Changing sudo_rs.common.path can break sudo_rs.system, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→15 sudo_rs.system depends on sudo_rs.system.interface✕
- Type pairs
- 8 distinct (type in sudo_rs.system → type in sudo_rs.system.interface) references.
- Which types
sudo_rs.system.Group→sudo_rs.system.interface.GroupIdsudo_rs.system.Group→sudo_rs.system.interface.UnixGroupsudo_rs.system.Process→sudo_rs.system.interface.ProcessIdsudo_rs.system.User→sudo_rs.system.interface.GroupIdsudo_rs.system.User→sudo_rs.system.interface.UnixUsersudo_rs.system.User→sudo_rs.system.interface.UserIdsudo_rs.system.system$module→sudo_rs.system.interface.GroupIdsudo_rs.system.system$module→sudo_rs.system.interface.ProcessId
- Direction
- sudo_rs.system uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.system, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→24 sudo_rs.system depends on sudo_test.docker.command✕
- Type pairs
- 1 distinct (type in sudo_rs.system → type in sudo_test.docker.command) reference.
- Which types
sudo_rs.system.system$module→sudo_test.docker.command.Command
- Direction
- sudo_rs.system uses sudo_test.docker.command. Changing sudo_test.docker.command can break sudo_rs.system, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→26 sudo_rs.system depends on sudo_rs.common.resolve cycle✕
- Type pairs
- 1 distinct (type in sudo_rs.system → type in sudo_rs.common.resolve) reference.
- Which types
sudo_rs.system.User→sudo_rs.common.resolve.CurrentUser
- Direction
- sudo_rs.system uses sudo_rs.common.resolve. Changing sudo_rs.common.resolve can break sudo_rs.system, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
26→3 sudo_rs.common.resolve depends on sudo_rs.common.string✕
- Type pairs
- 2 distinct (type in sudo_rs.common.resolve → type in sudo_rs.common.string) references.
- Which types
sudo_rs.common.resolve.NameOrId→sudo_rs.common.string.SudoStringsudo_rs.common.resolve.resolve$module→sudo_rs.common.string.SudoString
- Direction
- sudo_rs.common.resolve uses sudo_rs.common.string. Changing sudo_rs.common.string can break sudo_rs.common.resolve, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→25 sudo_rs.common.resolve depends on sudo_rs.system✕
- Type pairs
- 3 distinct (type in sudo_rs.common.resolve → type in sudo_rs.system) references.
- Which types
sudo_rs.common.resolve.AuthUser→sudo_rs.system.Usersudo_rs.common.resolve.CurrentUser→sudo_rs.system.Usersudo_rs.common.resolve.resolve$module→sudo_rs.system.User
- Direction
- sudo_rs.common.resolve uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.common.resolve, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→36 sudo_rs.common.resolve depends on sudo_rs.common.context cycle✕
- Type pairs
- 1 distinct (type in sudo_rs.common.resolve → type in sudo_rs.common.context) reference.
- Which types
sudo_rs.common.resolve.resolve$module→sudo_rs.common.context.LaunchType
- Direction
- sudo_rs.common.resolve uses sudo_rs.common.context. Changing sudo_rs.common.context can break sudo_rs.common.resolve, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
27→2 sudo_rs.exec depends on sudo_rs.common.bin_serde✕
- Type pairs
- 1 distinct (type in sudo_rs.exec → type in sudo_rs.common.bin_serde) reference.
- Which types
sudo_rs.exec.exec$module→sudo_rs.common.bin_serde.BinPipe
- Direction
- sudo_rs.exec uses sudo_rs.common.bin_serde. Changing sudo_rs.common.bin_serde can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→4 sudo_rs.exec depends on sudo_rs.exec.event✕
- Type pairs
- 3 distinct (type in sudo_rs.exec → type in sudo_rs.exec.event) references.
- Which types
sudo_rs.exec.HandleSigchld→sudo_rs.exec.event.EventRegistrysudo_rs.exec.HandleSigchld→sudo_rs.exec.event.Processsudo_rs.exec.exec$module→sudo_rs.exec.event.EventRegistry
- Direction
- sudo_rs.exec uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→7 sudo_rs.exec depends on sudo_rs.system.signal.set✕
- Type pairs
- 1 distinct (type in sudo_rs.exec → type in sudo_rs.system.signal.set) reference.
- Which types
sudo_rs.exec.exec$module→sudo_rs.system.signal.set.SignalSet
- Direction
- sudo_rs.exec uses sudo_rs.system.signal.set. Changing sudo_rs.system.signal.set can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 sudo_rs.exec depends on sudo_rs.system.signal.state✕
- Type pairs
- 1 distinct (type in sudo_rs.exec → type in sudo_rs.system.signal.state) reference.
- Which types
sudo_rs.exec.exec$module→sudo_rs.system.signal.state.SignalsState
- Direction
- sudo_rs.exec uses sudo_rs.system.signal.state. Changing sudo_rs.system.signal.state can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→15 sudo_rs.exec depends on sudo_rs.system.interface✕
- Type pairs
- 1 distinct (type in sudo_rs.exec → type in sudo_rs.system.interface) reference.
- Which types
sudo_rs.exec.exec$module→sudo_rs.system.interface.ProcessId
- Direction
- sudo_rs.exec uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→24 sudo_rs.exec depends on sudo_test.docker.command✕
- Type pairs
- 1 distinct (type in sudo_rs.exec → type in sudo_test.docker.command) reference.
- Which types
sudo_rs.exec.exec$module→sudo_test.docker.command.Command
- Direction
- sudo_rs.exec uses sudo_test.docker.command. Changing sudo_test.docker.command can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→25 sudo_rs.exec depends on sudo_rs.system✕
- Type pairs
- 2 distinct (type in sudo_rs.exec → type in sudo_rs.system) references.
- Which types
sudo_rs.exec.RunOptions→sudo_rs.system.Groupsudo_rs.exec.RunOptions→sudo_rs.system.User
- Direction
- sudo_rs.exec uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.exec, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→2 sudo_rs.exec.no_pty depends on sudo_rs.common.bin_serde✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.no_pty → type in sudo_rs.common.bin_serde) reference.
- Which types
sudo_rs.exec.no_pty.ExecClosure→sudo_rs.common.bin_serde.BinPipe
- Direction
- sudo_rs.exec.no_pty uses sudo_rs.common.bin_serde. Changing sudo_rs.common.bin_serde can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→4 sudo_rs.exec.no_pty depends on sudo_rs.exec.event✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.no_pty → type in sudo_rs.exec.event) references.
- Which types
sudo_rs.exec.no_pty.ExecClosure→sudo_rs.exec.event.EventRegistrysudo_rs.exec.no_pty.ExecClosure→sudo_rs.exec.event.Process
- Direction
- sudo_rs.exec.no_pty uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→8 sudo_rs.exec.no_pty depends on sudo_rs.system.signal.state✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.no_pty → type in sudo_rs.system.signal.state) reference.
- Which types
sudo_rs.exec.no_pty.ExecClosure→sudo_rs.system.signal.state.SignalsState
- Direction
- sudo_rs.exec.no_pty uses sudo_rs.system.signal.state. Changing sudo_rs.system.signal.state can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→15 sudo_rs.exec.no_pty depends on sudo_rs.system.interface✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.no_pty → type in sudo_rs.system.interface) references.
- Which types
sudo_rs.exec.no_pty.ExecClosure→sudo_rs.system.interface.ProcessIdsudo_rs.exec.no_pty.no_pty$module→sudo_rs.system.interface.ProcessId
- Direction
- sudo_rs.exec.no_pty uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→16 sudo_rs.exec.no_pty depends on sudo_rs.system.signal.stream✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.no_pty → type in sudo_rs.system.signal.stream) reference.
- Which types
sudo_rs.exec.no_pty.ExecClosure→sudo_rs.system.signal.stream.SignalStream
- Direction
- sudo_rs.exec.no_pty uses sudo_rs.system.signal.stream. Changing sudo_rs.system.signal.stream can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→24 sudo_rs.exec.no_pty depends on sudo_test.docker.command✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.no_pty → type in sudo_test.docker.command) reference.
- Which types
sudo_rs.exec.no_pty.no_pty$module→sudo_test.docker.command.Command
- Direction
- sudo_rs.exec.no_pty uses sudo_test.docker.command. Changing sudo_test.docker.command can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→27 sudo_rs.exec.no_pty depends on sudo_rs.exec✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.no_pty → type in sudo_rs.exec) references.
- Which types
sudo_rs.exec.no_pty.ExecClosure→sudo_rs.exec.HandleSigchldsudo_rs.exec.no_pty.no_pty$module→sudo_rs.exec.SpawnNoexecHandler
- Direction
- sudo_rs.exec.no_pty uses sudo_rs.exec. Changing sudo_rs.exec can break sudo_rs.exec.no_pty, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→2 sudo_rs.exec.use_pty.monitor depends on sudo_rs.common.bin_serde✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.common.bin_serde) reference.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.common.bin_serde.BinPipe
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.common.bin_serde. Changing sudo_rs.common.bin_serde can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→4 sudo_rs.exec.use_pty.monitor depends on sudo_rs.exec.event✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.exec.event) references.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.exec.event.EventRegistrysudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.exec.event.Process
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→7 sudo_rs.exec.use_pty.monitor depends on sudo_rs.system.signal.set✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.system.signal.set) reference.
- Which types
sudo_rs.exec.use_pty.monitor.monitor$module→sudo_rs.system.signal.set.SignalSet
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.system.signal.set. Changing sudo_rs.system.signal.set can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→8 sudo_rs.exec.use_pty.monitor depends on sudo_rs.system.signal.state✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.system.signal.state) references.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.system.signal.state.SignalsStatesudo_rs.exec.use_pty.monitor.monitor$module→sudo_rs.system.signal.state.SignalsState
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.system.signal.state. Changing sudo_rs.system.signal.state can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→15 sudo_rs.exec.use_pty.monitor depends on sudo_rs.system.interface✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.system.interface) references.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.system.interface.ProcessIdsudo_rs.exec.use_pty.monitor.monitor$module→sudo_rs.system.interface.ProcessId
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→16 sudo_rs.exec.use_pty.monitor depends on sudo_rs.system.signal.stream✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.system.signal.stream) reference.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.system.signal.stream.SignalStream
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.system.signal.stream. Changing sudo_rs.system.signal.stream can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→20 sudo_rs.exec.use_pty.monitor depends on sudo_rs.system.term✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.system.term) references.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.system.term.PtyFollowersudo_rs.exec.use_pty.monitor.monitor$module→sudo_rs.system.term.PtyFollower
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.system.term. Changing sudo_rs.system.term can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→21 sudo_rs.exec.use_pty.monitor depends on sudo_rs.exec.use_pty.backchannel✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.exec.use_pty.backchannel) references.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.exec.use_pty.backchannel.MonitorBackchannelsudo_rs.exec.use_pty.monitor.monitor$module→sudo_rs.exec.use_pty.backchannel.MonitorBackchannel
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.exec.use_pty.backchannel. Changing sudo_rs.exec.use_pty.backchannel can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→24 sudo_rs.exec.use_pty.monitor depends on sudo_test.docker.command✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_test.docker.command) reference.
- Which types
sudo_rs.exec.use_pty.monitor.monitor$module→sudo_test.docker.command.Command
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_test.docker.command. Changing sudo_test.docker.command can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→27 sudo_rs.exec.use_pty.monitor depends on sudo_rs.exec✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.monitor → type in sudo_rs.exec) reference.
- Which types
sudo_rs.exec.use_pty.monitor.MonitorClosure→sudo_rs.exec.HandleSigchld
- Direction
- sudo_rs.exec.use_pty.monitor uses sudo_rs.exec. Changing sudo_rs.exec can break sudo_rs.exec.use_pty.monitor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→4 sudo_rs.exec.use_pty.parent depends on sudo_rs.exec.event✕
- Type pairs
- 3 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.exec.event) references.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.exec.event.EventHandlesudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.exec.event.EventRegistrysudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.exec.event.Process
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→8 sudo_rs.exec.use_pty.parent depends on sudo_rs.system.signal.state✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.system.signal.state) reference.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.system.signal.state.SignalsState
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.system.signal.state. Changing sudo_rs.system.signal.state can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→11 sudo_rs.exec.use_pty.parent depends on sudo_rs.exec.use_pty.pipe✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.exec.use_pty.pipe) reference.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.exec.use_pty.pipe.Pipe
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.exec.use_pty.pipe. Changing sudo_rs.exec.use_pty.pipe can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→15 sudo_rs.exec.use_pty.parent depends on sudo_rs.system.interface✕
- Type pairs
- 2 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.system.interface) references.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.system.interface.ProcessIdsudo_rs.exec.use_pty.parent.parent$module→sudo_rs.system.interface.ProcessId
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→16 sudo_rs.exec.use_pty.parent depends on sudo_rs.system.signal.stream✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.system.signal.stream) reference.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.system.signal.stream.SignalStream
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.system.signal.stream. Changing sudo_rs.system.signal.stream can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→17 sudo_rs.exec.use_pty.parent depends on sudo_rs.common.error✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.common.error) reference.
- Which types
sudo_rs.exec.use_pty.parent.ParentExit→sudo_rs.common.error.Error
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.common.error. Changing sudo_rs.common.error can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→20 sudo_rs.exec.use_pty.parent depends on sudo_rs.system.term✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.system.term) reference.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.system.term.TermSize
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.system.term. Changing sudo_rs.system.term can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→21 sudo_rs.exec.use_pty.parent depends on sudo_rs.exec.use_pty.backchannel✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.exec.use_pty.backchannel) reference.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.exec.use_pty.backchannel.ParentBackchannel
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.exec.use_pty.backchannel. Changing sudo_rs.exec.use_pty.backchannel can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→24 sudo_rs.exec.use_pty.parent depends on sudo_test.docker.command✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_test.docker.command) reference.
- Which types
sudo_rs.exec.use_pty.parent.parent$module→sudo_test.docker.command.Command
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_test.docker.command. Changing sudo_test.docker.command can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→25 sudo_rs.exec.use_pty.parent depends on sudo_rs.system✕
- Type pairs
- 1 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.system) reference.
- Which types
sudo_rs.exec.use_pty.parent.parent$module→sudo_rs.system.User
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→27 sudo_rs.exec.use_pty.parent depends on sudo_rs.exec✕
- Type pairs
- 3 distinct (type in sudo_rs.exec.use_pty.parent → type in sudo_rs.exec) references.
- Which types
sudo_rs.exec.use_pty.parent.ParentClosure→sudo_rs.exec.HandleSigchldsudo_rs.exec.use_pty.parent.ParentExit→sudo_rs.exec.ExitReasonsudo_rs.exec.use_pty.parent.parent$module→sudo_rs.exec.SpawnNoexecHandler
- Direction
- sudo_rs.exec.use_pty.parent uses sudo_rs.exec. Changing sudo_rs.exec can break sudo_rs.exec.use_pty.parent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→13 sudo_rs.su.context depends on sudo_rs.su.cli✕
- Type pairs
- 1 distinct (type in sudo_rs.su.context → type in sudo_rs.su.cli) reference.
- Which types
sudo_rs.su.context.SuContext→sudo_rs.su.cli.SuRunOptions
- Direction
- sudo_rs.su.context uses sudo_rs.su.cli. Changing sudo_rs.su.cli can break sudo_rs.su.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→25 sudo_rs.su.context depends on sudo_rs.system✕
- Type pairs
- 2 distinct (type in sudo_rs.su.context → type in sudo_rs.system) references.
- Which types
sudo_rs.su.context.SuContext→sudo_rs.system.Groupsudo_rs.su.context.SuContext→sudo_rs.system.User
- Direction
- sudo_rs.su.context uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.su.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→26 sudo_rs.su.context depends on sudo_rs.common.resolve✕
- Type pairs
- 1 distinct (type in sudo_rs.su.context → type in sudo_rs.common.resolve) reference.
- Which types
sudo_rs.su.context.SuContext→sudo_rs.common.resolve.CurrentUser
- Direction
- sudo_rs.su.context uses sudo_rs.common.resolve. Changing sudo_rs.common.resolve can break sudo_rs.su.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→27 sudo_rs.su.context depends on sudo_rs.exec✕
- Type pairs
- 1 distinct (type in sudo_rs.su.context → type in sudo_rs.exec) reference.
- Which types
sudo_rs.su.context.SuContext→sudo_rs.exec.RunOptions
- Direction
- sudo_rs.su.context uses sudo_rs.exec. Changing sudo_rs.exec can break sudo_rs.su.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→27 sudo_rs.sudoers.policy depends on sudo_rs.exec✕
- Type pairs
- 1 distinct (type in sudo_rs.sudoers.policy → type in sudo_rs.exec) reference.
- Which types
sudo_rs.sudoers.policy.Restrictions→sudo_rs.exec.Umask
- Direction
- sudo_rs.sudoers.policy uses sudo_rs.exec. Changing sudo_rs.exec can break sudo_rs.sudoers.policy, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→15 sudo_rs.system.audit depends on sudo_rs.system.interface✕
- Type pairs
- 2 distinct (type in sudo_rs.system.audit → type in sudo_rs.system.interface) references.
- Which types
sudo_rs.system.audit.audit$module→sudo_rs.system.interface.GroupIdsudo_rs.system.audit.audit$module→sudo_rs.system.interface.UserId
- Direction
- sudo_rs.system.audit uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.system.audit, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→25 sudo_rs.system.audit depends on sudo_rs.system✕
- Type pairs
- 2 distinct (type in sudo_rs.system.audit → type in sudo_rs.system) references.
- Which types
sudo_rs.system.audit.audit$module→sudo_rs.system.Groupsudo_rs.system.audit.audit$module→sudo_rs.system.User
- Direction
- sudo_rs.system.audit uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.system.audit, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→26 sudo_rs.system.audit depends on sudo_rs.common.resolve✕
- Type pairs
- 1 distinct (type in sudo_rs.system.audit → type in sudo_rs.common.resolve) reference.
- Which types
sudo_rs.system.audit.audit$module→sudo_rs.common.resolve.CurrentUser
- Direction
- sudo_rs.system.audit uses sudo_rs.common.resolve. Changing sudo_rs.common.resolve can break sudo_rs.system.audit, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→4 sudo_rs.system.timestamp depends on sudo_rs.exec.event✕
- Type pairs
- 1 distinct (type in sudo_rs.system.timestamp → type in sudo_rs.exec.event) reference.
- Which types
sudo_rs.system.timestamp.RecordScope→sudo_rs.exec.event.Process
- Direction
- sudo_rs.system.timestamp uses sudo_rs.exec.event. Changing sudo_rs.exec.event can break sudo_rs.system.timestamp, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→15 sudo_rs.system.timestamp depends on sudo_rs.system.interface✕
- Type pairs
- 2 distinct (type in sudo_rs.system.timestamp → type in sudo_rs.system.interface) references.
- Which types
sudo_rs.system.timestamp.SessionRecord→sudo_rs.system.interface.UserIdsudo_rs.system.timestamp.SessionRecordFile→sudo_rs.system.interface.UserId
- Direction
- sudo_rs.system.timestamp uses sudo_rs.system.interface. Changing sudo_rs.system.interface can break sudo_rs.system.timestamp, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→26 sudo_rs.system.timestamp depends on sudo_rs.common.resolve✕
- Type pairs
- 3 distinct (type in sudo_rs.system.timestamp → type in sudo_rs.common.resolve) references.
- Which types
sudo_rs.system.timestamp.SessionRecord→sudo_rs.common.resolve.AuthUsersudo_rs.system.timestamp.SessionRecordFile→sudo_rs.common.resolve.AuthUsersudo_rs.system.timestamp.SessionRecordFile→sudo_rs.common.resolve.CurrentUser
- Direction
- sudo_rs.system.timestamp uses sudo_rs.common.resolve. Changing sudo_rs.common.resolve can break sudo_rs.system.timestamp, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→14 sudo_rs.sudoers depends on sudo_rs.sudoers.basic_parser✕
- Type pairs
- 1 distinct (type in sudo_rs.sudoers → type in sudo_rs.sudoers.basic_parser) reference.
- Which types
sudo_rs.sudoers.Error→sudo_rs.sudoers.basic_parser.Span
- Direction
- sudo_rs.sudoers uses sudo_rs.sudoers.basic_parser. Changing sudo_rs.sudoers.basic_parser can break sudo_rs.sudoers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→17 sudo_rs.sudoers depends on sudo_rs.common.error✕
- Type pairs
- 1 distinct (type in sudo_rs.sudoers → type in sudo_rs.common.error) reference.
- Which types
sudo_rs.sudoers.sudoers$module→sudo_rs.common.error.Error
- Direction
- sudo_rs.sudoers uses sudo_rs.common.error. Changing sudo_rs.common.error can break sudo_rs.sudoers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→19 sudo_rs.sudoers depends on sudo_rs.sudoers.tokens✕
- Type pairs
- 2 distinct (type in sudo_rs.sudoers → type in sudo_rs.sudoers.tokens) references.
- Which types
sudo_rs.sudoers.Sudoers→sudo_rs.sudoers.tokens.Hostnamesudo_rs.sudoers.sudoers$module→sudo_rs.sudoers.tokens.Hostname
- Direction
- sudo_rs.sudoers uses sudo_rs.sudoers.tokens. Changing sudo_rs.sudoers.tokens can break sudo_rs.sudoers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→22 sudo_rs.sudoers depends on sudo_rs.sudoers.ast✕
- Type pairs
- 6 distinct (type in sudo_rs.sudoers → type in sudo_rs.sudoers.ast) references.
- Which types
sudo_rs.sudoers.Judgement→sudo_rs.sudoers.ast.Tagsudo_rs.sudoers.Sudoers→sudo_rs.sudoers.ast.PermissionSpecsudo_rs.sudoers.sudoers$module→sudo_rs.sudoers.ast.Defsudo_rs.sudoers.sudoers$module→sudo_rs.sudoers.ast.Identifiersudo_rs.sudoers.sudoers$module→sudo_rs.sudoers.ast.PeerSpecsudo_rs.sudoers.sudoers$module→sudo_rs.sudoers.ast.Tag
- Direction
- sudo_rs.sudoers uses sudo_rs.sudoers.ast. Changing sudo_rs.sudoers.ast can break sudo_rs.sudoers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→25 sudo_rs.sudoers depends on sudo_rs.system✕
- Type pairs
- 6 distinct (type in sudo_rs.sudoers → type in sudo_rs.system) references.
- Which types
sudo_rs.sudoers.ListRequest→sudo_rs.system.Groupsudo_rs.sudoers.ListRequest→sudo_rs.system.Usersudo_rs.sudoers.Request→sudo_rs.system.Groupsudo_rs.sudoers.Request→sudo_rs.system.Usersudo_rs.sudoers.Sudoers→sudo_rs.system.Usersudo_rs.sudoers.sudoers$module→sudo_rs.system.User
- Direction
- sudo_rs.sudoers uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.sudoers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→32 sudo_rs.sudoers depends on sudo_rs.sudoers.policy✕
- Type pairs
- 2 distinct (type in sudo_rs.sudoers → type in sudo_rs.sudoers.policy) references.
- Which types
sudo_rs.sudoers.Judgement→sudo_rs.sudoers.policy.Authorizationsudo_rs.sudoers.Sudoers→sudo_rs.sudoers.policy.Authorization
- Direction
- sudo_rs.sudoers uses sudo_rs.sudoers.policy. Changing sudo_rs.sudoers.policy can break sudo_rs.sudoers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→10 sudo_rs.common.context depends on sudo_rs.common.path✕
- Type pairs
- 1 distinct (type in sudo_rs.common.context → type in sudo_rs.common.path) reference.
- Which types
sudo_rs.common.context.Context→sudo_rs.common.path.SudoPath
- Direction
- sudo_rs.common.context uses sudo_rs.common.path. Changing sudo_rs.common.path can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→18 sudo_rs.common.context depends on sudo_rs.sudo.cli✕
- Type pairs
- 4 distinct (type in sudo_rs.common.context → type in sudo_rs.sudo.cli) references.
- Which types
sudo_rs.common.context.Context→sudo_rs.sudo.cli.SudoEditOptionssudo_rs.common.context.Context→sudo_rs.sudo.cli.SudoListOptionssudo_rs.common.context.Context→sudo_rs.sudo.cli.SudoRunOptionssudo_rs.common.context.Context→sudo_rs.sudo.cli.SudoValidateOptions
- Direction
- sudo_rs.common.context uses sudo_rs.sudo.cli. Changing sudo_rs.sudo.cli can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→19 sudo_rs.common.context depends on sudo_rs.sudoers.tokens✕
- Type pairs
- 1 distinct (type in sudo_rs.common.context → type in sudo_rs.sudoers.tokens) reference.
- Which types
sudo_rs.common.context.Context→sudo_rs.sudoers.tokens.Hostname
- Direction
- sudo_rs.common.context uses sudo_rs.sudoers.tokens. Changing sudo_rs.sudoers.tokens can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→25 sudo_rs.common.context depends on sudo_rs.system✕
- Type pairs
- 2 distinct (type in sudo_rs.common.context → type in sudo_rs.system) references.
- Which types
sudo_rs.common.context.Context→sudo_rs.system.Groupsudo_rs.common.context.Context→sudo_rs.system.User
- Direction
- sudo_rs.common.context uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→26 sudo_rs.common.context depends on sudo_rs.common.resolve✕
- Type pairs
- 1 distinct (type in sudo_rs.common.context → type in sudo_rs.common.resolve) reference.
- Which types
sudo_rs.common.context.Context→sudo_rs.common.resolve.CurrentUser
- Direction
- sudo_rs.common.context uses sudo_rs.common.resolve. Changing sudo_rs.common.resolve can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→32 sudo_rs.common.context depends on sudo_rs.sudoers.policy✕
- Type pairs
- 1 distinct (type in sudo_rs.common.context → type in sudo_rs.sudoers.policy) reference.
- Which types
sudo_rs.common.context.Context→sudo_rs.sudoers.policy.Restrictions
- Direction
- sudo_rs.common.context uses sudo_rs.sudoers.policy. Changing sudo_rs.sudoers.policy can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→35 sudo_rs.common.context depends on sudo_rs.sudoers✕
- Type pairs
- 1 distinct (type in sudo_rs.common.context → type in sudo_rs.sudoers) reference.
- Which types
sudo_rs.common.context.Context→sudo_rs.sudoers.Sudoers
- Direction
- sudo_rs.common.context uses sudo_rs.sudoers. Changing sudo_rs.sudoers can break sudo_rs.common.context, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→22 sudo_rs.sudoers.entry depends on sudo_rs.sudoers.ast✕
- Type pairs
- 4 distinct (type in sudo_rs.sudoers.entry → type in sudo_rs.sudoers.ast) references.
- Which types
sudo_rs.sudoers.entry.Entry→sudo_rs.sudoers.ast.RunAssudo_rs.sudoers.entry.entry$module→sudo_rs.sudoers.ast.Qualifiedsudo_rs.sudoers.entry.entry$module→sudo_rs.sudoers.ast.RunAssudo_rs.sudoers.entry.entry$module→sudo_rs.sudoers.ast.Tag
- Direction
- sudo_rs.sudoers.entry uses sudo_rs.sudoers.ast. Changing sudo_rs.sudoers.ast can break sudo_rs.sudoers.entry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→35 sudo_rs.sudoers.entry depends on sudo_rs.sudoers✕
- Type pairs
- 1 distinct (type in sudo_rs.sudoers.entry → type in sudo_rs.sudoers) reference.
- Which types
sudo_rs.sudoers.entry.Entry→sudo_rs.sudoers.VecOrd
- Direction
- sudo_rs.sudoers.entry uses sudo_rs.sudoers. Changing sudo_rs.sudoers can break sudo_rs.sudoers.entry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→32 sudo_rs.sudo.env.environment depends on sudo_rs.sudoers.policy✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.env.environment → type in sudo_rs.sudoers.policy) reference.
- Which types
sudo_rs.sudo.env.environment.environment$module→sudo_rs.sudoers.policy.Restrictions
- Direction
- sudo_rs.sudo.env.environment uses sudo_rs.sudoers.policy. Changing sudo_rs.sudoers.policy can break sudo_rs.sudo.env.environment, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→36 sudo_rs.sudo.env.environment depends on sudo_rs.common.context✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.env.environment → type in sudo_rs.common.context) reference.
- Which types
sudo_rs.sudo.env.environment.environment$module→sudo_rs.common.context.Context
- Direction
- sudo_rs.sudo.env.environment uses sudo_rs.common.context. Changing sudo_rs.common.context can break sudo_rs.sudo.env.environment, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→18 sudo_rs.sudo.pipeline depends on sudo_rs.sudo.cli✕
- Type pairs
- 2 distinct (type in sudo_rs.sudo.pipeline → type in sudo_rs.sudo.cli) references.
- Which types
sudo_rs.sudo.pipeline.pipeline$module→sudo_rs.sudo.cli.SudoRunOptionssudo_rs.sudo.pipeline.pipeline$module→sudo_rs.sudo.cli.SudoValidateOptions
- Direction
- sudo_rs.sudo.pipeline uses sudo_rs.sudo.cli. Changing sudo_rs.sudo.cli can break sudo_rs.sudo.pipeline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→26 sudo_rs.sudo.pipeline depends on sudo_rs.common.resolve✕
- Type pairs
- 2 distinct (type in sudo_rs.sudo.pipeline → type in sudo_rs.common.resolve) references.
- Which types
sudo_rs.sudo.pipeline.pipeline$module→sudo_rs.common.resolve.AuthUsersudo_rs.sudo.pipeline.pipeline$module→sudo_rs.common.resolve.CurrentUser
- Direction
- sudo_rs.sudo.pipeline uses sudo_rs.common.resolve. Changing sudo_rs.common.resolve can break sudo_rs.sudo.pipeline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→32 sudo_rs.sudo.pipeline depends on sudo_rs.sudoers.policy✕
- Type pairs
- 2 distinct (type in sudo_rs.sudo.pipeline → type in sudo_rs.sudoers.policy) references.
- Which types
sudo_rs.sudo.pipeline.pipeline$module→sudo_rs.sudoers.policy.Authenticationsudo_rs.sudo.pipeline.pipeline$module→sudo_rs.sudoers.policy.Logging
- Direction
- sudo_rs.sudo.pipeline uses sudo_rs.sudoers.policy. Changing sudo_rs.sudoers.policy can break sudo_rs.sudo.pipeline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→34 sudo_rs.sudo.pipeline depends on sudo_rs.system.timestamp✕
- Type pairs
- 2 distinct (type in sudo_rs.sudo.pipeline → type in sudo_rs.system.timestamp) references.
- Which types
sudo_rs.sudo.pipeline.AuthStatus→sudo_rs.system.timestamp.SessionRecordFilesudo_rs.sudo.pipeline.pipeline$module→sudo_rs.system.timestamp.RecordScope
- Direction
- sudo_rs.sudo.pipeline uses sudo_rs.system.timestamp. Changing sudo_rs.system.timestamp can break sudo_rs.sudo.pipeline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→35 sudo_rs.sudo.pipeline depends on sudo_rs.sudoers✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.pipeline → type in sudo_rs.sudoers) reference.
- Which types
sudo_rs.sudo.pipeline.pipeline$module→sudo_rs.sudoers.Sudoers
- Direction
- sudo_rs.sudo.pipeline uses sudo_rs.sudoers. Changing sudo_rs.sudoers can break sudo_rs.sudo.pipeline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→36 sudo_rs.sudo.pipeline depends on sudo_rs.common.context✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.pipeline → type in sudo_rs.common.context) reference.
- Which types
sudo_rs.sudo.pipeline.pipeline$module→sudo_rs.common.context.Context
- Direction
- sudo_rs.sudo.pipeline uses sudo_rs.common.context. Changing sudo_rs.common.context can break sudo_rs.sudo.pipeline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→18 sudo_rs.sudo.pipeline.list depends on sudo_rs.sudo.cli✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.pipeline.list → type in sudo_rs.sudo.cli) reference.
- Which types
sudo_rs.sudo.pipeline.list.list$module→sudo_rs.sudo.cli.SudoListOptions
- Direction
- sudo_rs.sudo.pipeline.list uses sudo_rs.sudo.cli. Changing sudo_rs.sudo.cli can break sudo_rs.sudo.pipeline.list, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→25 sudo_rs.sudo.pipeline.list depends on sudo_rs.system✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.pipeline.list → type in sudo_rs.system) reference.
- Which types
sudo_rs.sudo.pipeline.list.list$module→sudo_rs.system.User
- Direction
- sudo_rs.sudo.pipeline.list uses sudo_rs.system. Changing sudo_rs.system can break sudo_rs.sudo.pipeline.list, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→35 sudo_rs.sudo.pipeline.list depends on sudo_rs.sudoers✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.pipeline.list → type in sudo_rs.sudoers) reference.
- Which types
sudo_rs.sudo.pipeline.list.list$module→sudo_rs.sudoers.Sudoers
- Direction
- sudo_rs.sudo.pipeline.list uses sudo_rs.sudoers. Changing sudo_rs.sudoers can break sudo_rs.sudo.pipeline.list, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→36 sudo_rs.sudo.pipeline.list depends on sudo_rs.common.context✕
- Type pairs
- 1 distinct (type in sudo_rs.sudo.pipeline.list → type in sudo_rs.common.context) reference.
- Which types
sudo_rs.sudo.pipeline.list.list$module→sudo_rs.common.context.Context
- Direction
- sudo_rs.sudo.pipeline.list uses sudo_rs.common.context. Changing sudo_rs.common.context can break sudo_rs.sudo.pipeline.list, 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 |
|---|---|---|
| A03:2021 — Injection | 3 | High / Critical |
| A02:2021 — Cryptographic Failures | 1 | High / Critical |
| A05:2021 — Security Misconfiguration | 1 | High / Critical |
Roadmap
Begin by documenting significant architectural decisions in a centralized location to establish clear context and consequences. Simultaneously, address immediate security and maintenance risks by resolving the leaked secret in REDACTED and updating the root README with clear testing instructions. Finally, clean up orphaned files to ensure all project knowledge remains current and accessible.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +10.4 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). | +10.9 pts | Medium | Architecture documentation |
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +4.9 pts | Low | Secret Scanning |
| Add a 'Testing' section to the root README — how to run the test suite. | +9.8 pts | Medium | Documentation (README) |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +1.6 pts | Low | Knowledge Freshness |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +1.6 pts | Low | Documentation Quality |
| Resolve the 2 Off-boarding risk finding(s) in Bus Factor. | +1.2 pts | Low | Bus Factor |
| Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). | +0.5 pts | Low | Static Analysis (SAST) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.8 | Slop | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/exec/use_pty/parent.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/su/context.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/exec/use_pty/monitor.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/exec/no_pty.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/exec/mod.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/sudo/edit.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/system/mod.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/su/mod.rs | 6.7 | Mixed | Explicit Debt: FixmeComment |
| src/common/context.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| src/exec/event.rs | 6.9 | Mixed | Explicit Debt: FixmeComment |
| src/sudo/cli/mod.rs | 7.0 | Near-clean | Cyclomatic Complexity: SudoOptions::try_parse_from (cyclomatic 33) |
| src/sudoers/mod.rs | 7.1 | Near-clean | Cyclomatic Complexity: sudo_rs::sudoers::analyze::process (cyclomatic 20) |
| test-framework/sudo-compliance-tests/src/sudo/sudoers/env.rs | 7.1 | Near-clean | Code Duplication: Duplicated block (15 lines × 2) |
| src/su/cli.rs | 7.2 | Near-clean | Cyclomatic Complexity: SuOptions::parse_arguments (cyclomatic 16) |
| REDACTED | 7.2 | Near-clean | IaC & Container Security: High IaC: REDACTED |
| src/system/term/user_term.rs | 7.3 | Near-clean | Explicit Debt: FixmeComment |
| test-framework/sudo-compliance-tests/src/sudo/sudoers/includedir.rs | 7.3 | Near-clean | Explicit Debt: FixmeComment |
| src/sudoers/entry.rs | 7.4 | Near-clean | Cognitive Complexity: sudo_rs::sudoers::entry::write_spec (cognitive 27) |
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. 35 of 40 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 — 40 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, 124 of 138 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 READ here — but this repository measures it: a Codecov configuration (.github/codecov.yml) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.rs), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number 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, 143 test files), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 5 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, which could not be reached on this run, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- 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.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- 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.
- 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 reads C# syntax, and JavaScript/TypeScript source only, and no C# was loaded and no JavaScript/TypeScript was found in 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.
- 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.
- 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.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- 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.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- 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.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- 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
10 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was SudoOptions::try_parse_from at 33. A further 4 function(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being PamErrorType::from_int at 31 — they are counted neither in the figure above nor in this dimension's score. 2 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold functions was excluded, so the exclusion is disclosed nowhere in the file itself: src/pam/error.rs (PamErrorType::from_int at 31), src/system/signal/mod.rs (sudo_rs::system::signal::signal_name at 17). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Resolve the 4 sudo_rs finding(s) in Cyclomatic Complexity — start with parent.rs, mod.rs, rpassword.rs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 SudoOptions finding(s) in Cyclomatic Complexity — start with mod.rs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 SuContext finding(s) in Cyclomatic Complexity — start with context.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
18 function(s) exceeded the cognitive complexity threshold of 15; the worst was SuOptions::parse_arguments at 53.
What to do
- Resolve the 10 sudo_rs finding(s) in Cognitive Complexity — start with mod.rs (4), entry.rs (2), parent.rs. — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 1 SuOptions finding(s) in Cognitive Complexity — start with cli.rs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 VisudoOptions finding(s) in Cognitive Complexity — start with cli.rs. — One of this dimension's main actionable groups (1 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
5 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 3 FileTooLong finding(s) in God Classes — start with mod.rs (2), REDACTED. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 FunctionTooLong finding(s) in God Classes — start with mod.rs, parent.rs. — One of this dimension's main actionable groups (2 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
33 duplicated block group(s) detected. A further 2 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted. 15 of the 35 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 3 Duplicated block (15 lines × 2) finding(s) in Code Duplication — start with entry.rs, no_pty.rs, env.rs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with lib.rs (2), timestamp.rs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with context.rs, timestamp.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)
2 of 69 classes have LCOM4 above 3.
What to do
- Resolve the 2 Low cohesion finding(s) in Cohesion (LCOM4) — start with string.rs, command.rs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
1103 test methods: 1103 unit, 0 integration, 0 BDD, 0 e2e. The Rust suite contributes 1103 `#[test]` function(s) across 143 file(s) declaring at least one; its unit/integration split is Cargo's own — 0 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.
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 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.
D15 · Churn × Complexity Hotspots
Top hotspots: src/sudoers/mod.rs (6×30=180)
What to do
- Resolve the 1 Hotspot finding(s) in Churn × Complexity Hotspots — start with mod.rs. — One of this dimension's main actionable groups (1 warning-level).
D16 · Bus Factor
11 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is src/sudoers/entry.rs. Counted over 146 of the 204 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
45 deducted task-comment markers across 37797 LoC (0.1/KLoC) → score 9.8. 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 34 FixmeComment finding(s) in Explicit Debt — start with parent.rs (8), mod.rs (5), monitor.rs (4). — One of this dimension's main actionable groups (34 warning-level).
- Resolve the 8 TodoComment finding(s) in Explicit Debt — start with context.rs (2), mod.rs (2), error.rs. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 2 HackComment finding(s) in Explicit Debt — start with REDACTED (2). — One of this dimension's main actionable groups (2 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 root README (README.md) is a clear project overview with status, installation, and security information; the test-framework/README.md documents its own directory (compliance tests, E2E testing, gating CI), while the sudo-rs man pages are authoritative architecture references. The internal documentation (undocumented-ogsudo-behavior.md, man/su.1, man/sudo.8) is a complete set of the documented internals and security behavior.
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
1 API inconsistencies across 10 exposed types.
What to do
- Resolve the 1 Two top-level factory methods with nearly identical signatures and… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
1 of 4 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)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
3 finding(s): 0 critical, 3 high, 0 medium, 0 low. semgrep hit a parse error in 7 file(s) — `src/gettext/mod.rs` (lines 167–168, line 178), `src/pam/mod.rs` (line 29), `test-framework/e2e-tests/src/su/signal_handling/kill-su.sh` (line 27), `test-framework/sudo-compliance-tests/src/sudo/child_process/signal_handling/expects-signal.sh` (line 5), `test-framework/sudo-compliance-tests/src/sudo/child_process/signal_handling/kill-sudo.sh` (line 19), … (+2 more) — 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.
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).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D31 · IaC & Container Security
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
What to do
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D34 · Knowledge Freshness
15 of 146 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is test-framework/sudo-compliance-tests/src/su/flag_login.rs. Counted over 146 of the 204 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: no_pty.rs↔parent.rs 77%; no_pty.rs↔monitor.rs 69%
What to do
- Resolve the 2 Change coupling finding(s) in Change Coupling — start with no_pty.rs (2). — One of this dimension's main actionable groups (2 warning-level).
D36 · Supply-chain Provenance & Signing
1/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 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
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.
- Add a README to the 3 of 4 project(s) that lack one — worth up to 1.5 pts.
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
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
P3 · Security & performance tooling
What to do
- Dependabot is configured but does not watch `cargo` — add that `package-ecosystem` entry to .github/dependabot.yml so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P6 · Release Hygiene
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 91% | Exemplary | Solid. |
| Architecture | 95% | Exemplary | Strongest area. |
| Maturity | 59% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 72% | Strong | Solid. |
| Security | 85% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 1 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
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 — 75 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: Rust with no dependency-injection crate has no container to hand one lifetime's instance to another — every value is owned by the code that builds it, and the borrow checker rejects a longer-lived value keeping a borrow of a shorter-lived one.
- AX2 Stateful singletons — Not applicable: Rust's compiler refuses unsynchronised shared mutation — a value shared across threads must be Sync — so the race this check looks for cannot be written.
- 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
- 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 — ~833 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
- D12 Dependency Hygiene — Not scored — 5 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, which could not be reached on this run, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — Not scored — this repository's 2 shipped crate(s) were read from its Cargo.lock, but crates.io could not be asked for the licence of 2 of them (HTTP 429 Unknown Error), and a licence verdict over part of a dependency graph is not a licence verdict. Nothing is asserted about this repository's licensing in either direction.
- 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.
- 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.
- 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 (31 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
- 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 applicable: no benchmark suite was found. This check searched for `#[bench]`, criterion's `bench_function`/`bench_with_input`, `#[divan::bench]` or `#[library_benchmark]` in any `.rs` file, or criterion, divan, iai or a `[[bench]]` target in a Cargo.toml, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: Rust spells out every heap allocation and makes borrowed slices (&[T], &str) its ordinary parameter types, so the allocation-aware style this card rewards elsewhere is the language's baseline rather than a rung to climb.
- 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 — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 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
- 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 is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — 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 — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 5 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 120 finding(s)
- FixmeComment src/common/mod.rs:30
- FixmeComment src/exec/no_pty.rs:34
- FixmeComment src/exec/no_pty.rs:48
- FixmeComment src/exec/use_pty/monitor.rs:89
- FixmeComment src/exec/no_pty.rs:248
- FixmeComment src/exec/mod.rs:99
- FixmeComment src/exec/event.rs:112
- FixmeComment src/exec/event.rs:191
- FixmeComment src/exec/event.rs:232
- FixmeComment src/exec/use_pty/parent.rs:69
- FixmeComment src/exec/use_pty/parent.rs:71
- FixmeComment src/exec/use_pty/parent.rs:114
- FixmeComment src/exec/use_pty/parent.rs:124
- FixmeComment src/exec/use_pty/parent.rs:125
- FixmeComment src/exec/use_pty/parent.rs:293
- FixmeComment src/exec/use_pty/parent.rs:675
- FixmeComment src/exec/use_pty/parent.rs:735
- FixmeComment src/exec/use_pty/monitor.rs:99
- FixmeComment src/exec/use_pty/monitor.rs:151
- FixmeComment src/exec/use_pty/monitor.rs:206
- FixmeComment src/su/mod.rs:24
- FixmeComment src/sudo/edit.rs:149
- FixmeComment src/sudo/edit.rs:202
- FixmeComment src/sudo/edit.rs:293
- FixmeComment src/system/mod.rs:80
- sudo_rs::exec::use_pty::parent::exec_pty (cognitive 53) src/exec/use_pty/parent.rs:32
- sudo_rs::sudoers::analyze::process (cognitive 34) src/sudoers/mod.rs:860
- sudo_rs::pam::rpassword::read_unbuffered (cognitive 32) src/pam/rpassword.rs:188
- sudo_rs::exec::use_pty::monitor::exec_monitor (cognitive 30) src/exec/use_pty/monitor.rs:37
- sudo_rs::sudoers::entry::write_spec (cognitive 27) src/sudoers/entry.rs:232
- sudo_rs::visudo::edit_sudoers_file (cognitive 22) src/visudo/mod.rs:241
- sudo_rs::exec::run_command (cognitive 18) src/exec/mod.rs:82
- sudo_rs::sudoers::select_editor (cognitive 18) src/sudoers/mod.rs:313
- sudo_rs::sudoers::entry::write_users (cognitive 16) src/sudoers/entry.rs:102
- sudo_rs::sudo::edit::edit_files (cognitive 16) src/sudo/edit.rs:35
- TodoComment src/common/context.rs:151
- TodoComment src/exec/mod.rs:105
- TodoComment src/pam/error.rs:12
- TodoComment src/su/context.rs:22
- TodoComment src/sudo/env/environment.rs:13
- TodoComment REDACTED:276
- TodoComment src/system/mod.rs:1
- TodoComment test-framework/sudo-compliance-tests/src/visudo.rs:160
- sudo_rs::exec::use_pty::parent::exec_pty (cyclomatic 31) src/exec/use_pty/parent.rs:32
- sudo_rs::sudoers::analyze::process (cyclomatic 20) src/sudoers/mod.rs:860
- sudo_rs::pam::rpassword::read_unbuffered (cyclomatic 19) src/pam/rpassword.rs:188
- sudo_rs::exec::use_pty::monitor::exec_monitor (cyclomatic 19) src/exec/use_pty/monitor.rs:37
- FileTooLong: sudoers/mod.rs src/sudoers/mod.rs
- FileTooLong: cli/mod.rs src/sudo/cli/mod.rs
- FileTooLong: REDACTED REDACTED
- Duplicated block (15 lines × 2) src/sudoers/entry.rs:112
- Duplicated block (15 lines × 2) src/exec/no_pty.rs:143
- Duplicated block (15 lines × 2) test-framework/sudo-compliance-tests/src/sudo/sudoers/env.rs:615
- Duplicated block (5 lines × 2) src/system/timestamp.rs:100
- Duplicated block (5 lines × 2) test-framework/sudo-test/src/lib.rs:853
- Duplicated block (5 lines × 2) test-framework/sudo-test/src/lib.rs:859
- HackComment REDACTED:708
- HackComment REDACTED:711
- FunctionTooLong: sudo_rs::sudoers::analyze src/sudoers/mod.rs:723
- FunctionTooLong: sudo_rs::exec::use_pty::parent::exec_pty src/exec/use_pty/parent.rs:32
- Change coupling: no_pty.rs ↔ parent.rs src/exec/no_pty.rs
- Change coupling: no_pty.rs ↔ monitor.rs src/exec/no_pty.rs
- Duplicated block (11 lines × 2) src/common/context.rs:192
- Duplicated block (11 lines × 2) src/system/timestamp.rs:353
- Duplicated block (9 lines × 2) src/exec/no_pty.rs:240
- Duplicated block (9 lines × 2) src/su/cli.rs:407
- Low cohesion: SudoString (LCOM4 4) src/common/string.rs:16
- Low cohesion: Command (LCOM4 4) test-framework/sudo-test/src/docker/command.rs:8
- SudoOptions::try_parse_from (cyclomatic 33) src/sudo/cli/mod.rs:640
- SuContext::from_env (cyclomatic 27) src/su/context.rs:51
- Error::fmt (cyclomatic 23) src/common/error.rs:40
- ParentClosure::suspend_pty (cyclomatic 17) src/exec/use_pty/parent.rs:562
- SudoArg::normalize_arguments (cyclomatic 17) src/sudo/cli/mod.rs:524
- SuOptions::parse_arguments (cyclomatic 16) src/su/cli.rs:368
- Hotspot: src/sudoers/mod.rs src/sudoers/mod.rs:723
- XxxComment test-framework/sudo-compliance-tests/src/sudo/timestamp.rs:65
- SuOptions::parse_arguments (cognitive 53) src/su/cli.rs:368
- VisudoOptions::parse_arguments (cognitive 51) src/visudo/cli.rs:123
- SudoArg::normalize_arguments (cognitive 43) src/sudo/cli/mod.rs:524
- SuContext::from_env (cognitive 37) src/su/context.rs:51
- ExecClosure::suspend_parent (cognitive 35) src/exec/no_pty.rs:160
- ParentClosure::suspend_pty (cognitive 27) src/exec/use_pty/parent.rs:562
- SudoOptions::try_parse_from (cognitive 22) src/sudo/cli/mod.rs:640
- Sudo::parse (cognitive 19) REDACTED:518
- Two top-level factory methods with nearly identical signatures and return types, differing only by a suffix ('NoImplicit'). The semantic distinction is not obvious from the signature alone and requires external documentation to understand.
- Near-duplicate member family (4 members, 14 shared lines) src/system/mod.rs:419
- Members sharing a duplicated core (4 members, 50+ identical tokens) src/sudo/cli/mod.rs:137
- Duplicated block (21 lines × 2) src/system/mod.rs:436
- Duplicated block (17 lines × 2) src/exec/noexec.rs:198
- Duplicated block (16 lines × 2) src/exec/use_pty/monitor.rs:47
- Duplicated block (14–16 lines × 2) src/system/mod.rs:589
- Duplicated block (11–12 lines × 2) src/su/mod.rs:53
- Duplicated block (11 lines × 3) src/sudo/cli/mod.rs:147
- Duplicated block (8–10 lines × 2) src/su/cli.rs:395
- Duplicated block (9 lines × 4) src/system/mod.rs:435
- Duplicated block (7 lines × 4) src/sudo/cli/mod.rs:147
- Duplicated block (6 lines × 2) src/sudo/cli/mod.rs:139
- Duplicated block (5 lines × 4) src/system/mod.rs:422
- Duplicated block (14–16 lines × 3) test-framework/e2e-tests/src/pty.rs:51
- Duplicated block (14 lines × 2) test-framework/e2e-tests/src/su/flag_pty.rs:47
- Duplicated block (12 lines × 5) test-framework/sudo-compliance-tests/src/sudo/sudoers/env.rs:137
- Duplicated block (12 lines × 2) test-framework/sudo-compliance-tests/src/sudo/sudoers/env.rs:134
- Duplicated block (10–11 lines × 7) test-framework/sudo-compliance-tests/src/sudo/sudoers/env.rs:158
- Duplicated block (10 lines × 3) test-framework/sudo-compliance-tests/src/sudo/child_process/signal_handling/mod.rs:65
- Duplicated block (7–8 lines × 6) test-framework/sudo-compliance-tests/src/sudo/pam/env.rs:190
- Duplicated block (8 lines × 2) test-framework/sudo-compliance-tests/src/sudo/sudoers/env.rs:346
- Duplicated block (9 lines × 10) test-framework/sudo-compliance-tests/src/sudo/sudo_ps1.rs:55
- Duplicated block (7 lines × 14) test-framework/sudo-compliance-tests/src/sudo/pam/env.rs:189
- Duplicated block (7 lines × 2) test-framework/e2e-tests/src/su/flag_pty.rs:36
- Duplicated block (6 lines × 4) test-framework/sudo-compliance-tests/src/sudo/sudo_ps1.rs:60
- Coverage collected but not gated
Minor — 13 finding(s)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Documentation: no licence statement README.md
- No ADRs found
- Projects may be oversized for their cohesion
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No architecture diagram/doc
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-d1e8352cf1f9443c86465dd7634ba3c4/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-d1e8352cf1f9443c86465dd7634ba3c4/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 . | 3 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 1 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |