Executive summary
Preview (pre-1.0). This repo hasn't declared a stable release, so it's judged against a relaxed, pre-production bar.
The system holds a strong overall standing of 71%, indicating a well-engineered asset that is generally healthy and reliable. However, this confidence masks a critical vulnerability in security posture that requires immediate executive attention. While the code is maintainable and the architecture is sound, the current security gaps expose the business to unnecessary risk that could impact delivery speed and operational reliability.
The value at stake is moderate, with a rebuild effort estimated at roughly half a person-year, costing approximately €67,000. This represents a manageable investment for the business, but it also means that the cost of inaction is significant relative to the asset's size. The codebase is composed entirely of complex logic with no boilerplate, suggesting high engineering quality but also requiring skilled maintenance. The absence of measured domain modeling or event-driven metrics means our view of the system’s long-term adaptability is partial, though current performance is excellent.
The primary risk lies in security exposure, which scored lowest at 65%. This weakness is not merely technical; it represents a potential compliance failure or data breach vector that could halt operations or incur regulatory fines. The second theme is operational visibility. While the system is stable, the lack of comprehensive tracing and health checks means that diagnosing issues in production will be slower and more costly, directly impacting customer experience and internal engineering velocity.
What is genuinely good is the code’s maintainability and architectural integrity. The high scores in code health and architecture indicate that the system is easy to modify and unlikely to suffer from ripple-effect bugs. Performance is perfect, ensuring that user-facing operations are fast and responsive. These strengths provide a solid foundation for future growth.
Where to focus first is resolving the ten security findings related to mutable container images in the CI pipeline. This action offers the highest leverage, addressing the most critical risk with minimal effort. By securing the build process, the business protects its asset from immediate threats while maintaining the momentum of a healthy, high-performing system.
Raise Security 65 → 70 (the Healthy floor) ⇒ headline 71 → ~73.
New since the last scan (9+)
- D2 · sccache::util::strip_basedirs_from_arg (cognitive 18) src/util.rs
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) src/compiler/cicc.rs
- D11 · Flaky test: sccache::system.test_stats_no_server
- D22 · Ambiguous and overlapping read operations. `get` and `get_with_raw` appear to serve similar purposes (retrieving data), but the distinction between 'raw' and non-raw is unclear. Furthermore, `get_raw` exists separately, creating a triad of read methods with unclear semantic boundaries. It is unclear if `get` returns deserialized objects while `get_raw` returns bytes, or if `get_with_raw` is an alias for one of them.
- D22 · Inconsistent naming for write operations. `put` takes a structured `CacheWrite` object, while `put_raw` takes raw bytes. While the distinction is logical, the naming convention `put` vs `put_raw` is less standard than `put` vs `put_bytes` or `store` vs `store_raw`. More importantly, `get` vs `get_raw` inconsistency (see above) suggests a broader pattern of confusing 'raw' terminology.
- D22 · Duplicate intent in `TcCache`. `get` and `get_file` have nearly identical signatures and likely return the same type (`LruResult`). It is unclear why there are two methods for retrieving a toolchain, unless one returns a file handle and the other returns a path or bytes, but the return type `LruResult` is opaque and suggests identical behavior.
- D22 · Overlapping retrieval methods in `LruDiskCache`. `get`, `get_file`, and `get_abs_path` all retrieve data associated with a key. The distinction between `get` and `get_file` is unclear (does `get` return bytes? does `get_file` return a file handle?). `get_abs_path` is distinct but suggests that `get` might not be the primary way to access the underlying storage.
- D22 · Severe type inconsistency in configuration structs. Many properties that should be `String`, `PathBuf`, or `bool` are typed as `Instant`. `Instant` represents a specific point in time, which is semantically incorrect for connection strings, endpoints, usernames, passwords, or boolean flags. This suggests a serialization/deserialization bug or a copy-paste error in the type definitions.
- D30 · REDACTED
Rebuild cost & value ~ Modeled — €22,000–€110,000
| Cost to rebuild | €22,000–€110,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 1.0× (at 71% 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.5 person-years of build effort (about ~€67,000 to rebuild). Its weakest lens is Security at 65% — 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 config | 2 dist.path_transform | 3 net | 4 compiler.preprocessor_cache | 5 cache.cache_io | 6 compiler.args | 7 cache.cache | 8 lru_disk_cache.lru_cache | 9 protocol | 10 cache.disk | 11 cache.multilevel | 12 cache.readonly | 13 client | 14 lru_disk_cache | 15 cache.ipc_storage | 16 dist.cache | 17 dist | 18 dist.cache.client | 19 dist.http.client | 20 dist.http.server | 21 server | 22 compiler.compiler | 23 bin.sccache-dist.build_freebsd | 24 compiler.c | 25 bin.sccache-dist.cmdline | 26 compiler.cicc | 27 compiler.clang | 28 compiler.cudafe | 29 compiler.diab | 30 compiler.gcc | 31 compiler.msvc | 32 compiler.nvcc | 33 compiler.nvhpc | 34 compiler.ptxas | 35 compiler.rust | 36 compiler.tasking_vx | 37 bin.sccache-dist.main | 38 commands | 39 jobserver | 40 mock_command |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 config | ||||||||||||||||||||||||||||||||||||||||
| 2 dist.path_transform | ||||||||||||||||||||||||||||||||||||||||
| 3 net | ||||||||||||||||||||||||||||||||||||||||
| 4 compiler.preprocessor_cache | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 5 cache.cache_io | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 6 compiler.args | 2 | |||||||||||||||||||||||||||||||||||||||
| 7 cache.cache | 3 | 1 | 3 | 1 | ||||||||||||||||||||||||||||||||||||
| 8 lru_disk_cache.lru_cache | 2 | |||||||||||||||||||||||||||||||||||||||
| 9 protocol | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 10 cache.disk | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 11 cache.multilevel | 3 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 12 cache.readonly | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 13 client | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 lru_disk_cache | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 15 cache.ipc_storage | 1 | 1 | 1 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||
| 16 dist.cache | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 dist | 1 | 1 | 5 | |||||||||||||||||||||||||||||||||||||
| 18 dist.cache.client | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 dist.http.client | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 20 dist.http.server | 3 | 1 | 2 | 11 | 2 | |||||||||||||||||||||||||||||||||||
| 21 server | 5 | 2 | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||
| 22 compiler.compiler | 3 | 6 | ||||||||||||||||||||||||||||||||||||||
| 23 bin.sccache-dist.build_freebsd | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 24 compiler.c | 1 | 3 | 12 | |||||||||||||||||||||||||||||||||||||
| 25 bin.sccache-dist.cmdline | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 compiler.cicc | 2 | 3 | 4 | |||||||||||||||||||||||||||||||||||||
| 27 compiler.clang | 1 | 2 | 3 | |||||||||||||||||||||||||||||||||||||
| 28 compiler.cudafe | 2 | 1 | 4 | |||||||||||||||||||||||||||||||||||||
| 29 compiler.diab | 2 | 2 | 4 | |||||||||||||||||||||||||||||||||||||
| 30 compiler.gcc | 2 | 3 | 6 | |||||||||||||||||||||||||||||||||||||
| 31 compiler.msvc | 2 | 2 | 4 | |||||||||||||||||||||||||||||||||||||
| 32 compiler.nvcc | 1 | 1 | 1 | 2 | 3 | 4 | ||||||||||||||||||||||||||||||||||
| 33 compiler.nvhpc | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 34 compiler.ptxas | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 35 compiler.rust | 4 | 16 | 2 | 12 | 1 | |||||||||||||||||||||||||||||||||||
| 36 compiler.tasking_vx | 2 | 2 | 4 | |||||||||||||||||||||||||||||||||||||
| 37 bin.sccache-dist.main | 1 | 16 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 38 commands | 1 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 39 jobserver | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 mock_command | 1 | 5 | 1 | 1 |
4→1 compiler.preprocessor_cache depends on config✕
- Type pairs
- 2 distinct (type in compiler.preprocessor_cache → type in config) references.
- Which types
sccache.compiler.preprocessor_cache.PreprocessorCacheEntry→sccache.config.PreprocessorCacheModeConfigsccache.compiler.preprocessor_cache.preprocessor_cache$module→sccache.config.PreprocessorCacheModeConfig
- Direction
- compiler.preprocessor_cache uses config. Changing config can break compiler.preprocessor_cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
4→22 compiler.preprocessor_cache depends on compiler.compiler cycle✕
- Type pairs
- 1 distinct (type in compiler.preprocessor_cache → type in compiler.compiler) reference.
- Which types
sccache.compiler.preprocessor_cache.preprocessor_cache$module→sccache.compiler.compiler.Language
- Direction
- compiler.preprocessor_cache uses compiler.compiler. Changing compiler.compiler can break compiler.preprocessor_cache, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
5→1 cache.cache_io depends on config✕
- Type pairs
- 1 distinct (type in cache.cache_io → type in config) reference.
- Which types
sccache.cache.cache_io.CacheMode→sccache.config.CacheModeConfig
- Direction
- cache.cache_io uses config. Changing config can break cache.cache_io, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
5→4 cache.cache_io depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in cache.cache_io → type in compiler.preprocessor_cache) reference.
- Which types
sccache.cache.cache_io.DecompressionFailure→sccache.compiler.preprocessor_cache.Error
- Direction
- cache.cache_io uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break cache.cache_io, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
6→4 compiler.args depends on compiler.preprocessor_cache✕
- Type pairs
- 2 distinct (type in compiler.args → type in compiler.preprocessor_cache) references.
- Which types
sccache.compiler.args.ArgParseError→sccache.compiler.preprocessor_cache.Errorsccache.compiler.args.ArgToStringError→sccache.compiler.preprocessor_cache.Error
- Direction
- compiler.args uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break compiler.args, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→1 cache.cache depends on config✕
- Type pairs
- 3 distinct (type in cache.cache → type in config) references.
- Which types
sccache.cache.cache.Storage→sccache.config.PreprocessorCacheModeConfigsccache.cache.cache.cache$module→sccache.config.CacheTypesccache.cache.cache.cache$module→sccache.config.Config
- Direction
- cache.cache uses config. Changing config can break cache.cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→4 cache.cache depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in cache.cache → type in compiler.preprocessor_cache) reference.
- Which types
sccache.cache.cache.Storage→sccache.compiler.preprocessor_cache.PreprocessorCacheEntry
- Direction
- cache.cache uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break cache.cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→5 cache.cache depends on cache.cache_io✕
- Type pairs
- 3 distinct (type in cache.cache → type in cache.cache_io) references.
- Which types
sccache.cache.cache.RemoteStorage→sccache.cache.cache_io.CacheModesccache.cache.cache.RemoteStorage→sccache.cache.cache_io.CacheWritesccache.cache.cache.Storage→sccache.cache.cache_io.CacheWrite
- Direction
- cache.cache uses cache.cache_io. Changing cache.cache_io can break cache.cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→11 cache.cache depends on cache.multilevel cycle✕
- Type pairs
- 1 distinct (type in cache.cache → type in cache.multilevel) reference.
- Which types
sccache.cache.cache.Storage→sccache.cache.multilevel.MultiLevelStats
- Direction
- cache.cache uses cache.multilevel. Changing cache.multilevel can break cache.cache, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
8→6 lru_disk_cache.lru_cache depends on compiler.args✕
- Type pairs
- 2 distinct (type in lru_disk_cache.lru_cache → type in compiler.args) references.
- Which types
sccache.lru_disk_cache.lru_cache.Iter→sccache.compiler.args.Itersccache.lru_disk_cache.lru_cache.LruCache→sccache.compiler.args.Iter
- Direction
- lru_disk_cache.lru_cache uses compiler.args. Changing compiler.args can break lru_disk_cache.lru_cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→1 protocol depends on config✕
- Type pairs
- 1 distinct (type in protocol → type in config) reference.
- Which types
sccache.protocol.StorageHandshakeInfo→sccache.config.PreprocessorCacheModeConfig
- Direction
- protocol uses config. Changing config can break protocol, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→5 protocol depends on cache.cache_io✕
- Type pairs
- 1 distinct (type in protocol → type in cache.cache_io) reference.
- Which types
sccache.protocol.StorageHandshakeInfo→sccache.cache.cache_io.CacheMode
- Direction
- protocol uses cache.cache_io. Changing cache.cache_io can break protocol, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→22 protocol depends on compiler.compiler cycle✕
- Type pairs
- 1 distinct (type in protocol → type in compiler.compiler) reference.
- Which types
sccache.protocol.CompileFinished→sccache.compiler.compiler.ColorMode
- Direction
- protocol uses compiler.compiler. Changing compiler.compiler can break protocol, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
10→1 cache.disk depends on config✕
- Type pairs
- 1 distinct (type in cache.disk → type in config) reference.
- Which types
sccache.cache.disk.DiskCache→sccache.config.PreprocessorCacheModeConfig
- Direction
- cache.disk uses config. Changing config can break cache.disk, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→4 cache.disk depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in cache.disk → type in compiler.preprocessor_cache) reference.
- Which types
sccache.cache.disk.DiskCache→sccache.compiler.preprocessor_cache.PreprocessorCacheEntry
- Direction
- cache.disk uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break cache.disk, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→5 cache.disk depends on cache.cache_io✕
- Type pairs
- 2 distinct (type in cache.disk → type in cache.cache_io) references.
- Which types
sccache.cache.disk.DiskCache→sccache.cache.cache_io.CacheModesccache.cache.disk.DiskCache→sccache.cache.cache_io.CacheWrite
- Direction
- cache.disk uses cache.cache_io. Changing cache.cache_io can break cache.disk, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→7 cache.disk depends on cache.cache✕
- Type pairs
- 2 distinct (type in cache.disk → type in cache.cache) references.
- Which types
sccache.cache.disk.DiskCache→sccache.cache.cache.GetPathResultsccache.cache.disk.DiskCache→sccache.cache.cache.Storage
- Direction
- cache.disk uses cache.cache. Changing cache.cache can break cache.disk, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→1 cache.multilevel depends on config✕
- Type pairs
- 3 distinct (type in cache.multilevel → type in config) references.
- Which types
sccache.cache.multilevel.MultiLevelStorage→sccache.config.Configsccache.cache.multilevel.MultiLevelStorage→sccache.config.PreprocessorCacheModeConfigsccache.cache.multilevel.MultiLevelStorage→sccache.config.WriteErrorPolicy
- Direction
- cache.multilevel uses config. Changing config can break cache.multilevel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→4 cache.multilevel depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in cache.multilevel → type in compiler.preprocessor_cache) reference.
- Which types
sccache.cache.multilevel.MultiLevelStorage→sccache.compiler.preprocessor_cache.PreprocessorCacheEntry
- Direction
- cache.multilevel uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break cache.multilevel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→5 cache.multilevel depends on cache.cache_io✕
- Type pairs
- 1 distinct (type in cache.multilevel → type in cache.cache_io) reference.
- Which types
sccache.cache.multilevel.MultiLevelStorage→sccache.cache.cache_io.CacheWrite
- Direction
- cache.multilevel uses cache.cache_io. Changing cache.cache_io can break cache.multilevel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→7 cache.multilevel depends on cache.cache✕
- Type pairs
- 1 distinct (type in cache.multilevel → type in cache.cache) reference.
- Which types
sccache.cache.multilevel.MultiLevelStorage→sccache.cache.cache.Storage
- Direction
- cache.multilevel uses cache.cache. Changing cache.cache can break cache.multilevel, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→1 cache.readonly depends on config✕
- Type pairs
- 1 distinct (type in cache.readonly → type in config) reference.
- Which types
sccache.cache.readonly.ReadOnlyStorage→sccache.config.PreprocessorCacheModeConfig
- Direction
- cache.readonly uses config. Changing config can break cache.readonly, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→4 cache.readonly depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in cache.readonly → type in compiler.preprocessor_cache) reference.
- Which types
sccache.cache.readonly.ReadOnlyStorage→sccache.compiler.preprocessor_cache.PreprocessorCacheEntry
- Direction
- cache.readonly uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break cache.readonly, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→5 cache.readonly depends on cache.cache_io✕
- Type pairs
- 1 distinct (type in cache.readonly → type in cache.cache_io) reference.
- Which types
sccache.cache.readonly.ReadOnlyStorage→sccache.cache.cache_io.CacheWrite
- Direction
- cache.readonly uses cache.cache_io. Changing cache.cache_io can break cache.readonly, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→7 cache.readonly depends on cache.cache✕
- Type pairs
- 1 distinct (type in cache.readonly → type in cache.cache) reference.
- Which types
sccache.cache.readonly.ReadOnlyStorage→sccache.cache.cache.Storage
- Direction
- cache.readonly uses cache.cache. Changing cache.cache can break cache.readonly, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→3 client depends on net✕
- Type pairs
- 1 distinct (type in client → type in net) reference.
- Which types
sccache.client.client$module→sccache.net.SocketAddr
- Direction
- client uses net. Changing net can break client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→9 client depends on protocol✕
- Type pairs
- 1 distinct (type in client → type in protocol) reference.
- Which types
sccache.client.ServerConnection→sccache.protocol.Request
- Direction
- client uses protocol. Changing protocol can break client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→4 lru_disk_cache depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in lru_disk_cache → type in compiler.preprocessor_cache) reference.
- Which types
sccache.lru_disk_cache.Error→sccache.compiler.preprocessor_cache.Error
- Direction
- lru_disk_cache uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break lru_disk_cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→8 lru_disk_cache depends on lru_disk_cache.lru_cache✕
- Type pairs
- 2 distinct (type in lru_disk_cache → type in lru_disk_cache.lru_cache) references.
- Which types
sccache.lru_disk_cache.FileSize→sccache.lru_disk_cache.lru_cache.Metersccache.lru_disk_cache.LruDiskCache→sccache.lru_disk_cache.lru_cache.LruCache
- Direction
- lru_disk_cache uses lru_disk_cache.lru_cache. Changing lru_disk_cache.lru_cache can break lru_disk_cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→1 cache.ipc_storage depends on config✕
- Type pairs
- 1 distinct (type in cache.ipc_storage → type in config) reference.
- Which types
sccache.cache.ipc_storage.IpcStorage→sccache.config.PreprocessorCacheModeConfig
- Direction
- cache.ipc_storage uses config. Changing config can break cache.ipc_storage, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→4 cache.ipc_storage depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in cache.ipc_storage → type in compiler.preprocessor_cache) reference.
- Which types
sccache.cache.ipc_storage.IpcStorage→sccache.compiler.preprocessor_cache.PreprocessorCacheEntry
- Direction
- cache.ipc_storage uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break cache.ipc_storage, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→5 cache.ipc_storage depends on cache.cache_io✕
- Type pairs
- 1 distinct (type in cache.ipc_storage → type in cache.cache_io) reference.
- Which types
sccache.cache.ipc_storage.IpcStorage→sccache.cache.cache_io.CacheWrite
- Direction
- cache.ipc_storage uses cache.cache_io. Changing cache.cache_io can break cache.ipc_storage, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→7 cache.ipc_storage depends on cache.cache✕
- Type pairs
- 2 distinct (type in cache.ipc_storage → type in cache.cache) references.
- Which types
sccache.cache.ipc_storage.IpcStorage→sccache.cache.cache.GetPathResultsccache.cache.ipc_storage.IpcStorage→sccache.cache.cache.Storage
- Direction
- cache.ipc_storage uses cache.cache. Changing cache.cache can break cache.ipc_storage, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→9 cache.ipc_storage depends on protocol✕
- Type pairs
- 2 distinct (type in cache.ipc_storage → type in protocol) references.
- Which types
sccache.cache.ipc_storage.IpcStorage→sccache.protocol.Requestsccache.cache.ipc_storage.IpcStorage→sccache.protocol.StorageHandshakeInfo
- Direction
- cache.ipc_storage uses protocol. Changing protocol can break cache.ipc_storage, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→13 cache.ipc_storage depends on client✕
- Type pairs
- 1 distinct (type in cache.ipc_storage → type in client) reference.
- Which types
sccache.cache.ipc_storage.IpcStorage→sccache.client.ServerConnection
- Direction
- cache.ipc_storage uses client. Changing client can break cache.ipc_storage, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→14 dist.cache depends on lru_disk_cache✕
- Type pairs
- 1 distinct (type in dist.cache → type in lru_disk_cache) reference.
- Which types
sccache.dist.cache.TcCache→sccache.lru_disk_cache.LruDiskCache
- Direction
- dist.cache uses lru_disk_cache. Changing lru_disk_cache can break dist.cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→17 dist.cache depends on dist cycle✕
- Type pairs
- 1 distinct (type in dist.cache → type in dist) reference.
- Which types
sccache.dist.cache.TcCache→sccache.dist.Toolchain
- Direction
- dist.cache uses dist. Changing dist can break dist.cache, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
17→3 dist depends on net✕
- Type pairs
- 1 distinct (type in dist → type in net) reference.
- Which types
sccache.dist.ServerId→sccache.net.SocketAddr
- Direction
- dist uses net. Changing net can break dist, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→16 dist depends on dist.cache✕
- Type pairs
- 1 distinct (type in dist → type in dist.cache) reference.
- Which types
sccache.dist.BuilderIncoming→sccache.dist.cache.TcCache
- Direction
- dist uses dist.cache. Changing dist.cache can break dist, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→22 dist depends on compiler.compiler cycle✕
- Type pairs
- 5 distinct (type in dist → type in compiler.compiler) references.
- Which types
sccache.dist.BuilderIncoming→sccache.compiler.compiler.CompileCommandsccache.dist.Client→sccache.compiler.compiler.CompileCommandsccache.dist.ServerIncoming→sccache.compiler.compiler.CompileCommandsccache.dist.dist$module→sccache.compiler.compiler.CompileCommandsccache.dist.dist$module→sccache.compiler.compiler.SingleCompileCommand
- Direction
- dist uses compiler.compiler. Changing compiler.compiler can break dist, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
18→16 dist.cache.client depends on dist.cache✕
- Type pairs
- 1 distinct (type in dist.cache.client → type in dist.cache) reference.
- Which types
sccache.dist.cache.client.ClientToolchains→sccache.dist.cache.TcCache
- Direction
- dist.cache.client uses dist.cache. Changing dist.cache can break dist.cache.client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→17 dist.cache.client depends on dist✕
- Type pairs
- 1 distinct (type in dist.cache.client → type in dist) reference.
- Which types
sccache.dist.cache.client.ClientToolchains→sccache.dist.Toolchain
- Direction
- dist.cache.client uses dist. Changing dist can break dist.cache.client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→17 dist.http.client depends on dist✕
- Type pairs
- 2 distinct (type in dist.http.client → type in dist) references.
- Which types
sccache.dist.http.client.Client→sccache.dist.JobAllocsccache.dist.http.client.Client→sccache.dist.Toolchain
- Direction
- dist.http.client uses dist. Changing dist can break dist.http.client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→18 dist.http.client depends on dist.cache.client✕
- Type pairs
- 1 distinct (type in dist.http.client → type in dist.cache.client) reference.
- Which types
sccache.dist.http.client.Client→sccache.dist.cache.client.ClientToolchains
- Direction
- dist.http.client uses dist.cache.client. Changing dist.cache.client can break dist.http.client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→22 dist.http.client depends on compiler.compiler cycle✕
- Type pairs
- 1 distinct (type in dist.http.client → type in compiler.compiler) reference.
- Which types
sccache.dist.http.client.Client→sccache.compiler.compiler.CompileCommand
- Direction
- dist.http.client uses compiler.compiler. Changing compiler.compiler can break dist.http.client, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
20→3 dist.http.server depends on net✕
- Type pairs
- 3 distinct (type in dist.http.server → type in net) references.
- Which types
sccache.dist.http.server.Scheduler→sccache.net.SocketAddrsccache.dist.http.server.Server→sccache.net.SocketAddrsccache.dist.http.server.server$module→sccache.net.SocketAddr
- Direction
- dist.http.server uses net. Changing net can break dist.http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→4 dist.http.server depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in dist.http.server → type in compiler.preprocessor_cache) reference.
- Which types
sccache.dist.http.server.RouilleBincodeError→sccache.compiler.preprocessor_cache.Error
- Direction
- dist.http.server uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break dist.http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→9 dist.http.server depends on protocol✕
- Type pairs
- 2 distinct (type in dist.http.server → type in protocol) references.
- Which types
sccache.dist.http.server.server$module→sccache.protocol.Requestsccache.dist.http.server.server$module→sccache.protocol.Response
- Direction
- dist.http.server uses protocol. Changing protocol can break dist.http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→17 dist.http.server depends on dist✕
- Type pairs
- 11 distinct (type in dist.http.server → type in dist) references.
- Which types
sccache.dist.http.server.JWTJobAuthorizer→sccache.dist.JobAuthorizersccache.dist.http.server.JWTJobAuthorizer→sccache.dist.JobIdsccache.dist.http.server.JobJwt→sccache.dist.JobIdsccache.dist.http.server.SchedulerRequester→sccache.dist.JobIdsccache.dist.http.server.SchedulerRequester→sccache.dist.SchedulerOutgoingsccache.dist.http.server.SchedulerRequester→sccache.dist.ServerIdsccache.dist.http.server.SchedulerRequester→sccache.dist.Toolchainsccache.dist.http.server.Server→sccache.dist.ServerNoncesccache.dist.http.server.ServerRequester→sccache.dist.JobIdsccache.dist.http.server.ServerRequester→sccache.dist.JobStatesccache.dist.http.server.ServerRequester→sccache.dist.ServerOutgoing
- Direction
- dist.http.server uses dist. Changing dist can break dist.http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→19 dist.http.server depends on dist.http.client✕
- Type pairs
- 2 distinct (type in dist.http.server → type in dist.http.client) references.
- Which types
sccache.dist.http.server.SchedulerRequester→sccache.dist.http.client.Clientsccache.dist.http.server.ServerRequester→sccache.dist.http.client.Client
- Direction
- dist.http.server uses dist.http.client. Changing dist.http.client can break dist.http.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→1 server depends on config✕
- Type pairs
- 5 distinct (type in server → type in config) references.
- Which types
sccache.server.DistClientConfig→sccache.config.DistAuthsccache.server.DistClientConfig→sccache.config.DistToolchainConfigsccache.server.DistClientConfig→sccache.config.HTTPUrlsccache.server.DistClientContainer→sccache.config.Configsccache.server.server$module→sccache.config.Config
- Direction
- server uses config. Changing config can break server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→3 server depends on net✕
- Type pairs
- 2 distinct (type in server → type in net) references.
- Which types
sccache.server.SccacheServer→sccache.net.SocketAddrsccache.server.server$module→sccache.net.SocketAddr
- Direction
- server uses net. Changing net can break server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→9 server depends on protocol✕
- Type pairs
- 1 distinct (type in server → type in protocol) reference.
- Which types
sccache.server.SccacheService→sccache.protocol.Compile
- Direction
- server uses protocol. Changing protocol can break server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→11 server depends on cache.multilevel✕
- Type pairs
- 1 distinct (type in server → type in cache.multilevel) reference.
- Which types
sccache.server.ServerStats→sccache.cache.multilevel.MultiLevelStats
- Direction
- server uses cache.multilevel. Changing cache.multilevel can break server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→19 server depends on dist.http.client✕
- Type pairs
- 2 distinct (type in server → type in dist.http.client) references.
- Which types
sccache.server.SccacheServer→sccache.dist.http.client.Clientsccache.server.SccacheService→sccache.dist.http.client.Client
- Direction
- server uses dist.http.client. Changing dist.http.client can break server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→22 server depends on compiler.compiler cycle✕
- Type pairs
- 2 distinct (type in server → type in compiler.compiler) references.
- Which types
sccache.server.PerLanguageCount→sccache.compiler.compiler.CompilerKindsccache.server.PerLanguageCount→sccache.compiler.compiler.Language
- Direction
- server uses compiler.compiler. Changing compiler.compiler can break server, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
22→2 compiler.compiler depends on dist.path_transform✕
- Type pairs
- 3 distinct (type in compiler.compiler → type in dist.path_transform) references.
- Which types
sccache.compiler.compiler.Compilation→sccache.dist.path_transform.PathTransformersccache.compiler.compiler.NoopOutputsRewriter→sccache.dist.path_transform.PathTransformersccache.compiler.compiler.OutputsRewriter→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.compiler uses dist.path_transform. Changing dist.path_transform can break compiler.compiler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→21 compiler.compiler depends on server✕
- Type pairs
- 6 distinct (type in compiler.compiler → type in server) references.
- Which types
sccache.compiler.compiler.CCompileCommand→sccache.server.SccacheServicesccache.compiler.compiler.CompileCommand→sccache.server.SccacheServicesccache.compiler.compiler.CompileCommandImpl→sccache.server.SccacheServicesccache.compiler.compiler.CompilerHasher→sccache.server.SccacheServicesccache.compiler.compiler.SingleCompileCommand→sccache.server.SccacheServicesccache.compiler.compiler.compiler$module→sccache.server.SccacheService
- Direction
- compiler.compiler uses server. Changing server can break compiler.compiler, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→16 bin.sccache-dist.build_freebsd depends on dist.cache✕
- Type pairs
- 1 distinct (type in bin.sccache-dist.build_freebsd → type in dist.cache) reference.
- Which types
sccache.bin.sccache-dist.build_freebsd.PotBuilder→sccache.dist.cache.TcCache
- Direction
- bin.sccache-dist.build_freebsd uses dist.cache. Changing dist.cache can break bin.sccache-dist.build_freebsd, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→17 bin.sccache-dist.build_freebsd depends on dist✕
- Type pairs
- 3 distinct (type in bin.sccache-dist.build_freebsd → type in dist) references.
- Which types
sccache.bin.sccache-dist.build_freebsd.PotBuilder→sccache.dist.BuilderIncomingsccache.bin.sccache-dist.build_freebsd.PotBuilder→sccache.dist.InputsReadersccache.bin.sccache-dist.build_freebsd.PotBuilder→sccache.dist.Toolchain
- Direction
- bin.sccache-dist.build_freebsd uses dist. Changing dist can break bin.sccache-dist.build_freebsd, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→22 bin.sccache-dist.build_freebsd depends on compiler.compiler✕
- Type pairs
- 1 distinct (type in bin.sccache-dist.build_freebsd → type in compiler.compiler) reference.
- Which types
sccache.bin.sccache-dist.build_freebsd.PotBuilder→sccache.compiler.compiler.CompileCommand
- Direction
- bin.sccache-dist.build_freebsd uses compiler.compiler. Changing compiler.compiler can break bin.sccache-dist.build_freebsd, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→1 compiler.c depends on config✕
- Type pairs
- 1 distinct (type in compiler.c → type in config) reference.
- Which types
sccache.compiler.c.c$module→sccache.config.PreprocessorCacheModeConfig
- Direction
- compiler.c uses config. Changing config can break compiler.c, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→2 compiler.c depends on dist.path_transform✕
- Type pairs
- 3 distinct (type in compiler.c → type in dist.path_transform) references.
- Which types
sccache.compiler.c.CCompilation→sccache.dist.path_transform.PathTransformersccache.compiler.c.CCompilerImpl→sccache.dist.path_transform.PathTransformersccache.compiler.c.CInputsPackager→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.c uses dist.path_transform. Changing dist.path_transform can break compiler.c, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→22 compiler.c depends on compiler.compiler✕
- Type pairs
- 12 distinct (type in compiler.c → type in compiler.compiler) references.
- Which types
sccache.compiler.c.CCompilation→sccache.compiler.compiler.Compilationsccache.compiler.c.CCompiler→sccache.compiler.compiler.Compilersccache.compiler.c.CCompiler→sccache.compiler.compiler.CompilerArgumentssccache.compiler.c.CCompiler→sccache.compiler.compiler.CompilerKindsccache.compiler.c.CCompilerHasher→sccache.compiler.compiler.CacheControlsccache.compiler.c.CCompilerHasher→sccache.compiler.compiler.ColorModesccache.compiler.c.CCompilerHasher→sccache.compiler.compiler.CompilerHashersccache.compiler.c.CCompilerHasher→sccache.compiler.compiler.Languagesccache.compiler.c.CCompilerImpl→sccache.compiler.compiler.CompilerArgumentssccache.compiler.c.HashKeyParams→sccache.compiler.compiler.Languagesccache.compiler.c.ParsedArguments→sccache.compiler.compiler.ColorModesccache.compiler.c.ParsedArguments→sccache.compiler.compiler.Language
- Direction
- compiler.c uses compiler.compiler. Changing compiler.compiler can break compiler.c, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→23 bin.sccache-dist.cmdline depends on bin.sccache-dist.build_freebsd✕
- Type pairs
- 1 distinct (type in bin.sccache-dist.cmdline → type in bin.sccache-dist.build_freebsd) reference.
- Which types
sccache.bin.sccache-dist.cmdline.Command→sccache.bin.sccache-dist.build_freebsd.CommandExt
- Direction
- bin.sccache-dist.cmdline uses bin.sccache-dist.build_freebsd. Changing bin.sccache-dist.build_freebsd can break bin.sccache-dist.cmdline, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→2 compiler.cicc depends on dist.path_transform✕
- Type pairs
- 2 distinct (type in compiler.cicc → type in dist.path_transform) references.
- Which types
sccache.compiler.cicc.Cicc→sccache.dist.path_transform.PathTransformersccache.compiler.cicc.cicc$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.cicc uses dist.path_transform. Changing dist.path_transform can break compiler.cicc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→22 compiler.cicc depends on compiler.compiler✕
- Type pairs
- 3 distinct (type in compiler.cicc → type in compiler.compiler) references.
- Which types
sccache.compiler.cicc.Cicc→sccache.compiler.compiler.CompilerArgumentssccache.compiler.cicc.cicc$module→sccache.compiler.compiler.CompilerArgumentssccache.compiler.cicc.cicc$module→sccache.compiler.compiler.Language
- Direction
- compiler.cicc uses compiler.compiler. Changing compiler.compiler can break compiler.cicc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→24 compiler.cicc depends on compiler.c✕
- Type pairs
- 4 distinct (type in compiler.cicc → type in compiler.c) references.
- Which types
sccache.compiler.cicc.Cicc→sccache.compiler.c.CCompilerImplsccache.compiler.cicc.Cicc→sccache.compiler.c.CCompilerKindsccache.compiler.cicc.Cicc→sccache.compiler.c.ParsedArgumentssccache.compiler.cicc.cicc$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.cicc uses compiler.c. Changing compiler.c can break compiler.cicc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→2 compiler.clang depends on dist.path_transform✕
- Type pairs
- 1 distinct (type in compiler.clang → type in dist.path_transform) reference.
- Which types
sccache.compiler.clang.Clang→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.clang uses dist.path_transform. Changing dist.path_transform can break compiler.clang, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→22 compiler.clang depends on compiler.compiler✕
- Type pairs
- 2 distinct (type in compiler.clang → type in compiler.compiler) references.
- Which types
sccache.compiler.clang.Clang→sccache.compiler.compiler.CompilerArgumentssccache.compiler.clang.clang$module→sccache.compiler.compiler.Language
- Direction
- compiler.clang uses compiler.compiler. Changing compiler.compiler can break compiler.clang, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→24 compiler.clang depends on compiler.c✕
- Type pairs
- 3 distinct (type in compiler.clang → type in compiler.c) references.
- Which types
sccache.compiler.clang.Clang→sccache.compiler.c.CCompilerImplsccache.compiler.clang.Clang→sccache.compiler.c.CCompilerKindsccache.compiler.clang.Clang→sccache.compiler.c.ParsedArguments
- Direction
- compiler.clang uses compiler.c. Changing compiler.c can break compiler.clang, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→2 compiler.cudafe depends on dist.path_transform✕
- Type pairs
- 2 distinct (type in compiler.cudafe → type in dist.path_transform) references.
- Which types
sccache.compiler.cudafe.CudaFE→sccache.dist.path_transform.PathTransformersccache.compiler.cudafe.cudafe$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.cudafe uses dist.path_transform. Changing dist.path_transform can break compiler.cudafe, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→22 compiler.cudafe depends on compiler.compiler✕
- Type pairs
- 1 distinct (type in compiler.cudafe → type in compiler.compiler) reference.
- Which types
sccache.compiler.cudafe.CudaFE→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.cudafe uses compiler.compiler. Changing compiler.compiler can break compiler.cudafe, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→24 compiler.cudafe depends on compiler.c✕
- Type pairs
- 4 distinct (type in compiler.cudafe → type in compiler.c) references.
- Which types
sccache.compiler.cudafe.CudaFE→sccache.compiler.c.CCompilerImplsccache.compiler.cudafe.CudaFE→sccache.compiler.c.CCompilerKindsccache.compiler.cudafe.CudaFE→sccache.compiler.c.ParsedArgumentssccache.compiler.cudafe.cudafe$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.cudafe uses compiler.c. Changing compiler.c can break compiler.cudafe, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→2 compiler.diab depends on dist.path_transform✕
- Type pairs
- 2 distinct (type in compiler.diab → type in dist.path_transform) references.
- Which types
sccache.compiler.diab.Diab→sccache.dist.path_transform.PathTransformersccache.compiler.diab.diab$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.diab uses dist.path_transform. Changing dist.path_transform can break compiler.diab, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→22 compiler.diab depends on compiler.compiler✕
- Type pairs
- 2 distinct (type in compiler.diab → type in compiler.compiler) references.
- Which types
sccache.compiler.diab.Diab→sccache.compiler.compiler.CompilerArgumentssccache.compiler.diab.diab$module→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.diab uses compiler.compiler. Changing compiler.compiler can break compiler.diab, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→24 compiler.diab depends on compiler.c✕
- Type pairs
- 4 distinct (type in compiler.diab → type in compiler.c) references.
- Which types
sccache.compiler.diab.Diab→sccache.compiler.c.CCompilerImplsccache.compiler.diab.Diab→sccache.compiler.c.CCompilerKindsccache.compiler.diab.Diab→sccache.compiler.c.ParsedArgumentssccache.compiler.diab.diab$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.diab uses compiler.c. Changing compiler.c can break compiler.diab, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→2 compiler.gcc depends on dist.path_transform✕
- Type pairs
- 2 distinct (type in compiler.gcc → type in dist.path_transform) references.
- Which types
sccache.compiler.gcc.Gcc→sccache.dist.path_transform.PathTransformersccache.compiler.gcc.gcc$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.gcc uses dist.path_transform. Changing dist.path_transform can break compiler.gcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→22 compiler.gcc depends on compiler.compiler✕
- Type pairs
- 3 distinct (type in compiler.gcc → type in compiler.compiler) references.
- Which types
sccache.compiler.gcc.Gcc→sccache.compiler.compiler.CompilerArgumentssccache.compiler.gcc.gcc$module→sccache.compiler.compiler.CompilerArgumentssccache.compiler.gcc.gcc$module→sccache.compiler.compiler.Language
- Direction
- compiler.gcc uses compiler.compiler. Changing compiler.compiler can break compiler.gcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→24 compiler.gcc depends on compiler.c✕
- Type pairs
- 6 distinct (type in compiler.gcc → type in compiler.c) references.
- Which types
sccache.compiler.gcc.Gcc→sccache.compiler.c.CCompilerImplsccache.compiler.gcc.Gcc→sccache.compiler.c.CCompilerKindsccache.compiler.gcc.Gcc→sccache.compiler.c.ParsedArgumentssccache.compiler.gcc.gcc$module→sccache.compiler.c.ArtifactDescriptorsccache.compiler.gcc.gcc$module→sccache.compiler.c.CCompilerKindsccache.compiler.gcc.gcc$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.gcc uses compiler.c. Changing compiler.c can break compiler.gcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→2 compiler.msvc depends on dist.path_transform✕
- Type pairs
- 2 distinct (type in compiler.msvc → type in dist.path_transform) references.
- Which types
sccache.compiler.msvc.Msvc→sccache.dist.path_transform.PathTransformersccache.compiler.msvc.msvc$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.msvc uses dist.path_transform. Changing dist.path_transform can break compiler.msvc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→22 compiler.msvc depends on compiler.compiler✕
- Type pairs
- 2 distinct (type in compiler.msvc → type in compiler.compiler) references.
- Which types
sccache.compiler.msvc.Msvc→sccache.compiler.compiler.CompilerArgumentssccache.compiler.msvc.msvc$module→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.msvc uses compiler.compiler. Changing compiler.compiler can break compiler.msvc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→24 compiler.msvc depends on compiler.c✕
- Type pairs
- 4 distinct (type in compiler.msvc → type in compiler.c) references.
- Which types
sccache.compiler.msvc.Msvc→sccache.compiler.c.CCompilerImplsccache.compiler.msvc.Msvc→sccache.compiler.c.CCompilerKindsccache.compiler.msvc.Msvc→sccache.compiler.c.ParsedArgumentssccache.compiler.msvc.msvc$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.msvc uses compiler.c. Changing compiler.c can break compiler.msvc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→2 compiler.nvcc depends on dist.path_transform✕
- Type pairs
- 1 distinct (type in compiler.nvcc → type in dist.path_transform) reference.
- Which types
sccache.compiler.nvcc.Nvcc→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.nvcc uses dist.path_transform. Changing dist.path_transform can break compiler.nvcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→4 compiler.nvcc depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in compiler.nvcc → type in compiler.preprocessor_cache) reference.
- Which types
sccache.compiler.nvcc.nvcc$module→sccache.compiler.preprocessor_cache.Error
- Direction
- compiler.nvcc uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break compiler.nvcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→9 compiler.nvcc depends on protocol✕
- Type pairs
- 1 distinct (type in compiler.nvcc → type in protocol) reference.
- Which types
sccache.compiler.nvcc.nvcc$module→sccache.protocol.CompileFinished
- Direction
- compiler.nvcc uses protocol. Changing protocol can break compiler.nvcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→21 compiler.nvcc depends on server✕
- Type pairs
- 2 distinct (type in compiler.nvcc → type in server) references.
- Which types
sccache.compiler.nvcc.NvccCompileCommand→sccache.server.SccacheServicesccache.compiler.nvcc.nvcc$module→sccache.server.SccacheService
- Direction
- compiler.nvcc uses server. Changing server can break compiler.nvcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→22 compiler.nvcc depends on compiler.compiler✕
- Type pairs
- 3 distinct (type in compiler.nvcc → type in compiler.compiler) references.
- Which types
sccache.compiler.nvcc.Nvcc→sccache.compiler.compiler.CompilerArgumentssccache.compiler.nvcc.NvccCompileCommand→sccache.compiler.compiler.CompileCommandImplsccache.compiler.nvcc.NvccGeneratedSubcommand→sccache.compiler.compiler.Cacheable
- Direction
- compiler.nvcc uses compiler.compiler. Changing compiler.compiler can break compiler.nvcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→24 compiler.nvcc depends on compiler.c✕
- Type pairs
- 4 distinct (type in compiler.nvcc → type in compiler.c) references.
- Which types
sccache.compiler.nvcc.Nvcc→sccache.compiler.c.CCompilerImplsccache.compiler.nvcc.Nvcc→sccache.compiler.c.CCompilerKindsccache.compiler.nvcc.Nvcc→sccache.compiler.c.ParsedArgumentssccache.compiler.nvcc.nvcc$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.nvcc uses compiler.c. Changing compiler.c can break compiler.nvcc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→2 compiler.nvhpc depends on dist.path_transform✕
- Type pairs
- 1 distinct (type in compiler.nvhpc → type in dist.path_transform) reference.
- Which types
sccache.compiler.nvhpc.Nvhpc→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.nvhpc uses dist.path_transform. Changing dist.path_transform can break compiler.nvhpc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→22 compiler.nvhpc depends on compiler.compiler✕
- Type pairs
- 1 distinct (type in compiler.nvhpc → type in compiler.compiler) reference.
- Which types
sccache.compiler.nvhpc.Nvhpc→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.nvhpc uses compiler.compiler. Changing compiler.compiler can break compiler.nvhpc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→24 compiler.nvhpc depends on compiler.c✕
- Type pairs
- 3 distinct (type in compiler.nvhpc → type in compiler.c) references.
- Which types
sccache.compiler.nvhpc.Nvhpc→sccache.compiler.c.CCompilerImplsccache.compiler.nvhpc.Nvhpc→sccache.compiler.c.CCompilerKindsccache.compiler.nvhpc.Nvhpc→sccache.compiler.c.ParsedArguments
- Direction
- compiler.nvhpc uses compiler.c. Changing compiler.c can break compiler.nvhpc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→2 compiler.ptxas depends on dist.path_transform✕
- Type pairs
- 1 distinct (type in compiler.ptxas → type in dist.path_transform) reference.
- Which types
sccache.compiler.ptxas.Ptxas→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.ptxas uses dist.path_transform. Changing dist.path_transform can break compiler.ptxas, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→22 compiler.ptxas depends on compiler.compiler✕
- Type pairs
- 1 distinct (type in compiler.ptxas → type in compiler.compiler) reference.
- Which types
sccache.compiler.ptxas.Ptxas→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.ptxas uses compiler.compiler. Changing compiler.compiler can break compiler.ptxas, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→24 compiler.ptxas depends on compiler.c✕
- Type pairs
- 3 distinct (type in compiler.ptxas → type in compiler.c) references.
- Which types
sccache.compiler.ptxas.Ptxas→sccache.compiler.c.CCompilerImplsccache.compiler.ptxas.Ptxas→sccache.compiler.c.CCompilerKindsccache.compiler.ptxas.Ptxas→sccache.compiler.c.ParsedArguments
- Direction
- compiler.ptxas uses compiler.c. Changing compiler.c can break compiler.ptxas, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→2 compiler.rust depends on dist.path_transform✕
- Type pairs
- 4 distinct (type in compiler.rust → type in dist.path_transform) references.
- Which types
sccache.compiler.rust.RustCompilation→sccache.dist.path_transform.PathTransformersccache.compiler.rust.RustInputsPackager→sccache.dist.path_transform.PathTransformersccache.compiler.rust.RustOutputsRewriter→sccache.dist.path_transform.PathTransformersccache.compiler.rust.rust$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.rust uses dist.path_transform. Changing dist.path_transform can break compiler.rust, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→6 compiler.rust depends on compiler.args✕
- Type pairs
- 16 distinct (type in compiler.rust → type in compiler.args) references.
- Which types
sccache.compiler.rust.ArgCodegen→sccache.compiler.args.FromArgsccache.compiler.rust.ArgCodegen→sccache.compiler.args.IntoArgsccache.compiler.rust.ArgCrateTypes→sccache.compiler.args.FromArgsccache.compiler.rust.ArgCrateTypes→sccache.compiler.args.IntoArgsccache.compiler.rust.ArgExtern→sccache.compiler.args.FromArgsccache.compiler.rust.ArgExtern→sccache.compiler.args.IntoArgsccache.compiler.rust.ArgLinkLibrary→sccache.compiler.args.FromArgsccache.compiler.rust.ArgLinkLibrary→sccache.compiler.args.IntoArgsccache.compiler.rust.ArgLinkPath→sccache.compiler.args.FromArgsccache.compiler.rust.ArgLinkPath→sccache.compiler.args.IntoArgsccache.compiler.rust.ArgTarget→sccache.compiler.args.FromArgsccache.compiler.rust.ArgTarget→sccache.compiler.args.IntoArgsccache.compiler.rust.ArgUnstable→sccache.compiler.args.FromArgsccache.compiler.rust.ArgUnstable→sccache.compiler.args.IntoArgsccache.compiler.rust.ParsedArguments→sccache.compiler.args.Argumentsccache.compiler.rust.RustCompilation→sccache.compiler.args.Argument
- Direction
- compiler.rust uses compiler.args. Changing compiler.args can break compiler.rust, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→8 compiler.rust depends on lru_disk_cache.lru_cache✕
- Type pairs
- 2 distinct (type in compiler.rust → type in lru_disk_cache.lru_cache) references.
- Which types
sccache.compiler.rust.DepsSize→sccache.lru_disk_cache.lru_cache.Metersccache.compiler.rust.RlibDepReader→sccache.lru_disk_cache.lru_cache.LruCache
- Direction
- compiler.rust uses lru_disk_cache.lru_cache. Changing lru_disk_cache.lru_cache can break compiler.rust, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→22 compiler.rust depends on compiler.compiler✕
- Type pairs
- 12 distinct (type in compiler.rust → type in compiler.compiler) references.
- Which types
sccache.compiler.rust.ParsedArguments→sccache.compiler.compiler.ColorModesccache.compiler.rust.Rust→sccache.compiler.compiler.Compilersccache.compiler.rust.Rust→sccache.compiler.compiler.CompilerArgumentssccache.compiler.rust.Rust→sccache.compiler.compiler.CompilerKindsccache.compiler.rust.RustCompilation→sccache.compiler.compiler.Compilationsccache.compiler.rust.RustHasher→sccache.compiler.compiler.CacheControlsccache.compiler.rust.RustHasher→sccache.compiler.compiler.ColorModesccache.compiler.rust.RustHasher→sccache.compiler.compiler.CompilerHashersccache.compiler.rust.RustHasher→sccache.compiler.compiler.Languagesccache.compiler.rust.RustOutputsRewriter→sccache.compiler.compiler.OutputsRewritersccache.compiler.rust.RustupProxy→sccache.compiler.compiler.CompilerProxysccache.compiler.rust.rust$module→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.rust uses compiler.compiler. Changing compiler.compiler can break compiler.rust, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→24 compiler.rust depends on compiler.c✕
- Type pairs
- 1 distinct (type in compiler.rust → type in compiler.c) reference.
- Which types
sccache.compiler.rust.RustHasher→sccache.compiler.c.ParsedArguments
- Direction
- compiler.rust uses compiler.c. Changing compiler.c can break compiler.rust, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→2 compiler.tasking_vx depends on dist.path_transform✕
- Type pairs
- 2 distinct (type in compiler.tasking_vx → type in dist.path_transform) references.
- Which types
sccache.compiler.tasking_vx.TaskingVX→sccache.dist.path_transform.PathTransformersccache.compiler.tasking_vx.tasking_vx$module→sccache.dist.path_transform.PathTransformer
- Direction
- compiler.tasking_vx uses dist.path_transform. Changing dist.path_transform can break compiler.tasking_vx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→22 compiler.tasking_vx depends on compiler.compiler✕
- Type pairs
- 2 distinct (type in compiler.tasking_vx → type in compiler.compiler) references.
- Which types
sccache.compiler.tasking_vx.TaskingVX→sccache.compiler.compiler.CompilerArgumentssccache.compiler.tasking_vx.tasking_vx$module→sccache.compiler.compiler.CompilerArguments
- Direction
- compiler.tasking_vx uses compiler.compiler. Changing compiler.compiler can break compiler.tasking_vx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→24 compiler.tasking_vx depends on compiler.c✕
- Type pairs
- 4 distinct (type in compiler.tasking_vx → type in compiler.c) references.
- Which types
sccache.compiler.tasking_vx.TaskingVX→sccache.compiler.c.CCompilerImplsccache.compiler.tasking_vx.TaskingVX→sccache.compiler.c.CCompilerKindsccache.compiler.tasking_vx.TaskingVX→sccache.compiler.c.ParsedArgumentssccache.compiler.tasking_vx.tasking_vx$module→sccache.compiler.c.ParsedArguments
- Direction
- compiler.tasking_vx uses compiler.c. Changing compiler.c can break compiler.tasking_vx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→16 bin.sccache-dist.main depends on dist.cache✕
- Type pairs
- 1 distinct (type in bin.sccache-dist.main → type in dist.cache) reference.
- Which types
sccache.bin.sccache-dist.main.Server→sccache.dist.cache.TcCache
- Direction
- bin.sccache-dist.main uses dist.cache. Changing dist.cache can break bin.sccache-dist.main, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→17 bin.sccache-dist.main depends on dist✕
- Type pairs
- 16 distinct (type in bin.sccache-dist.main → type in dist) references.
- Which types
sccache.bin.sccache-dist.main.JobDetail→sccache.dist.JobStatesccache.bin.sccache-dist.main.JobDetail→sccache.dist.ServerIdsccache.bin.sccache-dist.main.Scheduler→sccache.dist.JobIdsccache.bin.sccache-dist.main.Scheduler→sccache.dist.JobStatesccache.bin.sccache-dist.main.Scheduler→sccache.dist.SchedulerIncomingsccache.bin.sccache-dist.main.Scheduler→sccache.dist.ServerIdsccache.bin.sccache-dist.main.Scheduler→sccache.dist.ServerNoncesccache.bin.sccache-dist.main.Scheduler→sccache.dist.Toolchainsccache.bin.sccache-dist.main.Server→sccache.dist.InputsReadersccache.bin.sccache-dist.main.Server→sccache.dist.JobIdsccache.bin.sccache-dist.main.Server→sccache.dist.ServerIncomingsccache.bin.sccache-dist.main.Server→sccache.dist.Toolchainsccache.bin.sccache-dist.main.Server→sccache.dist.ToolchainReadersccache.bin.sccache-dist.main.ServerDetails→sccache.dist.ServerNoncesccache.bin.sccache-dist.main.ServerJwt→sccache.dist.ServerIdsccache.bin.sccache-dist.main.main$module→sccache.dist.ServerId
- Direction
- bin.sccache-dist.main uses dist. Changing dist can break bin.sccache-dist.main, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→22 bin.sccache-dist.main depends on compiler.compiler✕
- Type pairs
- 1 distinct (type in bin.sccache-dist.main → type in compiler.compiler) reference.
- Which types
sccache.bin.sccache-dist.main.Server→sccache.compiler.compiler.CompileCommand
- Direction
- bin.sccache-dist.main uses compiler.compiler. Changing compiler.compiler can break bin.sccache-dist.main, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→25 bin.sccache-dist.main depends on bin.sccache-dist.cmdline✕
- Type pairs
- 1 distinct (type in bin.sccache-dist.main → type in bin.sccache-dist.cmdline) reference.
- Which types
sccache.bin.sccache-dist.main.main$module→sccache.bin.sccache-dist.cmdline.Command
- Direction
- bin.sccache-dist.main uses bin.sccache-dist.cmdline. Changing bin.sccache-dist.cmdline can break bin.sccache-dist.main, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→3 commands depends on net✕
- Type pairs
- 1 distinct (type in commands → type in net) reference.
- Which types
sccache.commands.commands$module→sccache.net.SocketAddr
- Direction
- commands uses net. Changing net can break commands, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→9 commands depends on protocol✕
- Type pairs
- 2 distinct (type in commands → type in protocol) references.
- Which types
sccache.commands.commands$module→sccache.protocol.CompileFinishedsccache.commands.commands$module→sccache.protocol.CompileResponse
- Direction
- commands uses protocol. Changing protocol can break commands, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→13 commands depends on client✕
- Type pairs
- 1 distinct (type in commands → type in client) reference.
- Which types
sccache.commands.commands$module→sccache.client.ServerConnection
- Direction
- commands uses client. Changing client can break commands, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→19 commands depends on dist.http.client✕
- Type pairs
- 1 distinct (type in commands → type in dist.http.client) reference.
- Which types
sccache.commands.commands$module→sccache.dist.http.client.Client
- Direction
- commands uses dist.http.client. Changing dist.http.client can break commands, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→25 commands depends on bin.sccache-dist.cmdline✕
- Type pairs
- 1 distinct (type in commands → type in bin.sccache-dist.cmdline) reference.
- Which types
sccache.commands.commands$module→sccache.bin.sccache-dist.cmdline.Command
- Direction
- commands uses bin.sccache-dist.cmdline. Changing bin.sccache-dist.cmdline can break commands, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→19 jobserver depends on dist.http.client✕
- Type pairs
- 1 distinct (type in jobserver → type in dist.http.client) reference.
- Which types
sccache.jobserver.Client→sccache.dist.http.client.Client
- Direction
- jobserver uses dist.http.client. Changing dist.http.client can break jobserver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→25 jobserver depends on bin.sccache-dist.cmdline✕
- Type pairs
- 1 distinct (type in jobserver → type in bin.sccache-dist.cmdline) reference.
- Which types
sccache.jobserver.Client→sccache.bin.sccache-dist.cmdline.Command
- Direction
- jobserver uses bin.sccache-dist.cmdline. Changing bin.sccache-dist.cmdline can break jobserver, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→4 mock_command depends on compiler.preprocessor_cache✕
- Type pairs
- 1 distinct (type in mock_command → type in compiler.preprocessor_cache) reference.
- Which types
sccache.mock_command.MockChild→sccache.compiler.preprocessor_cache.Error
- Direction
- mock_command uses compiler.preprocessor_cache. Changing compiler.preprocessor_cache can break mock_command, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→19 mock_command depends on dist.http.client✕
- Type pairs
- 5 distinct (type in mock_command → type in dist.http.client) references.
- Which types
sccache.mock_command.AsyncCommand→sccache.dist.http.client.Clientsccache.mock_command.CommandCreator→sccache.dist.http.client.Clientsccache.mock_command.CommandCreatorSync→sccache.dist.http.client.Clientsccache.mock_command.MockCommandCreator→sccache.dist.http.client.Clientsccache.mock_command.ProcessCommandCreator→sccache.dist.http.client.Client
- Direction
- mock_command uses dist.http.client. Changing dist.http.client can break mock_command, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→25 mock_command depends on bin.sccache-dist.cmdline✕
- Type pairs
- 1 distinct (type in mock_command → type in bin.sccache-dist.cmdline) reference.
- Which types
sccache.mock_command.AsyncCommand→sccache.bin.sccache-dist.cmdline.Command
- Direction
- mock_command uses bin.sccache-dist.cmdline. Changing bin.sccache-dist.cmdline can break mock_command, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→39 mock_command depends on jobserver✕
- Type pairs
- 1 distinct (type in mock_command → type in jobserver) reference.
- Which types
sccache.mock_command.Child→sccache.jobserver.Acquired
- Direction
- mock_command uses jobserver. Changing jobserver can break mock_command, 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
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 55 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 21 | High / Critical |
Roadmap
Begin by resolving the static analysis findings in the CI configuration files to secure the build pipeline. Next, enhance system operability by implementing OpenTelemetry tracing, metrics, and a health-check endpoint, while also establishing a changelog to track release changes. Finally, improve project clarity by documenting the testing procedures in the README and creating an architecture decision record to capture key design choices.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.2 pts | Low | ADR Quality |
| Resolve the 1 Flaky test finding(s) in Test Reliability. | +1.5 pts | Low | Test Reliability |
| Resolve the 10 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (9), REDACTED. | +2.7 pts | Medium | Static Analysis (SAST) |
| Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. | +1.4 pts | Low | Static Analysis (SAST) |
| Resolve the 1 REDACTED finding(s) charged to Static Analysis (SAST) — the other 31 are reported here at file:line but scored by D36 (supply-chain provenance), which charges them once. | +1.3 pts | Low | Static Analysis (SAST) |
| Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). | +1.3 pts | Low | Dependency Vulnerabilities |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.3 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.3 pts | Low | Supply-chain Provenance & Signing |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.6 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.5 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/compiler/gcc.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/compiler/rust.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/compiler/msvc.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/config.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/compiler/c.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/server.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/compiler/diab.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| src/commands.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/compiler/compiler.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/compiler/nvcc.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| src/util.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| tests/system.rs | 6.5 | Mixed | Explicit Debt: TodoComment |
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. 36 of 41 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 — 41 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, 289 of 338 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) and a coverage step in CI (`grcov .`) 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.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX2 Stateful singletons — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXB1 Runtime evidence locked — no reproducible boot — 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. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, or a Dockerfile. None was found, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P10 Library API & versioning — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads NuGet packaging and C# public API only, and no .NET project was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF1 Benchmark discipline — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF2 Allocation hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X10 Duplicated predicate — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X6 Hand-rolled structured-format parsing — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- 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
28 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was sccache::compiler::gcc::parse_arguments at 106. A further 3 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 Language::to_compiler_arg at 22 — they are counted neither in the figure above nor in this dimension's score.
What to do
- Resolve the 18 sccache finding(s) in Cyclomatic Complexity — start with c.rs (3), gcc.rs (2), nvcc.rs (2). — One of this dimension's main actionable groups (18 warning-level).
- Resolve the 1 RustInputsPackager finding(s) in Cyclomatic Complexity — start with rust.rs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 CCompilerHasher finding(s) in Cyclomatic Complexity — start with c.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
42 function(s) exceeded the cognitive complexity threshold of 15; the worst was sccache::compiler::gcc::parse_arguments at 92.
What to do
- Resolve the 23 sccache finding(s) in Cognitive Complexity — start with nvcc.rs (4), gcc.rs (3), c.rs (3). — One of this dimension's main actionable groups (23 warning-level).
- Resolve the 3 Scheduler finding(s) in Cognitive Complexity — start with main.rs (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 MultiLevelStorage finding(s) in Cognitive Complexity — start with multilevel.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
37 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 14 FunctionTooLong finding(s) in God Classes — start with compiler.rs (2), nvcc.rs (2), gcc.rs. — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 13 FileTooLong finding(s) in God Classes — start with rust.rs, server.rs, compiler.rs. — One of this dimension's main actionable groups (13 warning-level).
- Resolve the 8 MethodTooLong finding(s) in God Classes — start with rust.rs (2), server.rs (2), compiler.rs. — One of this dimension's main actionable groups (8 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
31 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.
What to do
- Resolve the 4 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with gcc.rs, server.rs, cache.rs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 3 Duplicated block (6 lines × 3) finding(s) in Code Duplication — start with cache.rs (2), diab.rs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (15 lines × 2) finding(s) in Code Duplication — start with cicc.rs, gcc.rs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 57 classes have LCOM4 above 3.
D9 · Test Distribution
558 test methods: 525 unit, 33 integration, 0 BDD, 0 e2e. The Rust suite contributes 558 `#[test]` function(s) across 42 file(s) declaring at least one; its unit/integration split is Cargo's own — 10 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.
D11 · Test Reliability
1 flaky across 1 measured tier(s). Rust (repository root, 42 test files): measured (1 flaky).
What to do
- Resolve the 1 Flaky test finding(s) in Test Reliability. — One of this dimension's main actionable groups (1 issue-level).
D12 · Dependency Hygiene
30 outdated, 0 yanked direct Cargo dependencies. 70 of 72 direct crates were graded against crates.io (0 not published there, 2 not resolved by a committed REDACTED). Only DIRECT edges are graded: a transitive crate cannot be moved past what its parent's requirement admits, so reporting one would be advice its owner cannot take. A newer release is reported only where this repository's OWN requirement already admits it, so the remedy is `cargo update` and never a manifest edit — which means a release outside the declared range is deliberately NOT charged, because a written-down constraint is a decision rather than a defect. Note that a bare requirement is a CARET, and for a 0.x crate its ceiling is the minor. Whether any crate is UNMAINTAINED is not graded — crates.io publishes no maintenance status, and release age does not stand in for one. Known CVEs in this dependency graph are D30's question, read from REDACTED there.
What to do
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
Top hotspots: src/compiler/gcc.rs (8×106=848); src/compiler/msvc.rs (9×53=477); src/compiler/rust.rs (4×56=224)
What to do
- Resolve the 10 Hotspot finding(s) in Churn × Complexity Hotspots — start with gcc.rs, msvc.rs, rust.rs. — One of this dimension's main actionable groups (10 warning-level).
D16 · Bus Factor
3 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is src/cache/ipc_storage.rs. Counted over 38 of the 51 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
61 deducted task-comment markers across 41656 LoC (0.1/KLoC) → score 9.7. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 56 TodoComment finding(s) in Explicit Debt — start with rust.rs (7), mod.rs (6), server.rs (6). — One of this dimension's main actionable groups (56 warning-level).
- Resolve the 3 FixmeComment finding(s) in Explicit Debt — start with msvc.rs, diab.rs, lru_cache.rs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 HackComment finding(s) in Explicit Debt — start with server.rs, nvcc.rs. — 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
Clear documentation for a compiler caching tool sccache covering what it does (shared compilation cache with multi-level cloud storage), its supported compilers and distributed compilation features, installation/prerequisites, usage examples, architecture overview, configuration options, and cross-platform deployment guides. The README is the single document that documents the repository as a whole; each of the 22 architecture/design docs is an internal reference for the project's internals. The repository's READMEs cover S3 and WebDAV storage backends (S3.md, Webdav.md) plus a focused Xcode integration guide (Xcode.md), with architecture/design docs at the project level. The overview is present in each document: S3.md begins with 'If you want to use S3 storage...' and Webdav.md starts with 'Users can configure sccache to cache incremental build artifacts...'; all four required sections are visible, and Xcode.md explains how to run the daemon outside Xcode. The outline is complete for each document (S3; R2; Credentials; Disable Create Dir; Using `sccache` with Xcode; Running the daemon; Setting it up for `xcodebuild`; Support for other generators). (12 of 24 sampled documents could not be assessed: 1 of 3 evaluation groups failed.)
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. — One of this dimension's main actionable groups (1 recommendation-level).
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
5 API inconsistencies across a 400-member sample of 153 exposed types.
What to do
- Resolve the 1 Ambiguous and overlapping read operations. `get` and `get_with_raw`… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent naming for write operations. `put` takes a structured… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicate intent in `TcCache`. `get` and `get_file` have nearly… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
1 of 1 build units (Cargo) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
55 finding(s): 0 critical, 55 high, 0 medium, 0 low. 31 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 1 file(s) — `.github/actions/nvcc-toolchain/install-cuda.sh` (line 32) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 4 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 10 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (9), REDACTED. — One of this dimension's main actionable groups (10 issue-level).
- Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 1 REDACTED finding(s) charged to Static Analysis (SAST) — the other 31 are reported here at file:line but scored by D36 (supply-chain provenance), which charges them once. — One of this dimension's main actionable groups (32 issue-level, 1 of them charged here).
D30 · Dependency Vulnerabilities
21 finding(s): 0 critical, 2 high, 19 medium, 0 low.
What to do
- Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 7 Medium advisory (unmaintained) finding(s) in Dependency Vulnerabilities — start with REDACTED (7). — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 5 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5). — One of this dimension's main actionable groups (5 warning-level).
D31 · IaC & Container Security
trivy and checkov found no infrastructure-as-code or container misconfigurations.
D34 · Knowledge Freshness
2 of 38 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/lru_disk_cache/lru_cache.rs. Counted over 38 of the 51 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 knowledge finding(s) in Knowledge Freshness — start with lru_cache.rs. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
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.
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.
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).
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (opentelemetry with tracing-opentelemetry) and a health-check endpoint (a /health route on your axum/actix router) for operability.
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 82% | Strong | Solid. |
| Architecture | 89% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 73% | Strong | Solid. |
| Readiness | 72% | Strong | Solid. |
| Security | 65% | Adequate — gated by D29, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
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 — 73 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — ~8473 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.
- D14 License Compliance — Not scored — this repository's 512 shipped crate(s) were read from its REDACTED, but crates.io could not be asked for the licence of 48 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.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- 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 (21 value object(s))
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P10 Library API & versioning — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the Rust source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- PF2 Allocation hygiene — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X7 Silent fallback defaults — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 59 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Flaky test: sccache::system.test_stats_no_server
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned knowledge src/lru_disk_cache/lru_cache.rs
Serious — 238 finding(s)
- TodoComment src/util.rs:314
- TodoComment tests/harness/mod.rs:192
- TodoComment src/util.rs:1038
- TodoComment src/server.rs:1243
- TodoComment src/server.rs:1338
- TodoComment src/server.rs:1339
- TodoComment src/server.rs:1637
- TodoComment src/server.rs:1652
- TodoComment src/server.rs:1919
- TodoComment src/net.rs:167
- TodoComment src/mock_command.rs:356
- TodoComment src/mock_command.rs:489
- TodoComment src/mock_command.rs:548
- TodoComment src/config.rs:217
- TodoComment src/config.rs:796
- TodoComment src/commands.rs:243
- TodoComment src/commands.rs:396
- TodoComment src/commands.rs:427
- TodoComment src/commands.rs:547
- TodoComment src/compiler/rust.rs:589
- TodoComment src/compiler/rust.rs:1395
- TodoComment src/compiler/rust.rs:1504
- TodoComment src/compiler/rust.rs:1959
- TodoComment src/compiler/rust.rs:2110
- TodoComment src/compiler/rust.rs:2477
- sccache::compiler::gcc::parse_arguments (cognitive 92) src/compiler/gcc.rs:291
- sccache::compiler::rust::parse_arguments (cognitive 75) src/compiler/rust.rs:1120
- sccache::compiler::msvc::parse_arguments (cognitive 59) src/compiler/msvc.rs:557
- sccache::cmdline::try_parse (cognitive 53) src/cmdline.rs:187
- sccache::compiler::nvcc::group_nvcc_subcommands_by_compilation_stage (cognitive 47) src/compiler/nvcc.rs:646
- sccache::config::config_from_env (cognitive 46) src/config.rs:901
- sccache::compiler::nvcc::generate_compile_commands (cognitive 39) src/compiler/nvcc.rs:316
- sccache::compiler::c::process_preprocessor_line (cognitive 32) src/compiler/c.rs:856
- sccache::compiler::c::process_preprocessed_file (cognitive 31) src/compiler/c.rs:736
- sccache::compiler::gcc::split_gnu_response_file_args (cognitive 28) src/compiler/gcc.rs:1257
- sccache::bin::sccache-dist::cmdline::parse::try_parse_from (cognitive 27) src/bin/sccache-dist/cmdline/parse.rs:176
- sccache::compiler::diab::parse_arguments (cognitive 26) src/compiler/diab.rs:174
- sccache::compiler::cicc::parse_arguments (cognitive 25) src/compiler/cicc.rs:115
- sccache::compiler::compiler::dist_or_local_compile (cognitive 23) src/compiler/compiler.rs:869
- sccache::compiler::msvc::preprocess (cognitive 23) src/compiler/msvc.rs:1034
- sccache::compiler::c::remember_include_file (cognitive 23) src/compiler/c.rs:1060
- sccache::compiler::tasking_vx::parse_arguments (cognitive 23) src/compiler/tasking_vx.rs:169
- sccache::commands::run_command (cognitive 21) src/commands.rs:719
- sccache::compiler::gcc::generate_compile_commands (cognitive 21) src/compiler/gcc.rs:1028
- sccache::compiler::nvcc::fold_env_vars_or_split_into_exe_and_args (cognitive 18) src/compiler/nvcc.rs:1056
- sccache::util::strip_basedirs (cognitive 18) src/util.rs:1158
- sccache::util::strip_basedirs_from_arg (cognitive 18) src/util.rs:1279
- sccache::compiler::nvcc::select_nvcc_subcommands (cognitive 17) src/compiler/nvcc.rs:936
- sccache::compiler::gcc::parse_arguments (cyclomatic 106) src/compiler/gcc.rs:291
- sccache::compiler::rust::parse_arguments (cyclomatic 56) src/compiler/rust.rs:1120
- sccache::compiler::msvc::parse_arguments (cyclomatic 53) src/compiler/msvc.rs:557
- sccache::config::config_from_env (cyclomatic 34) src/config.rs:901
- sccache::cmdline::try_parse (cyclomatic 27) src/cmdline.rs:187
- sccache::compiler::diab::parse_arguments (cyclomatic 24) src/compiler/diab.rs:174
- sccache::commands::run_command (cyclomatic 24) src/commands.rs:719
- sccache::compiler::tasking_vx::parse_arguments (cyclomatic 24) src/compiler/tasking_vx.rs:169
- sccache::compiler::c::process_preprocessor_line (cyclomatic 23) src/compiler/c.rs:856
- sccache::compiler::c::remember_include_file (cyclomatic 21) src/compiler/c.rs:1060
- sccache::compiler::nvcc::group_nvcc_subcommands_by_compilation_stage (cyclomatic 21) src/compiler/nvcc.rs:646
- sccache::compiler::nvcc::generate_compile_commands (cyclomatic 20) src/compiler/nvcc.rs:316
- sccache::compiler::cicc::parse_arguments (cyclomatic 18) src/compiler/cicc.rs:115
- sccache::compiler::compiler::dist_or_local_compile (cyclomatic 18) src/compiler/compiler.rs:869
- sccache::compiler::c::process_preprocessed_file (cyclomatic 18) src/compiler/c.rs:736
- sccache::compiler::compiler::detect_c_compiler (cyclomatic 17) src/compiler/compiler.rs:1790
- sccache::bin::sccache-dist::main::run (cyclomatic 16) src/bin/sccache-dist/main.rs:147
- sccache::compiler::gcc::generate_compile_commands (cyclomatic 16) src/compiler/gcc.rs:1028
- FunctionTooLong: sccache::compiler::gcc::parse_arguments src/compiler/gcc.rs:291
- FunctionTooLong: sccache::config::config_from_env src/config.rs:901
- FunctionTooLong: sccache::compiler::msvc::parse_arguments src/compiler/msvc.rs:557
- FunctionTooLong: sccache::compiler::compiler::detect_c_compiler src/compiler/compiler.rs:1790
- FunctionTooLong: sccache::commands::run_command src/commands.rs:719
- FunctionTooLong: sccache::cache::cache::build_single_cache src/cache/cache.rs:436
- FunctionTooLong: sccache::compiler::compiler::dist_or_local_compile src/compiler/compiler.rs:869
- FunctionTooLong: sccache::compiler::nvcc::group_nvcc_subcommands_by_compilation_stage src/compiler/nvcc.rs:646
- FunctionTooLong: sccache::compiler::rust::parse_arguments src/compiler/rust.rs:1120
- FunctionTooLong: sccache::bin::sccache-dist::main::run src/bin/sccache-dist/main.rs:147
- FunctionTooLong: sccache::compiler::nvcc::generate_compile_commands src/compiler/nvcc.rs:316
- FunctionTooLong: sccache::compiler::cicc::parse_arguments src/compiler/cicc.rs:115
- FunctionTooLong: sccache::cmdline::try_parse src/cmdline.rs:187
- FunctionTooLong: sccache::server::start_server src/server.rs:433
- FileTooLong: compiler/rust.rs src/compiler/rust.rs
- FileTooLong: src/server.rs src/server.rs
- FileTooLong: compiler/compiler.rs src/compiler/compiler.rs
- FileTooLong: src/config.rs src/config.rs
- FileTooLong: compiler/c.rs src/compiler/c.rs
- FileTooLong: compiler/msvc.rs src/compiler/msvc.rs
- FileTooLong: compiler/nvcc.rs src/compiler/nvcc.rs
- FileTooLong: dist/http.rs src/dist/http.rs
- FileTooLong: compiler/gcc.rs src/compiler/gcc.rs
- FileTooLong: src/util.rs src/util.rs
- FileTooLong: src/commands.rs src/commands.rs
- FileTooLong: cache/multilevel.rs src/cache/multilevel.rs
- FileTooLong: sccache-dist/main.rs src/bin/sccache-dist/main.rs
- Hotspot: src/compiler/gcc.rs src/compiler/gcc.rs:291
- Hotspot: src/compiler/msvc.rs src/compiler/msvc.rs:557
- Hotspot: src/compiler/rust.rs src/compiler/rust.rs:1120
- Hotspot: src/compiler/c.rs src/compiler/c.rs:394
- Hotspot: src/config.rs src/config.rs:901
- Hotspot: src/server.rs src/server.rs:1422
- Hotspot: src/compiler/nvcc.rs src/compiler/nvcc.rs:646
- Hotspot: src/cache/cache.rs src/cache/cache.rs:436
- Hotspot: src/compiler/cicc.rs src/compiler/cicc.rs:115
- Hotspot: src/commands.rs src/commands.rs:719
- MethodTooLong: RustHasher.generate_hash_key src/compiler/rust.rs:1383
- MethodTooLong: CompilerHasher.get_cached_or_compile src/compiler/compiler.rs:537
- MethodTooLong: SccacheService.start_compile_task src/server.rs:1422
- MethodTooLong: MultiLevelStorage.from_config src/cache/multilevel.rs:405
- MethodTooLong: Scheduler.start src/dist/http.rs:676
- MethodTooLong: RustInputsPackager.write_inputs src/compiler/rust.rs:2111
- MethodTooLong: ServerStats.print src/server.rs:1877
- MethodTooLong: PreprocessorCacheEntry.result_matches src/compiler/preprocessor_cache.rs:194
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (6 lines × 2) src/compiler/gcc.rs:1189
- Duplicated block (6 lines × 2) src/server.rs:1889
- Duplicated block (6 lines × 2) src/cache/cache.rs:459
- Duplicated block (6 lines × 2) src/dist/client_auth.rs:206
- FixmeComment src/compiler/msvc.rs:933
- FixmeComment src/compiler/diab.rs:316
- FixmeComment src/lru_disk_cache/lru_cache.rs:47
- Scheduler::handle_heartbeat_server (cognitive 36) src/bin/sccache-dist/main.rs:576
- Scheduler::handle_alloc_job (cognitive 32) src/bin/sccache-dist/main.rs:437
- Scheduler::handle_update_job_state (cognitive 16) src/bin/sccache-dist/main.rs:685
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (6 lines × 3) src/compiler/diab.rs:394
- Duplicated block (6 lines × 3) src/cache/cache.rs:591
- Duplicated block (6 lines × 3) src/cache/cache.rs:459
- HackComment src/server.rs:1447
- HackComment src/compiler/nvcc.rs:885
- MultiLevelStorage::put_raw (cognitive 38) src/cache/multilevel.rs:772
- MultiLevelStorage::get (cognitive 31) src/cache/multilevel.rs:639
- SccacheService::start_compile_task (cognitive 34) src/server.rs:1422
- SccacheService::compiler_info (cognitive 20) src/server.rs:1203
- ClassTooLong: SccacheService src/server.rs:785
- ClassTooLong: MultiLevelStorage src/cache/multilevel.rs:345
- Duplicated block (15 lines × 2) src/compiler/cicc.rs:283
- Duplicated block (15 lines × 2) src/compiler/gcc.rs:518
- Duplicated block (13 lines × 2) src/compiler/diab.rs:308
- Duplicated block (13 lines × 2) src/compiler/rust.rs:775
- Duplicated block (5 lines × 2) src/dist/client_auth.rs:540
- Duplicated block (5 lines × 2) src/bin/sccache-dist/main.rs:71
- Duplicated block (9 lines × 2) src/compiler/clang.rs:103
- Duplicated block (9 lines × 2) src/compiler/tasking_vx.rs:318
- RustInputsPackager::write_inputs (cyclomatic 35) src/compiler/rust.rs:2111
- CCompilerHasher::generate_hash_key (cyclomatic 28) src/compiler/c.rs:394
- RustHasher::generate_hash_key (cyclomatic 25) src/compiler/rust.rs:1383
- SccacheService::start_compile_task (cyclomatic 25) src/server.rs:1422
- MultiLevelStorage::from_config (cyclomatic 24) src/cache/multilevel.rs:405
- PreprocessorCacheEntry::result_matches (cyclomatic 23) src/compiler/preprocessor_cache.rs:194
- ServerStats::print (cyclomatic 22) src/server.rs:1877
- CompilerHasher::get_cached_or_compile (cyclomatic 21) src/compiler/compiler.rs:537
- Scheduler::handle_heartbeat_server (cyclomatic 17) src/bin/sccache-dist/main.rs:576
- RustCompilation::generate_compile_commands (cyclomatic 17) src/compiler/rust.rs:1763
- CCompilerHasher::generate_hash_key (cognitive 62) src/compiler/c.rs:394
- PreprocessorCacheEntry::result_matches (cognitive 62) src/compiler/preprocessor_cache.rs:194
- RustInputsPackager::write_inputs (cognitive 62) src/compiler/rust.rs:2111
- ServerStats::print (cognitive 35) src/server.rs:1877
- RustHasher::generate_hash_key (cognitive 33) src/compiler/rust.rs:1383
- CompilerHasher::get_cached_or_compile (cognitive 29) src/compiler/compiler.rs:537
- RustCompilation::generate_compile_commands (cognitive 25) src/compiler/rust.rs:1763
- CacheRead::extract_objects (cognitive 18) src/cache/cache_io.rs:132
- ArgsIter::next (cognitive 17) src/compiler/args.rs:618
- ClientToolchains::new (cognitive 17) src/dist/cache.rs:58
- RustupProxy::find_proxy_executable (cognitive 16) src/compiler/rust.rs:618
- TimeMacroFinder::find_time_macros (cognitive 16) src/util.rs:241
- Ambiguous and overlapping read operations. `get` and `get_with_raw` appear to serve similar purposes (retrieving data), but the distinction between 'raw' and non-raw is unclear. Furthermore, `get_raw` exists separately, creating a triad of read methods with unclear semantic boundaries. It is unclear if `get` returns deserialized objects while `get_raw` returns bytes, or if `get_with_raw` is an alias for one of them.
- Inconsistent naming for write operations. `put` takes a structured `CacheWrite` object, while `put_raw` takes raw bytes. While the distinction is logical, the naming convention `put` vs `put_raw` is less standard than `put` vs `put_bytes` or `store` vs `store_raw`. More importantly, `get` vs `get_raw` inconsistency (see above) suggests a broader pattern of confusing 'raw' terminology.
- Duplicate intent in `TcCache`. `get` and `get_file` have nearly identical signatures and likely return the same type (`LruResult`). It is unclear why there are two methods for retrieving a toolchain, unless one returns a file handle and the other returns a path or bytes, but the return type `LruResult` is opaque and suggests identical behavior.
- Overlapping retrieval methods in `LruDiskCache`. `get`, `get_file`, and `get_abs_path` all retrieve data associated with a key. The distinction between `get` and `get_file` is unclear (does `get` return bytes? does `get_file` return a file handle?). `get_abs_path` is distinct but suggests that `get` might not be the primary way to access the underlying storage.
- Severe type inconsistency in configuration structs. Many properties that should be `String`, `PathBuf`, or `bool` are typed as `Instant`. `Instant` represents a specific point in time, which is semantically incorrect for connection strings, endpoints, usernames, passwords, or boolean flags. This suggests a serialization/deserialization bug or a copy-paste error in the type definitions.
- REDACTED
- REDACTED
- Near-duplicate member pair (62 shared lines) src/compiler/diab.rs:181
- Members sharing a duplicated core (4 members, 50+ identical tokens) src/compiler/cicc.rs:281
- Duplicated block (33 lines × 2) src/compiler/cicc.rs:301
- Duplicated block (31 lines × 2) src/compiler/diab.rs:256
- Duplicated block (25 lines × 2) src/compiler/diab.rs:196
- Duplicated block (15–18 lines × 2) src/cache/multilevel.rs:841
- Duplicated block (16 lines × 2) src/compiler/diab.rs:230
- Duplicated block (13–14 lines × 3) src/compiler/diab.rs:254
- Duplicated block (14 lines × 2) src/compiler/diab.rs:373
- Duplicated block (12–14 lines × 2) src/compiler/gcc.rs:482
- Duplicated block (11 lines × 4) src/compiler/cicc.rs:318
- Duplicated block (11 lines × 2) src/compiler/cicc.rs:337
- Duplicated block (10 lines × 2) src/compiler/msvc.rs:143
- Duplicated block (7 lines × 5) src/compiler/cicc.rs:106
- Duplicated block (12 lines × 2) src/util.rs:479
- Duplicated block (7 lines × 2) src/cache/cache.rs:608
- Duplicated block (5 lines × 4) src/cache/cache.rs:459
- Duplicated block (5 lines × 5) src/cache/cache.rs:460
- Coverage collected but not gated
Minor — 11 finding(s)
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- Documentation: no project overview README.md
- No ADRs found
- Projects may be oversized for their cohesion
- Further orphaned files (smaller)
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No changelog
Minor — 30 finding(s)
- Outdated: anyhow
- Outdated: async-trait
- Outdated: blake3
- Outdated: bytes
- Outdated: chrono
- Outdated: clap
- Outdated: encoding_rs
- Outdated: env_logger
- Outdated: filetime
- Outdated: flate2
- Outdated: fs-err
- Outdated: futures
- Outdated: gzp
- Outdated: http-body-util
- Outdated: hyper
- Outdated: hyper-util
- Outdated: log
- Outdated: memmap2
- Outdated: openssl
- Outdated: reqwest
- Outdated: rustls-native-certs
- Outdated: semver
- Outdated: serde
- Outdated: strip-ansi-escapes
- Outdated: tar
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-a14d78f28e2b42bdb0ce33f8a8954b58/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-a14d78f28e2b42bdb0ce33f8a8954b58/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 . | 55 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 21 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 0 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |