Executive summary
Preview (pre-1.0). This repo hasn't declared a stable release, so it's judged against a relaxed, pre-production bar.
This system is a strong, stable asset with an overall health score of 66%, but it carries a hidden tax on delivery speed. While the architecture is robust and performance is excellent, the code quality in the core logic is dragging down maintainability. This creates a risk where every change becomes slower and more expensive than it needs to be, threatening long-term agility despite the system’s current reliability.
The value at stake is significant. With over forty thousand lines of production code, this is a medium-sized asset that would cost approximately seventy-three thousand euros to rebuild from scratch. However, the real cost is not in rebuilding, but in the ongoing friction of maintaining it. The codebase is heavily used, with nearly one hundred and fifty thousand lines modified annually, meaning inefficiencies here compound rapidly across the entire engineering team’s output.
The primary risk is a velocity tax embedded in the code’s complexity. The weakest area is code health, where high complexity and duplication act as a drag on every single change. This inefficiency likely adds four to nine percent to the effort required for modifications, creating a recurring annual cost that far exceeds the one-time effort to fix it. This is not just a technical debt; it is a direct hit to the team’s capacity to deliver new features.
A secondary concern is the fragmented structure of the code. Large files bundle multiple responsibilities, making it difficult for new engineers to understand the system or for teams to work in parallel without conflicts. This lack of clear boundaries increases the risk of defects and slows down onboarding, further eroding the team’s ability to respond to business needs quickly.
What is genuinely good is the system’s architectural integrity and performance. The design is sound, and the system is highly reliable in production. These strengths provide a solid foundation that makes remediation feasible without requiring a risky rewrite. The focus should be on refactoring the messy code rather than changing the underlying structure.
The first action should be to split the largest files into smaller, focused modules. This single move breaks even within months by reducing the annual drag on development. It is the highest-leverage step to restore speed and reduce risk, allowing the team to capitalize on the system’s strong architectural base.
Raise Code Health 58 → 70 (the Healthy floor) ⇒ headline 66 → ~71.
New since the last scan (54+)
- D1 · fff_search::score::match_and_score_in_arena_inner (cyclomatic 46) crates/fff-core/src/score.rs
- D1 · BigramIndexBuilder::compress (cyclomatic 19) crates/fff-core/src/index/bigram_filter.rs
- D1 · fff_search::git_recency::compute_git_recency (cyclomatic 18) crates/fff-core/src/git_recency.rs
- D2 · fff_search::score::match_and_score_in_arena_inner (cognitive 75) crates/fff-core/src/score.rs
- D2 · fff_search::git_recency::compute_git_recency (cognitive 35) crates/fff-core/src/git_recency.rs
- D3 · FunctionTooLong: fff_search::score::match_and_score_in_arena_inner crates/fff-core/src/score.rs
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) crates/fff-c/src/lib.rs
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) crates/fff-c/src/lib.rs
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) crates/fff-nvim/src/bin/bench_grep_query.rs
- D4 · Duplicated block (18 lines × 2) crates/fff-core/src/score.rs
- D4 · Duplicated block (9–11 lines × 2) crates/fff-core/src/dbs/frecency.rs
- D4 · Duplicated block (10 lines × 2) crates/fff-core/src/score.rs
- D4 · Duplicated block (9 lines × 2) crates/fff-core/src/watcher/background_watcher.rs
- D4 · Duplicated block (7 lines × 2) crates/fff-core/src/index/bigram_filter.rs
- D4 · Duplicated block (6 lines × 2) crates/fff-core/src/index/bigram_filter.rs
- D5 · Off the main sequence: @ff-labs/fff-bun
- D5 · Off the main sequence: @ff-labs/fff-node
- D5 · Off the main sequence: fff-search
- D5 · Off the main sequence: fff-query-parser
- D15 · Hotspot: crates/fff-core/src/index/bigram_filter.rs crates/fff-core/src/index/bigram_filter.rs
- D15 · Hotspot: crates/fff-nvim/src/bin/grep_profiler.rs crates/fff-nvim/src/bin/grep_profiler.rs
- D15 · Repeated repair: packages/fff-node/src/ffi.ts packages/fff-node/src/ffi.ts
- D15 · Repeated repair: packages/fff-node/test/watch.mjs packages/fff-node/test/watch.mjs
- D22 · Inconsistent return type for path lookup. One returns the item directly (implying it always exists or panics/returns default), while the other returns an Option. This creates confusion about whether the item is guaranteed to exist.
- D22 · Two constructors with significantly different signatures for the same type. `new_with_shared_state` is a specialized factory method that duplicates the intent of creating a FilePicker but requires internal shared state objects that are not present in the standard `new` constructor. This suggests `new` might be a convenience wrapper or that the shared state pattern is inconsistently applied.
- D22 · Inconsistent method naming for search variants. `fuzzy_search` is the default, but `fuzzy_search_directories` and `fuzzy_search_mixed` are explicit. However, `fuzzy_search` takes a `query_tracker` while `fuzzy_search_directories` does not. The naming doesn't clearly indicate that `fuzzy_search` is 'files only' vs 'mixed'.
- D22 · Duplicate function signatures in the same module. The second signature uses an underscore-prefixed parameter `_bytes`, which in Rust usually indicates an unused variable, but having two functions with the same name and signature in the same scope is a compilation error or indicates a copy-paste error in the API surface provided.
- D30 · REDACTED
- D30 · REDACTED
- R10 · Wholesale file copy (190 identical lines × 2 files) packages/fff-bun/src/finder.ts
- R10 · Wholesale file copy (68 identical lines × 2 files) packages/fff-bun/src/platform.ts
- R10 · Duplicated block (52 lines × 2 locations) packages/fff-bun/src/download.ts
- R10 · Duplicated block (41 lines × 2 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (30 lines × 2 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (24 lines × 4 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (24 lines × 2 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (23 lines × 2 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (18 lines × 2 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (17 lines × 2 locations) packages/pi-fff/src/index.ts
- R10 · Duplicated block (16 lines × 2 locations) packages/pi-fff/src/index.ts
- R10 · Duplicated block (15 lines × 2 locations) packages/pi-fff/src/index.ts
- R10 · Duplicated block (14 lines × 2 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (13 lines × 2 locations) packages/pi-fff/src/index.ts
- R10 · Duplicated block (11 lines × 4 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (11 lines × 2 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (11 lines × 2 locations) packages/pi-fff/src/index.ts
- R10 · Duplicated block (10 lines × 2 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (10 lines × 4 locations) packages/fff-node/src/ffi.ts
- R10 · Duplicated block (9 lines × 2 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (9 lines × 2 locations) packages/pi-fff/src/index.ts
- R10 · Duplicated block (8 lines × 2 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (8 lines × 3 locations) packages/fff-bun/src/ffi.ts
- R10 · Duplicated block (7 lines × 2 locations) packages/pi-fff/src/paths.ts
- R10 · Duplicated block (6 lines × 2 locations) packages/fff-node/src/ffi.ts
Rebuild cost & value ~ Modeled — €24,000–€120,000
| Cost to rebuild | €24,000–€120,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.9× (at 66% 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 ~€73,000 to rebuild). Its weakest lens is Code Health at 58% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 fff_nvim.hex_dump | 2 fff_query_parser.constraints | 3 fff_query_parser.location | 4 fff_search.dbs.db_healthcheck | 5 packages.fff-bun.src.fff-api | 6 packages.pi-fff.src | 7 fff_grep.matcher | 8 fff_query_parser.parser | 9 fff_search.shared | 10 fff_search.simd_path | 11 fff_grep.searcher | 12 fff_search.git_status_worker | 13 fff_search.index.constraints | 14 fff_search.scan | 15 fff_grep.searcher.core | 16 fff_grep.sink | 17 fff_search.watcher.background_watcher | 18 fff_grep.searcher.glue | 19 fff_search.error | 20 fff_search.dbs.env_pool | 21 fff_search.dbs.lmdb | 22 fff_search.dbs.frecency | 23 fff_search.dbs.query_tracker | 24 fff_search.types | 25 fff_search.grep.types | 26 fff_search.index.bigram_filter | 27 fff_search.score | 28 fff_python.types | 29 fff_search.file_picker | 30 fff_search.grep.fuzzy_grep | 31 fff_search.grep.sink | 32 fff_c.ffi_types | 33 fff_mcp.output | 34 fff_nvim.lua_types | 35 fff_python.finder | 36 fff_search.grep.grep | 37 fff_search.grep.multi_pattern | 38 fff_search.grep.regex | 39 fff_c | 40 fff_mcp.server |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 fff_nvim.hex_dump | ||||||||||||||||||||||||||||||||||||||||
| 2 fff_query_parser.constraints | ||||||||||||||||||||||||||||||||||||||||
| 3 fff_query_parser.location | ||||||||||||||||||||||||||||||||||||||||
| 4 fff_search.dbs.db_healthcheck | ||||||||||||||||||||||||||||||||||||||||
| 5 packages.fff-bun.src.fff-api | ||||||||||||||||||||||||||||||||||||||||
| 6 packages.pi-fff.src | ||||||||||||||||||||||||||||||||||||||||
| 7 fff_grep.matcher | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 fff_query_parser.parser | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 9 fff_search.shared | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 fff_search.simd_path | 2 | |||||||||||||||||||||||||||||||||||||||
| 11 fff_grep.searcher | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 12 fff_search.git_status_worker | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 fff_search.index.constraints | 2 | 4 | ||||||||||||||||||||||||||||||||||||||
| 14 fff_search.scan | 1 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 15 fff_grep.searcher.core | 2 | |||||||||||||||||||||||||||||||||||||||
| 16 fff_grep.sink | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 fff_search.watcher.background_watcher | 1 | 2 | 2 | 3 | ||||||||||||||||||||||||||||||||||||
| 18 fff_grep.searcher.glue | 3 | 2 | ||||||||||||||||||||||||||||||||||||||
| 19 fff_search.error | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 fff_search.dbs.env_pool | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 fff_search.dbs.lmdb | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 22 fff_search.dbs.frecency | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 23 fff_search.dbs.query_tracker | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 24 fff_search.types | 2 | 1 | 5 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 25 fff_search.grep.types | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 fff_search.index.bigram_filter | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 fff_search.score | 1 | 1 | 1 | 1 | 5 | |||||||||||||||||||||||||||||||||||
| 28 fff_python.types | 6 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 fff_search.file_picker | 1 | 1 | 1 | 7 | 1 | 1 | 1 | 1 | 1 | 12 | 2 | 4 | ||||||||||||||||||||||||||||
| 30 fff_search.grep.fuzzy_grep | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 31 fff_search.grep.sink | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 fff_c.ffi_types | 1 | 8 | 2 | 9 | ||||||||||||||||||||||||||||||||||||
| 33 fff_mcp.output | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 34 fff_nvim.lua_types | 1 | 6 | 1 | 5 | ||||||||||||||||||||||||||||||||||||
| 35 fff_python.finder | 2 | 2 | 3 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 36 fff_search.grep.grep | 2 | 1 | 2 | 1 | 3 | 3 | 2 | 2 | 1 | |||||||||||||||||||||||||||||||
| 37 fff_search.grep.multi_pattern | 2 | 1 | 1 | 3 | 1 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||
| 38 fff_search.grep.regex | 2 | 1 | 3 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 39 fff_c | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 fff_mcp.server | 1 | 2 | 2 |
7→19 fff_grep.matcher depends on fff_search.error cycle✕
- Type pairs
- 1 distinct (type in fff_grep.matcher → type in fff_search.error) reference.
- Which types
fff_grep.matcher.NoError→fff_search.error.Error
- Direction
- fff_grep.matcher uses fff_search.error. Changing fff_search.error can break fff_grep.matcher, 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→2 fff_query_parser.parser depends on fff_query_parser.constraints✕
- Type pairs
- 1 distinct (type in fff_query_parser.parser → type in fff_query_parser.constraints) reference.
- Which types
fff_query_parser.parser.parser$module→fff_query_parser.constraints.Constraint
- Direction
- fff_query_parser.parser uses fff_query_parser.constraints. Changing fff_query_parser.constraints can break fff_query_parser.parser, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→3 fff_query_parser.parser depends on fff_query_parser.location✕
- Type pairs
- 1 distinct (type in fff_query_parser.parser → type in fff_query_parser.location) reference.
- Which types
fff_query_parser.parser.FFFQuery→fff_query_parser.location.Location
- Direction
- fff_query_parser.parser uses fff_query_parser.location. Changing fff_query_parser.location can break fff_query_parser.parser, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→29 fff_search.shared depends on fff_search.file_picker cycle✕
- Type pairs
- 1 distinct (type in fff_search.shared → type in fff_search.file_picker) reference.
- Which types
fff_search.shared.SharedPickerInner→fff_search.file_picker.FilePicker
- Direction
- fff_search.shared uses fff_search.file_picker. Changing fff_search.file_picker can break fff_search.shared, 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→24 fff_search.simd_path depends on fff_search.types cycle✕
- Type pairs
- 2 distinct (type in fff_search.simd_path → type in fff_search.types) references.
- Which types
fff_search.simd_path.ArenaPtr→fff_search.types.FFFStringStoragefff_search.simd_path.ArenaPtr→fff_search.types.FileItem
- Direction
- fff_search.simd_path uses fff_search.types. Changing fff_search.types can break fff_search.simd_path, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
11→7 fff_grep.searcher depends on fff_grep.matcher✕
- Type pairs
- 2 distinct (type in fff_grep.searcher → type in fff_grep.matcher) references.
- Which types
fff_grep.searcher.Config→fff_grep.matcher.LineTerminatorfff_grep.searcher.Searcher→fff_grep.matcher.LineTerminator
- Direction
- fff_grep.searcher uses fff_grep.matcher. Changing fff_grep.matcher can break fff_grep.searcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→19 fff_grep.searcher depends on fff_search.error cycle✕
- Type pairs
- 1 distinct (type in fff_grep.searcher → type in fff_search.error) reference.
- Which types
fff_grep.searcher.ConfigError→fff_search.error.Error
- Direction
- fff_grep.searcher uses fff_search.error. Changing fff_search.error can break fff_grep.searcher, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
12→9 fff_search.git_status_worker depends on fff_search.shared✕
- Type pairs
- 1 distinct (type in fff_search.git_status_worker → type in fff_search.shared) reference.
- Which types
fff_search.git_status_worker.GitStatusWorker→fff_search.shared.WeakFilePicker
- Direction
- fff_search.git_status_worker uses fff_search.shared. Changing fff_search.shared can break fff_search.git_status_worker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→2 fff_search.index.constraints depends on fff_query_parser.constraints✕
- Type pairs
- 2 distinct (type in fff_search.index.constraints → type in fff_query_parser.constraints) references.
- Which types
fff_search.index.constraints.constraints$module→fff_query_parser.constraints.Constraintfff_search.index.constraints.constraints$module→fff_query_parser.constraints.GitStatusFilter
- Direction
- fff_search.index.constraints uses fff_query_parser.constraints. Changing fff_query_parser.constraints can break fff_search.index.constraints, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→10 fff_search.index.constraints depends on fff_search.simd_path✕
- Type pairs
- 4 distinct (type in fff_search.index.constraints → type in fff_search.simd_path) references.
- Which types
fff_search.index.constraints.Constrainable→fff_search.simd_path.ArenaPtrfff_search.index.constraints.ConstraintPlan→fff_search.simd_path.ArenaPtrfff_search.index.constraints.PathBuffer→fff_search.simd_path.ArenaPtrfff_search.index.constraints.constraints$module→fff_search.simd_path.ArenaPtr
- Direction
- fff_search.index.constraints uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.index.constraints, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→1 fff_search.scan depends on fff_nvim.hex_dump✕
- Type pairs
- 1 distinct (type in fff_search.scan → type in fff_nvim.hex_dump) reference.
- Which types
fff_search.scan.ScanJob→fff_nvim.hex_dump.Span
- Direction
- fff_search.scan uses fff_nvim.hex_dump. Changing fff_nvim.hex_dump can break fff_search.scan, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→9 fff_search.scan depends on fff_search.shared✕
- Type pairs
- 2 distinct (type in fff_search.scan → type in fff_search.shared) references.
- Which types
fff_search.scan.ScanJob→fff_search.shared.SharedFilePickerfff_search.scan.scan$module→fff_search.shared.SharedFilePicker
- Direction
- fff_search.scan uses fff_search.shared. Changing fff_search.shared can break fff_search.scan, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→29 fff_search.scan depends on fff_search.file_picker cycle✕
- Type pairs
- 2 distinct (type in fff_search.scan → type in fff_search.file_picker) references.
- Which types
fff_search.scan.ScanJob→fff_search.file_picker.FFFModefff_search.scan.ScanJob→fff_search.file_picker.PostScanUnsafeSnapshot
- Direction
- fff_search.scan uses fff_search.file_picker. Changing fff_search.file_picker can break fff_search.scan, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
15→11 fff_grep.searcher.core depends on fff_grep.searcher✕
- Type pairs
- 2 distinct (type in fff_grep.searcher.core → type in fff_grep.searcher) references.
- Which types
fff_grep.searcher.core.Core→fff_grep.searcher.Configfff_grep.searcher.core.Core→fff_grep.searcher.Searcher
- Direction
- fff_grep.searcher.core uses fff_grep.searcher. Changing fff_grep.searcher can break fff_grep.searcher.core, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→11 fff_grep.sink depends on fff_grep.searcher✕
- Type pairs
- 1 distinct (type in fff_grep.sink → type in fff_grep.searcher) reference.
- Which types
fff_grep.sink.Sink→fff_grep.searcher.Searcher
- Direction
- fff_grep.sink uses fff_grep.searcher. Changing fff_grep.searcher can break fff_grep.sink, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→19 fff_grep.sink depends on fff_search.error cycle✕
- Type pairs
- 1 distinct (type in fff_grep.sink → type in fff_search.error) reference.
- Which types
fff_grep.sink.SinkError→fff_search.error.Error
- Direction
- fff_grep.sink uses fff_search.error. Changing fff_search.error can break fff_grep.sink, 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→1 fff_search.watcher.background_watcher depends on fff_nvim.hex_dump✕
- Type pairs
- 1 distinct (type in fff_search.watcher.background_watcher → type in fff_nvim.hex_dump) reference.
- Which types
fff_search.watcher.background_watcher.BackgroundWatcher→fff_nvim.hex_dump.Span
- Direction
- fff_search.watcher.background_watcher uses fff_nvim.hex_dump. Changing fff_nvim.hex_dump can break fff_search.watcher.background_watcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→9 fff_search.watcher.background_watcher depends on fff_search.shared✕
- Type pairs
- 2 distinct (type in fff_search.watcher.background_watcher → type in fff_search.shared) references.
- Which types
fff_search.watcher.background_watcher.BackgroundWatcher→fff_search.shared.SharedFilePickerfff_search.watcher.background_watcher.background_watcher$module→fff_search.shared.SharedFilePicker
- Direction
- fff_search.watcher.background_watcher uses fff_search.shared. Changing fff_search.shared can break fff_search.watcher.background_watcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→12 fff_search.watcher.background_watcher depends on fff_search.git_status_worker✕
- Type pairs
- 2 distinct (type in fff_search.watcher.background_watcher → type in fff_search.git_status_worker) references.
- Which types
fff_search.watcher.background_watcher.BackgroundWatcher→fff_search.git_status_worker.GitStatusWorkerfff_search.watcher.background_watcher.background_watcher$module→fff_search.git_status_worker.GitStatusWorker
- Direction
- fff_search.watcher.background_watcher uses fff_search.git_status_worker. Changing fff_search.git_status_worker can break fff_search.watcher.background_watcher, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→29 fff_search.watcher.background_watcher depends on fff_search.file_picker cycle✕
- Type pairs
- 3 distinct (type in fff_search.watcher.background_watcher → type in fff_search.file_picker) references.
- Which types
fff_search.watcher.background_watcher.BackgroundWatcher→fff_search.file_picker.FFFModefff_search.watcher.background_watcher.background_watcher$module→fff_search.file_picker.FFFModefff_search.watcher.background_watcher.background_watcher$module→fff_search.file_picker.FilePicker
- Direction
- fff_search.watcher.background_watcher uses fff_search.file_picker. Changing fff_search.file_picker can break fff_search.watcher.background_watcher, 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→11 fff_grep.searcher.glue depends on fff_grep.searcher✕
- Type pairs
- 3 distinct (type in fff_grep.searcher.glue → type in fff_grep.searcher) references.
- Which types
fff_grep.searcher.glue.MultiLine→fff_grep.searcher.Configfff_grep.searcher.glue.MultiLine→fff_grep.searcher.Searcherfff_grep.searcher.glue.SliceByLine→fff_grep.searcher.Searcher
- Direction
- fff_grep.searcher.glue uses fff_grep.searcher. Changing fff_grep.searcher can break fff_grep.searcher.glue, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→15 fff_grep.searcher.glue depends on fff_grep.searcher.core✕
- Type pairs
- 2 distinct (type in fff_grep.searcher.glue → type in fff_grep.searcher.core) references.
- Which types
fff_grep.searcher.glue.MultiLine→fff_grep.searcher.core.Corefff_grep.searcher.glue.SliceByLine→fff_grep.searcher.core.Core
- Direction
- fff_grep.searcher.glue uses fff_grep.searcher.core. Changing fff_grep.searcher.core can break fff_grep.searcher.glue, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→16 fff_search.error depends on fff_grep.sink✕
- Type pairs
- 1 distinct (type in fff_search.error → type in fff_grep.sink) reference.
- Which types
fff_search.error.Error→fff_grep.sink.SinkError
- Direction
- fff_search.error uses fff_grep.sink. Changing fff_grep.sink can break fff_search.error, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→4 fff_search.dbs.env_pool depends on fff_search.dbs.db_healthcheck✕
- Type pairs
- 2 distinct (type in fff_search.dbs.env_pool → type in fff_search.dbs.db_healthcheck) references.
- Which types
fff_search.dbs.env_pool.PooledEnv→fff_search.dbs.db_healthcheck.DbHealthfff_search.dbs.env_pool.SharedEnv→fff_search.dbs.db_healthcheck.DbHealth
- Direction
- fff_search.dbs.env_pool uses fff_search.dbs.db_healthcheck. Changing fff_search.dbs.db_healthcheck can break fff_search.dbs.env_pool, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→19 fff_search.dbs.env_pool depends on fff_search.error✕
- Type pairs
- 1 distinct (type in fff_search.dbs.env_pool → type in fff_search.error) reference.
- Which types
fff_search.dbs.env_pool.env_pool$module→fff_search.error.Error
- Direction
- fff_search.dbs.env_pool uses fff_search.error. Changing fff_search.error can break fff_search.dbs.env_pool, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→4 fff_search.dbs.lmdb depends on fff_search.dbs.db_healthcheck✕
- Type pairs
- 1 distinct (type in fff_search.dbs.lmdb → type in fff_search.dbs.db_healthcheck) reference.
- Which types
fff_search.dbs.lmdb.LmdbStore→fff_search.dbs.db_healthcheck.DbHealth
- Direction
- fff_search.dbs.lmdb uses fff_search.dbs.db_healthcheck. Changing fff_search.dbs.db_healthcheck can break fff_search.dbs.lmdb, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→19 fff_search.dbs.lmdb depends on fff_search.error✕
- Type pairs
- 1 distinct (type in fff_search.dbs.lmdb → type in fff_search.error) reference.
- Which types
fff_search.dbs.lmdb.lmdb$module→fff_search.error.Error
- Direction
- fff_search.dbs.lmdb uses fff_search.error. Changing fff_search.error can break fff_search.dbs.lmdb, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→20 fff_search.dbs.lmdb depends on fff_search.dbs.env_pool✕
- Type pairs
- 1 distinct (type in fff_search.dbs.lmdb → type in fff_search.dbs.env_pool) reference.
- Which types
fff_search.dbs.lmdb.LmdbStore→fff_search.dbs.env_pool.SharedEnv
- Direction
- fff_search.dbs.lmdb uses fff_search.dbs.env_pool. Changing fff_search.dbs.env_pool can break fff_search.dbs.lmdb, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→4 fff_search.dbs.frecency depends on fff_search.dbs.db_healthcheck✕
- Type pairs
- 2 distinct (type in fff_search.dbs.frecency → type in fff_search.dbs.db_healthcheck) references.
- Which types
fff_search.dbs.frecency.FrecencyTracker→fff_search.dbs.db_healthcheck.DbHealthfff_search.dbs.frecency.FrecencyTracker→fff_search.dbs.db_healthcheck.DbHealthChecker
- Direction
- fff_search.dbs.frecency uses fff_search.dbs.db_healthcheck. Changing fff_search.dbs.db_healthcheck can break fff_search.dbs.frecency, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→20 fff_search.dbs.frecency depends on fff_search.dbs.env_pool✕
- Type pairs
- 1 distinct (type in fff_search.dbs.frecency → type in fff_search.dbs.env_pool) reference.
- Which types
fff_search.dbs.frecency.FrecencyTracker→fff_search.dbs.env_pool.SharedEnv
- Direction
- fff_search.dbs.frecency uses fff_search.dbs.env_pool. Changing fff_search.dbs.env_pool can break fff_search.dbs.frecency, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→21 fff_search.dbs.frecency depends on fff_search.dbs.lmdb✕
- Type pairs
- 1 distinct (type in fff_search.dbs.frecency → type in fff_search.dbs.lmdb) reference.
- Which types
fff_search.dbs.frecency.FrecencyTracker→fff_search.dbs.lmdb.LmdbStore
- Direction
- fff_search.dbs.frecency uses fff_search.dbs.lmdb. Changing fff_search.dbs.lmdb can break fff_search.dbs.frecency, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→29 fff_search.dbs.frecency depends on fff_search.file_picker cycle✕
- Type pairs
- 1 distinct (type in fff_search.dbs.frecency → type in fff_search.file_picker) reference.
- Which types
fff_search.dbs.frecency.FrecencyTracker→fff_search.file_picker.FFFMode
- Direction
- fff_search.dbs.frecency uses fff_search.file_picker. Changing fff_search.file_picker can break fff_search.dbs.frecency, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
23→4 fff_search.dbs.query_tracker depends on fff_search.dbs.db_healthcheck✕
- Type pairs
- 2 distinct (type in fff_search.dbs.query_tracker → type in fff_search.dbs.db_healthcheck) references.
- Which types
fff_search.dbs.query_tracker.QueryTracker→fff_search.dbs.db_healthcheck.DbHealthfff_search.dbs.query_tracker.QueryTracker→fff_search.dbs.db_healthcheck.DbHealthChecker
- Direction
- fff_search.dbs.query_tracker uses fff_search.dbs.db_healthcheck. Changing fff_search.dbs.db_healthcheck can break fff_search.dbs.query_tracker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→20 fff_search.dbs.query_tracker depends on fff_search.dbs.env_pool✕
- Type pairs
- 1 distinct (type in fff_search.dbs.query_tracker → type in fff_search.dbs.env_pool) reference.
- Which types
fff_search.dbs.query_tracker.QueryTracker→fff_search.dbs.env_pool.SharedEnv
- Direction
- fff_search.dbs.query_tracker uses fff_search.dbs.env_pool. Changing fff_search.dbs.env_pool can break fff_search.dbs.query_tracker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→21 fff_search.dbs.query_tracker depends on fff_search.dbs.lmdb✕
- Type pairs
- 1 distinct (type in fff_search.dbs.query_tracker → type in fff_search.dbs.lmdb) reference.
- Which types
fff_search.dbs.query_tracker.QueryTracker→fff_search.dbs.lmdb.LmdbStore
- Direction
- fff_search.dbs.query_tracker uses fff_search.dbs.lmdb. Changing fff_search.dbs.lmdb can break fff_search.dbs.query_tracker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→3 fff_search.types depends on fff_query_parser.location✕
- Type pairs
- 2 distinct (type in fff_search.types → type in fff_query_parser.location) references.
- Which types
fff_search.types.MixedSearchResult→fff_query_parser.location.Locationfff_search.types.SearchResult→fff_query_parser.location.Location
- Direction
- fff_search.types uses fff_query_parser.location. Changing fff_query_parser.location can break fff_search.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→8 fff_search.types depends on fff_query_parser.parser✕
- Type pairs
- 1 distinct (type in fff_search.types → type in fff_query_parser.parser) reference.
- Which types
fff_search.types.ScoringContext→fff_query_parser.parser.FFFQuery
- Direction
- fff_search.types uses fff_query_parser.parser. Changing fff_query_parser.parser can break fff_search.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→10 fff_search.types depends on fff_search.simd_path✕
- Type pairs
- 5 distinct (type in fff_search.types → type in fff_search.simd_path) references.
- Which types
fff_search.types.DirItem→fff_search.simd_path.ArenaPtrfff_search.types.DirItem→fff_search.simd_path.ChunkedStringfff_search.types.FFFStringStorage→fff_search.simd_path.ArenaPtrfff_search.types.FileItem→fff_search.simd_path.ArenaPtrfff_search.types.FileItem→fff_search.simd_path.ChunkedString
- Direction
- fff_search.types uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→13 fff_search.types depends on fff_search.index.constraints✕
- Type pairs
- 2 distinct (type in fff_search.types → type in fff_search.index.constraints) references.
- Which types
fff_search.types.DirItem→fff_search.index.constraints.Constrainablefff_search.types.FileItem→fff_search.index.constraints.Constrainable
- Direction
- fff_search.types uses fff_search.index.constraints. Changing fff_search.index.constraints can break fff_search.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→22 fff_search.types depends on fff_search.dbs.frecency✕
- Type pairs
- 1 distinct (type in fff_search.types → type in fff_search.dbs.frecency) reference.
- Which types
fff_search.types.FileItem→fff_search.dbs.frecency.FrecencyTracker
- Direction
- fff_search.types uses fff_search.dbs.frecency. Changing fff_search.dbs.frecency can break fff_search.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→23 fff_search.types depends on fff_search.dbs.query_tracker✕
- Type pairs
- 1 distinct (type in fff_search.types → type in fff_search.dbs.query_tracker) reference.
- Which types
fff_search.types.ScoringContext→fff_search.dbs.query_tracker.QueryMatchEntry
- Direction
- fff_search.types uses fff_search.dbs.query_tracker. Changing fff_search.dbs.query_tracker can break fff_search.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→29 fff_search.types depends on fff_search.file_picker cycle✕
- Type pairs
- 1 distinct (type in fff_search.types → type in fff_search.file_picker) reference.
- Which types
fff_search.types.FileItem→fff_search.file_picker.FFFMode
- Direction
- fff_search.types uses fff_search.file_picker. Changing fff_search.file_picker can break fff_search.types, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
25→24 fff_search.grep.types depends on fff_search.types✕
- Type pairs
- 1 distinct (type in fff_search.grep.types → type in fff_search.types) reference.
- Which types
fff_search.grep.types.GrepResult→fff_search.types.FileItem
- Direction
- fff_search.grep.types uses fff_search.types. Changing fff_search.types can break fff_search.grep.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→10 fff_search.index.bigram_filter depends on fff_search.simd_path✕
- Type pairs
- 1 distinct (type in fff_search.index.bigram_filter → type in fff_search.simd_path) reference.
- Which types
fff_search.index.bigram_filter.bigram_filter$module→fff_search.simd_path.ArenaPtr
- Direction
- fff_search.index.bigram_filter uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.index.bigram_filter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→24 fff_search.index.bigram_filter depends on fff_search.types✕
- Type pairs
- 1 distinct (type in fff_search.index.bigram_filter → type in fff_search.types) reference.
- Which types
fff_search.index.bigram_filter.bigram_filter$module→fff_search.types.FileItem
- Direction
- fff_search.index.bigram_filter uses fff_search.types. Changing fff_search.types can break fff_search.index.bigram_filter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→7 fff_search.score depends on fff_grep.matcher✕
- Type pairs
- 1 distinct (type in fff_search.score → type in fff_grep.matcher) reference.
- Which types
fff_search.score.score$module→fff_grep.matcher.Match
- Direction
- fff_search.score uses fff_grep.matcher. Changing fff_grep.matcher can break fff_search.score, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 fff_search.score depends on fff_query_parser.parser✕
- Type pairs
- 1 distinct (type in fff_search.score → type in fff_query_parser.parser) reference.
- Which types
fff_search.score.score$module→fff_query_parser.parser.FFFQuery
- Direction
- fff_search.score uses fff_query_parser.parser. Changing fff_query_parser.parser can break fff_search.score, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→10 fff_search.score depends on fff_search.simd_path✕
- Type pairs
- 1 distinct (type in fff_search.score → type in fff_search.simd_path) reference.
- Which types
fff_search.score.score$module→fff_search.simd_path.ArenaPtr
- Direction
- fff_search.score uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.score, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→11 fff_search.score depends on fff_grep.searcher✕
- Type pairs
- 1 distinct (type in fff_search.score → type in fff_grep.searcher) reference.
- Which types
fff_search.score.score$module→fff_grep.searcher.Config
- Direction
- fff_search.score uses fff_grep.searcher. Changing fff_grep.searcher can break fff_search.score, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→24 fff_search.score depends on fff_search.types✕
- Type pairs
- 5 distinct (type in fff_search.score → type in fff_search.types) references.
- Which types
fff_search.score.FileItems→fff_search.types.FileItemfff_search.score.score$module→fff_search.types.DirItemfff_search.score.score$module→fff_search.types.FileItemfff_search.score.score$module→fff_search.types.Scorefff_search.score.score$module→fff_search.types.ScoringContext
- Direction
- fff_search.score uses fff_search.types. Changing fff_search.types can break fff_search.score, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→24 fff_python.types depends on fff_search.types✕
- Type pairs
- 6 distinct (type in fff_python.types → type in fff_search.types) references.
- Which types
fff_python.types.DirSearchResult→fff_search.types.DirItemfff_python.types.DirSearchResult→fff_search.types.Scorefff_python.types.MixedSearchResult→fff_search.types.Scorefff_python.types.Score→fff_search.types.Scorefff_python.types.SearchResult→fff_search.types.FileItemfff_python.types.SearchResult→fff_search.types.Score
- Direction
- fff_python.types uses fff_search.types. Changing fff_search.types can break fff_python.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→25 fff_python.types depends on fff_search.grep.types✕
- Type pairs
- 1 distinct (type in fff_python.types → type in fff_search.grep.types) reference.
- Which types
fff_python.types.GrepResult→fff_search.grep.types.GrepMatch
- Direction
- fff_python.types uses fff_search.grep.types. Changing fff_search.grep.types can break fff_python.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→1 fff_search.file_picker depends on fff_nvim.hex_dump✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_nvim.hex_dump) reference.
- Which types
fff_search.file_picker.FilePicker→fff_nvim.hex_dump.Span
- Direction
- fff_search.file_picker uses fff_nvim.hex_dump. Changing fff_nvim.hex_dump can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→8 fff_search.file_picker depends on fff_query_parser.parser✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_query_parser.parser) reference.
- Which types
fff_search.file_picker.FilePicker→fff_query_parser.parser.FFFQuery
- Direction
- fff_search.file_picker uses fff_query_parser.parser. Changing fff_query_parser.parser can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 fff_search.file_picker depends on fff_search.shared✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_search.shared) reference.
- Which types
fff_search.file_picker.FilePicker→fff_search.shared.SharedFilePicker
- Direction
- fff_search.file_picker uses fff_search.shared. Changing fff_search.shared can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→10 fff_search.file_picker depends on fff_search.simd_path✕
- Type pairs
- 7 distinct (type in fff_search.file_picker → type in fff_search.simd_path) references.
- Which types
fff_search.file_picker.FilePicker→fff_search.simd_path.ArenaPtrfff_search.file_picker.FileSync→fff_search.simd_path.ArenaPtrfff_search.file_picker.FileSync→fff_search.simd_path.ChunkedPathStorefff_search.file_picker.FileSync→fff_search.simd_path.ChunkedPathStoreBuilderfff_search.file_picker.PostScanUnsafeSnapshot→fff_search.simd_path.ChunkedPathStorefff_search.file_picker.file_picker$module→fff_search.simd_path.ArenaPtrfff_search.file_picker.file_picker$module→fff_search.simd_path.ChunkedPathStoreBuilder
- Direction
- fff_search.file_picker uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→12 fff_search.file_picker depends on fff_search.git_status_worker✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_search.git_status_worker) reference.
- Which types
fff_search.file_picker.FilePicker→fff_search.git_status_worker.GitStatusWorker
- Direction
- fff_search.file_picker uses fff_search.git_status_worker. Changing fff_search.git_status_worker can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→14 fff_search.file_picker depends on fff_search.scan✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_search.scan) reference.
- Which types
fff_search.file_picker.FilePicker→fff_search.scan.ScanSignals
- Direction
- fff_search.file_picker uses fff_search.scan. Changing fff_search.scan can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→17 fff_search.file_picker depends on fff_search.watcher.background_watcher✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_search.watcher.background_watcher) reference.
- Which types
fff_search.file_picker.FilePicker→fff_search.watcher.background_watcher.BackgroundWatcher
- Direction
- fff_search.file_picker uses fff_search.watcher.background_watcher. Changing fff_search.watcher.background_watcher can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→22 fff_search.file_picker depends on fff_search.dbs.frecency✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_search.dbs.frecency) reference.
- Which types
fff_search.file_picker.FilePicker→fff_search.dbs.frecency.FrecencyTracker
- Direction
- fff_search.file_picker uses fff_search.dbs.frecency. Changing fff_search.dbs.frecency can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→23 fff_search.file_picker depends on fff_search.dbs.query_tracker✕
- Type pairs
- 1 distinct (type in fff_search.file_picker → type in fff_search.dbs.query_tracker) reference.
- Which types
fff_search.file_picker.FilePicker→fff_search.dbs.query_tracker.QueryTracker
- Direction
- fff_search.file_picker uses fff_search.dbs.query_tracker. Changing fff_search.dbs.query_tracker can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→24 fff_search.file_picker depends on fff_search.types✕
- Type pairs
- 12 distinct (type in fff_search.file_picker → type in fff_search.types) references.
- Which types
fff_search.file_picker.FilePicker→fff_search.types.ContentCacheBudgetfff_search.file_picker.FilePicker→fff_search.types.DirSearchResultfff_search.file_picker.FilePicker→fff_search.types.FFFStringStoragefff_search.file_picker.FilePicker→fff_search.types.FileItemfff_search.file_picker.FilePicker→fff_search.types.MixedSearchResultfff_search.file_picker.FilePicker→fff_search.types.SearchResultfff_search.file_picker.FilePickerOptions→fff_search.types.ContentCacheBudgetfff_search.file_picker.FileSync→fff_search.types.FileItemfff_search.file_picker.FuzzySearchOptions→fff_search.types.PaginationArgsfff_search.file_picker.PostScanUnsafeSnapshot→fff_search.types.ContentCacheBudgetfff_search.file_picker.file_picker$module→fff_search.types.ContentCacheBudgetfff_search.file_picker.file_picker$module→fff_search.types.DirItem
- Direction
- fff_search.file_picker uses fff_search.types. Changing fff_search.types can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→25 fff_search.file_picker depends on fff_search.grep.types✕
- Type pairs
- 2 distinct (type in fff_search.file_picker → type in fff_search.grep.types) references.
- Which types
fff_search.file_picker.FilePicker→fff_search.grep.types.GrepResultfff_search.file_picker.FilePicker→fff_search.grep.types.GrepSearchOptions
- Direction
- fff_search.file_picker uses fff_search.grep.types. Changing fff_search.grep.types can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→26 fff_search.file_picker depends on fff_search.index.bigram_filter✕
- Type pairs
- 4 distinct (type in fff_search.file_picker → type in fff_search.index.bigram_filter) references.
- Which types
fff_search.file_picker.FilePicker→fff_search.index.bigram_filter.BigramFilterfff_search.file_picker.FilePicker→fff_search.index.bigram_filter.BigramOverlayfff_search.file_picker.FileSync→fff_search.index.bigram_filter.BigramFilterfff_search.file_picker.FileSync→fff_search.index.bigram_filter.BigramOverlay
- Direction
- fff_search.file_picker uses fff_search.index.bigram_filter. Changing fff_search.index.bigram_filter can break fff_search.file_picker, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→10 fff_search.grep.fuzzy_grep depends on fff_search.simd_path✕
- Type pairs
- 1 distinct (type in fff_search.grep.fuzzy_grep → type in fff_search.simd_path) reference.
- Which types
fff_search.grep.fuzzy_grep.fuzzy_grep$module→fff_search.simd_path.ArenaPtr
- Direction
- fff_search.grep.fuzzy_grep uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.grep.fuzzy_grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→24 fff_search.grep.fuzzy_grep depends on fff_search.types✕
- Type pairs
- 1 distinct (type in fff_search.grep.fuzzy_grep → type in fff_search.types) reference.
- Which types
fff_search.grep.fuzzy_grep.fuzzy_grep$module→fff_search.types.ContentCacheBudget
- Direction
- fff_search.grep.fuzzy_grep uses fff_search.types. Changing fff_search.types can break fff_search.grep.fuzzy_grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→25 fff_search.grep.fuzzy_grep depends on fff_search.grep.types✕
- Type pairs
- 2 distinct (type in fff_search.grep.fuzzy_grep → type in fff_search.grep.types) references.
- Which types
fff_search.grep.fuzzy_grep.fuzzy_grep$module→fff_search.grep.types.GrepResultfff_search.grep.fuzzy_grep.fuzzy_grep$module→fff_search.grep.types.GrepSearchOptions
- Direction
- fff_search.grep.fuzzy_grep uses fff_search.grep.types. Changing fff_search.grep.types can break fff_search.grep.fuzzy_grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→11 fff_search.grep.sink depends on fff_grep.searcher✕
- Type pairs
- 1 distinct (type in fff_search.grep.sink → type in fff_grep.searcher) reference.
- Which types
fff_search.grep.sink.sink$module→fff_grep.searcher.Searcher
- Direction
- fff_search.grep.sink uses fff_grep.searcher. Changing fff_grep.searcher can break fff_search.grep.sink, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→16 fff_search.grep.sink depends on fff_grep.sink✕
- Type pairs
- 1 distinct (type in fff_search.grep.sink → type in fff_grep.sink) reference.
- Which types
fff_search.grep.sink.SinkState→fff_grep.sink.SinkMatch
- Direction
- fff_search.grep.sink uses fff_grep.sink. Changing fff_grep.sink can break fff_search.grep.sink, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→25 fff_search.grep.sink depends on fff_search.grep.types✕
- Type pairs
- 1 distinct (type in fff_search.grep.sink → type in fff_search.grep.types) reference.
- Which types
fff_search.grep.sink.SinkState→fff_search.grep.types.GrepMatch
- Direction
- fff_search.grep.sink uses fff_search.grep.types. Changing fff_search.grep.types can break fff_search.grep.sink, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→3 fff_c.ffi_types depends on fff_query_parser.location✕
- Type pairs
- 1 distinct (type in fff_c.ffi_types → type in fff_query_parser.location) reference.
- Which types
fff_c.ffi_types.FffLocation→fff_query_parser.location.Location
- Direction
- fff_c.ffi_types uses fff_query_parser.location. Changing fff_query_parser.location can break fff_c.ffi_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→24 fff_c.ffi_types depends on fff_search.types✕
- Type pairs
- 8 distinct (type in fff_c.ffi_types → type in fff_search.types) references.
- Which types
fff_c.ffi_types.FffDirItem→fff_search.types.DirItemfff_c.ffi_types.FffDirSearchResult→fff_search.types.DirSearchResultfff_c.ffi_types.FffFileItem→fff_search.types.FileItemfff_c.ffi_types.FffGrepMatch→fff_search.types.FileItemfff_c.ffi_types.FffMixedItem→fff_search.types.MixedItemReffff_c.ffi_types.FffMixedSearchResult→fff_search.types.MixedSearchResultfff_c.ffi_types.FffScore→fff_search.types.Scorefff_c.ffi_types.FffSearchResult→fff_search.types.SearchResult
- Direction
- fff_c.ffi_types uses fff_search.types. Changing fff_search.types can break fff_c.ffi_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→25 fff_c.ffi_types depends on fff_search.grep.types✕
- Type pairs
- 2 distinct (type in fff_c.ffi_types → type in fff_search.grep.types) references.
- Which types
fff_c.ffi_types.FffGrepMatch→fff_search.grep.types.GrepMatchfff_c.ffi_types.FffGrepResult→fff_search.grep.types.GrepResult
- Direction
- fff_c.ffi_types uses fff_search.grep.types. Changing fff_search.grep.types can break fff_c.ffi_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→29 fff_c.ffi_types depends on fff_search.file_picker✕
- Type pairs
- 9 distinct (type in fff_c.ffi_types → type in fff_search.file_picker) references.
- Which types
fff_c.ffi_types.FffDirItem→fff_search.file_picker.FilePickerfff_c.ffi_types.FffDirSearchResult→fff_search.file_picker.FilePickerfff_c.ffi_types.FffFileItem→fff_search.file_picker.FilePickerfff_c.ffi_types.FffGrepMatch→fff_search.file_picker.FilePickerfff_c.ffi_types.FffGrepResult→fff_search.file_picker.FilePickerfff_c.ffi_types.FffMixedItem→fff_search.file_picker.FilePickerfff_c.ffi_types.FffMixedSearchResult→fff_search.file_picker.FilePickerfff_c.ffi_types.FffScanProgress→fff_search.file_picker.ScanProgressfff_c.ffi_types.FffSearchResult→fff_search.file_picker.FilePicker
- Direction
- fff_c.ffi_types uses fff_search.file_picker. Changing fff_search.file_picker can break fff_c.ffi_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→24 fff_mcp.output depends on fff_search.types✕
- Type pairs
- 1 distinct (type in fff_mcp.output → type in fff_search.types) reference.
- Which types
fff_mcp.output.FileMeta→fff_search.types.FileItem
- Direction
- fff_mcp.output uses fff_search.types. Changing fff_search.types can break fff_mcp.output, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→29 fff_mcp.output depends on fff_search.file_picker✕
- Type pairs
- 2 distinct (type in fff_mcp.output → type in fff_search.file_picker) references.
- Which types
fff_mcp.output.GrepFormatter→fff_search.file_picker.FilePickerfff_mcp.output.output$module→fff_search.file_picker.FilePicker
- Direction
- fff_mcp.output uses fff_search.file_picker. Changing fff_search.file_picker can break fff_mcp.output, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→3 fff_nvim.lua_types depends on fff_query_parser.location✕
- Type pairs
- 1 distinct (type in fff_nvim.lua_types → type in fff_query_parser.location) reference.
- Which types
fff_nvim.lua_types.lua_types$module→fff_query_parser.location.Location
- Direction
- fff_nvim.lua_types uses fff_query_parser.location. Changing fff_query_parser.location can break fff_nvim.lua_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→24 fff_nvim.lua_types depends on fff_search.types✕
- Type pairs
- 6 distinct (type in fff_nvim.lua_types → type in fff_search.types) references.
- Which types
fff_nvim.lua_types.DirSearchResultLua→fff_search.types.DirSearchResultfff_nvim.lua_types.MixedSearchResultLua→fff_search.types.MixedSearchResultfff_nvim.lua_types.SearchResultLua→fff_search.types.SearchResultfff_nvim.lua_types.lua_types$module→fff_search.types.DirItemfff_nvim.lua_types.lua_types$module→fff_search.types.FileItemfff_nvim.lua_types.lua_types$module→fff_search.types.Score
- Direction
- fff_nvim.lua_types uses fff_search.types. Changing fff_search.types can break fff_nvim.lua_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→25 fff_nvim.lua_types depends on fff_search.grep.types✕
- Type pairs
- 1 distinct (type in fff_nvim.lua_types → type in fff_search.grep.types) reference.
- Which types
fff_nvim.lua_types.GrepResultLua→fff_search.grep.types.GrepResult
- Direction
- fff_nvim.lua_types uses fff_search.grep.types. Changing fff_search.grep.types can break fff_nvim.lua_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→29 fff_nvim.lua_types depends on fff_search.file_picker✕
- Type pairs
- 5 distinct (type in fff_nvim.lua_types → type in fff_search.file_picker) references.
- Which types
fff_nvim.lua_types.DirSearchResultLua→fff_search.file_picker.FilePickerfff_nvim.lua_types.GrepResultLua→fff_search.file_picker.FilePickerfff_nvim.lua_types.MixedSearchResultLua→fff_search.file_picker.FilePickerfff_nvim.lua_types.SearchResultLua→fff_search.file_picker.FilePickerfff_nvim.lua_types.lua_types$module→fff_search.file_picker.FilePicker
- Direction
- fff_nvim.lua_types uses fff_search.file_picker. Changing fff_search.file_picker can break fff_nvim.lua_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→9 fff_python.finder depends on fff_search.shared✕
- Type pairs
- 2 distinct (type in fff_python.finder → type in fff_search.shared) references.
- Which types
fff_python.finder.FileFinder→fff_search.shared.SharedFilePickerfff_python.finder.finder$module→fff_search.shared.SharedFilePicker
- Direction
- fff_python.finder uses fff_search.shared. Changing fff_search.shared can break fff_python.finder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→24 fff_python.finder depends on fff_search.types✕
- Type pairs
- 2 distinct (type in fff_python.finder → type in fff_search.types) references.
- Which types
fff_python.finder.finder$module→fff_search.types.PaginationArgsfff_python.finder.finder$module→fff_search.types.Score
- Direction
- fff_python.finder uses fff_search.types. Changing fff_search.types can break fff_python.finder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→25 fff_python.finder depends on fff_search.grep.types✕
- Type pairs
- 3 distinct (type in fff_python.finder → type in fff_search.grep.types) references.
- Which types
fff_python.finder.finder$module→fff_search.grep.types.GrepModefff_python.finder.finder$module→fff_search.grep.types.GrepResultfff_python.finder.finder$module→fff_search.grep.types.GrepSearchOptions
- Direction
- fff_python.finder uses fff_search.grep.types. Changing fff_search.grep.types can break fff_python.finder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→28 fff_python.finder depends on fff_python.types✕
- Type pairs
- 1 distinct (type in fff_python.finder → type in fff_python.types) reference.
- Which types
fff_python.finder.FileFinder→fff_python.types.GrepCursor
- Direction
- fff_python.finder uses fff_python.types. Changing fff_python.types can break fff_python.finder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→29 fff_python.finder depends on fff_search.file_picker✕
- Type pairs
- 2 distinct (type in fff_python.finder → type in fff_search.file_picker) references.
- Which types
fff_python.finder.finder$module→fff_search.file_picker.FilePickerfff_python.finder.finder$module→fff_search.file_picker.FuzzySearchOptions
- Direction
- fff_python.finder uses fff_search.file_picker. Changing fff_search.file_picker can break fff_python.finder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→7 fff_search.grep.grep depends on fff_grep.matcher✕
- Type pairs
- 2 distinct (type in fff_search.grep.grep → type in fff_grep.matcher) references.
- Which types
fff_search.grep.grep.PlainTextMatcher→fff_grep.matcher.LineTerminatorfff_search.grep.grep.PlainTextMatcher→fff_grep.matcher.Matcher
- Direction
- fff_search.grep.grep uses fff_grep.matcher. Changing fff_grep.matcher can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→8 fff_search.grep.grep depends on fff_query_parser.parser✕
- Type pairs
- 1 distinct (type in fff_search.grep.grep → type in fff_query_parser.parser) reference.
- Which types
fff_search.grep.grep.grep$module→fff_query_parser.parser.FFFQuery
- Direction
- fff_search.grep.grep uses fff_query_parser.parser. Changing fff_query_parser.parser can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→10 fff_search.grep.grep depends on fff_search.simd_path✕
- Type pairs
- 2 distinct (type in fff_search.grep.grep → type in fff_search.simd_path) references.
- Which types
fff_search.grep.grep.GrepContext→fff_search.simd_path.ArenaPtrfff_search.grep.grep.grep$module→fff_search.simd_path.ArenaPtr
- Direction
- fff_search.grep.grep uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→11 fff_search.grep.grep depends on fff_grep.searcher✕
- Type pairs
- 1 distinct (type in fff_search.grep.grep → type in fff_grep.searcher) reference.
- Which types
fff_search.grep.grep.PlainTextSink→fff_grep.searcher.Searcher
- Direction
- fff_search.grep.grep uses fff_grep.searcher. Changing fff_grep.searcher can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→16 fff_search.grep.grep depends on fff_grep.sink✕
- Type pairs
- 3 distinct (type in fff_search.grep.grep → type in fff_grep.sink) references.
- Which types
fff_search.grep.grep.PlainTextSink→fff_grep.sink.Sinkfff_search.grep.grep.PlainTextSink→fff_grep.sink.SinkFinishfff_search.grep.grep.PlainTextSink→fff_grep.sink.SinkMatch
- Direction
- fff_search.grep.grep uses fff_grep.sink. Changing fff_grep.sink can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→24 fff_search.grep.grep depends on fff_search.types✕
- Type pairs
- 3 distinct (type in fff_search.grep.grep → type in fff_search.types) references.
- Which types
fff_search.grep.grep.GrepContext→fff_search.types.ContentCacheBudgetfff_search.grep.grep.GrepContext→fff_search.types.FileItemfff_search.grep.grep.grep$module→fff_search.types.ContentCacheBudget
- Direction
- fff_search.grep.grep uses fff_search.types. Changing fff_search.types can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→25 fff_search.grep.grep depends on fff_search.grep.types✕
- Type pairs
- 2 distinct (type in fff_search.grep.grep → type in fff_search.grep.types) references.
- Which types
fff_search.grep.grep.grep$module→fff_search.grep.types.GrepResultfff_search.grep.grep.grep$module→fff_search.grep.types.GrepSearchOptions
- Direction
- fff_search.grep.grep uses fff_search.grep.types. Changing fff_search.grep.types can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→26 fff_search.grep.grep depends on fff_search.index.bigram_filter✕
- Type pairs
- 2 distinct (type in fff_search.grep.grep → type in fff_search.index.bigram_filter) references.
- Which types
fff_search.grep.grep.grep$module→fff_search.index.bigram_filter.BigramFilterfff_search.grep.grep.grep$module→fff_search.index.bigram_filter.BigramOverlay
- Direction
- fff_search.grep.grep uses fff_search.index.bigram_filter. Changing fff_search.index.bigram_filter can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→31 fff_search.grep.grep depends on fff_search.grep.sink✕
- Type pairs
- 1 distinct (type in fff_search.grep.grep → type in fff_search.grep.sink) reference.
- Which types
fff_search.grep.grep.PlainTextSink→fff_search.grep.sink.SinkState
- Direction
- fff_search.grep.grep uses fff_search.grep.sink. Changing fff_search.grep.sink can break fff_search.grep.grep, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→7 fff_search.grep.multi_pattern depends on fff_grep.matcher✕
- Type pairs
- 2 distinct (type in fff_search.grep.multi_pattern → type in fff_grep.matcher) references.
- Which types
fff_search.grep.multi_pattern.AhoCorasickMatcher→fff_grep.matcher.LineTerminatorfff_search.grep.multi_pattern.AhoCorasickMatcher→fff_grep.matcher.Matcher
- Direction
- fff_search.grep.multi_pattern uses fff_grep.matcher. Changing fff_grep.matcher can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→10 fff_search.grep.multi_pattern depends on fff_search.simd_path✕
- Type pairs
- 1 distinct (type in fff_search.grep.multi_pattern → type in fff_search.simd_path) reference.
- Which types
fff_search.grep.multi_pattern.multi_pattern$module→fff_search.simd_path.ArenaPtr
- Direction
- fff_search.grep.multi_pattern uses fff_search.simd_path. Changing fff_search.simd_path can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→11 fff_search.grep.multi_pattern depends on fff_grep.searcher✕
- Type pairs
- 1 distinct (type in fff_search.grep.multi_pattern → type in fff_grep.searcher) reference.
- Which types
fff_search.grep.multi_pattern.AhoCorasickSink→fff_grep.searcher.Searcher
- Direction
- fff_search.grep.multi_pattern uses fff_grep.searcher. Changing fff_grep.searcher can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→16 fff_search.grep.multi_pattern depends on fff_grep.sink✕
- Type pairs
- 3 distinct (type in fff_search.grep.multi_pattern → type in fff_grep.sink) references.
- Which types
fff_search.grep.multi_pattern.AhoCorasickSink→fff_grep.sink.Sinkfff_search.grep.multi_pattern.AhoCorasickSink→fff_grep.sink.SinkFinishfff_search.grep.multi_pattern.AhoCorasickSink→fff_grep.sink.SinkMatch
- Direction
- fff_search.grep.multi_pattern uses fff_grep.sink. Changing fff_grep.sink can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→24 fff_search.grep.multi_pattern depends on fff_search.types✕
- Type pairs
- 1 distinct (type in fff_search.grep.multi_pattern → type in fff_search.types) reference.
- Which types
fff_search.grep.multi_pattern.multi_pattern$module→fff_search.types.ContentCacheBudget
- Direction
- fff_search.grep.multi_pattern uses fff_search.types. Changing fff_search.types can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→25 fff_search.grep.multi_pattern depends on fff_search.grep.types✕
- Type pairs
- 2 distinct (type in fff_search.grep.multi_pattern → type in fff_search.grep.types) references.
- Which types
fff_search.grep.multi_pattern.multi_pattern$module→fff_search.grep.types.GrepResultfff_search.grep.multi_pattern.multi_pattern$module→fff_search.grep.types.GrepSearchOptions
- Direction
- fff_search.grep.multi_pattern uses fff_search.grep.types. Changing fff_search.grep.types can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→26 fff_search.grep.multi_pattern depends on fff_search.index.bigram_filter✕
- Type pairs
- 2 distinct (type in fff_search.grep.multi_pattern → type in fff_search.index.bigram_filter) references.
- Which types
fff_search.grep.multi_pattern.multi_pattern$module→fff_search.index.bigram_filter.BigramFilterfff_search.grep.multi_pattern.multi_pattern$module→fff_search.index.bigram_filter.BigramOverlay
- Direction
- fff_search.grep.multi_pattern uses fff_search.index.bigram_filter. Changing fff_search.index.bigram_filter can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→31 fff_search.grep.multi_pattern depends on fff_search.grep.sink✕
- Type pairs
- 1 distinct (type in fff_search.grep.multi_pattern → type in fff_search.grep.sink) reference.
- Which types
fff_search.grep.multi_pattern.AhoCorasickSink→fff_search.grep.sink.SinkState
- Direction
- fff_search.grep.multi_pattern uses fff_search.grep.sink. Changing fff_search.grep.sink can break fff_search.grep.multi_pattern, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→7 fff_search.grep.regex depends on fff_grep.matcher✕
- Type pairs
- 2 distinct (type in fff_search.grep.regex → type in fff_grep.matcher) references.
- Which types
fff_search.grep.regex.RegexMatcher→fff_grep.matcher.LineTerminatorfff_search.grep.regex.RegexMatcher→fff_grep.matcher.Matcher
- Direction
- fff_search.grep.regex uses fff_grep.matcher. Changing fff_grep.matcher can break fff_search.grep.regex, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→11 fff_search.grep.regex depends on fff_grep.searcher✕
- Type pairs
- 1 distinct (type in fff_search.grep.regex → type in fff_grep.searcher) reference.
- Which types
fff_search.grep.regex.RegexSink→fff_grep.searcher.Searcher
- Direction
- fff_search.grep.regex uses fff_grep.searcher. Changing fff_grep.searcher can break fff_search.grep.regex, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→16 fff_search.grep.regex depends on fff_grep.sink✕
- Type pairs
- 3 distinct (type in fff_search.grep.regex → type in fff_grep.sink) references.
- Which types
fff_search.grep.regex.RegexSink→fff_grep.sink.Sinkfff_search.grep.regex.RegexSink→fff_grep.sink.SinkFinishfff_search.grep.regex.RegexSink→fff_grep.sink.SinkMatch
- Direction
- fff_search.grep.regex uses fff_grep.sink. Changing fff_grep.sink can break fff_search.grep.regex, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→25 fff_search.grep.regex depends on fff_search.grep.types✕
- Type pairs
- 1 distinct (type in fff_search.grep.regex → type in fff_search.grep.types) reference.
- Which types
fff_search.grep.regex.regex$module→fff_search.grep.types.Casing
- Direction
- fff_search.grep.regex uses fff_search.grep.types. Changing fff_search.grep.types can break fff_search.grep.regex, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→31 fff_search.grep.regex depends on fff_search.grep.sink✕
- Type pairs
- 1 distinct (type in fff_search.grep.regex → type in fff_search.grep.sink) reference.
- Which types
fff_search.grep.regex.RegexSink→fff_search.grep.sink.SinkState
- Direction
- fff_search.grep.regex uses fff_search.grep.sink. Changing fff_search.grep.sink can break fff_search.grep.regex, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→9 fff_c depends on fff_search.shared✕
- Type pairs
- 1 distinct (type in fff_c → type in fff_search.shared) reference.
- Which types
fff_c.FffInstance→fff_search.shared.SharedFilePicker
- Direction
- fff_c uses fff_search.shared. Changing fff_search.shared can break fff_c, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→25 fff_c depends on fff_search.grep.types✕
- Type pairs
- 1 distinct (type in fff_c → type in fff_search.grep.types) reference.
- Which types
fff_c.fff_c$module→fff_search.grep.types.GrepMode
- Direction
- fff_c uses fff_search.grep.types. Changing fff_search.grep.types can break fff_c, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→32 fff_c depends on fff_c.ffi_types✕
- Type pairs
- 1 distinct (type in fff_c → type in fff_c.ffi_types) reference.
- Which types
fff_c.fff_c$module→fff_c.ffi_types.FffCreateOptions
- Direction
- fff_c uses fff_c.ffi_types. Changing fff_c.ffi_types can break fff_c, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→9 fff_mcp.server depends on fff_search.shared✕
- Type pairs
- 1 distinct (type in fff_mcp.server → type in fff_search.shared) reference.
- Which types
fff_mcp.server.FffServer→fff_search.shared.SharedFilePicker
- Direction
- fff_mcp.server uses fff_search.shared. Changing fff_search.shared can break fff_mcp.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→25 fff_mcp.server depends on fff_search.grep.types✕
- Type pairs
- 2 distinct (type in fff_mcp.server → type in fff_search.grep.types) references.
- Which types
fff_mcp.server.FffServer→fff_search.grep.types.GrepModefff_mcp.server.server$module→fff_search.grep.types.GrepMode
- Direction
- fff_mcp.server uses fff_search.grep.types. Changing fff_search.grep.types can break fff_mcp.server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→33 fff_mcp.server depends on fff_mcp.output✕
- Type pairs
- 2 distinct (type in fff_mcp.server → type in fff_mcp.output) references.
- Which types
fff_mcp.server.FffServer→fff_mcp.output.OutputModefff_mcp.server.server$module→fff_mcp.output.OutputMode
- Direction
- fff_mcp.server uses fff_mcp.output. Changing fff_mcp.output can break fff_mcp.server, 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 | 100 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 5 | High / Critical |
Roadmap
Begin by splitting the six largest files into smaller, focused modules to improve manageability, then reduce cyclomatic complexity in branch-heavy functions to ensure they remain simple and readable. Address code duplication by extracting shared logic or types where appropriate, and migrate the remaining JavaScript files to TypeScript to strengthen type safety. Finally, document significant architectural decisions in a dedicated, discoverable location to preserve institutional knowledge.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package. | +7.6 pts | Medium | Large Files |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +3.6 pts | Low | ADR Quality |
| Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5. | +6.1 pts | Medium | Cyclomatic Complexity |
| Resolve the 7 fff_search finding(s) in Cyclomatic Complexity — start with score.rs (2), background_watcher.rs, fuzzy_grep.rs. | +1.4 pts | Low | Cyclomatic Complexity |
| Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract. | +5.3 pts | Medium | Code Duplication |
| Migrate the remaining .js/.jsx files to TypeScript. | +5.1 pts | Medium | Type Safety |
| Resolve the 17 fff_search finding(s) in Cognitive Complexity — start with bigram_query.rs (5), score.rs (3), grep.rs (3). | +2.3 pts | Medium | Cognitive Complexity |
| 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). | +3.7 pts | Medium | Architecture documentation |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.6 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.1 | Mixed | 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.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.8 | 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 |
| crates/fff-core/src/watcher/background_watcher.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/fff-core/src/scan.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/fff-core/src/file_picker.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/fff-core/src/simd_string_utils/memmem.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/fff-core/src/index/bigram_query.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| crates/fff-core/src/score.rs | 7.0 | Near-clean | Cyclomatic Complexity: fff_search::score::match_and_score_in_arena_inner (cyclomatic 46) |
| crates/fff-c/src/lib.rs | 7.0 | Near-clean | Cyclomatic Complexity: fff_c::fff_create_instance_with (cyclomatic 18) |
| crates/fff-query-parser/src/parser.rs | 7.0 | Near-clean | Cyclomatic Complexity: QueryParser::parse (cyclomatic 23) |
| crates/fff-core/src/grep/grep.rs | 7.0 | Near-clean | Cyclomatic Complexity: fff_search::grep::grep::perform_grep (cyclomatic 27) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 44 of 48 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 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 — 48 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, 351 of 370 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 | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ 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
- D4 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 71 duplicated block group(s) on this row were found in the languages this pass could tokenize, and they do NOT cover all of this repository's production source: .lua (8,906 lines, 17% of production source) went unread, because no language model this pass could load exposed a clone-unit token stream for those file kinds. Duplication in that source is UNMEASURED — its absence from the count above is a gap in this analyzer's language coverage, not a finding that the code is free of duplication. Duplication in .ts is measured by R10 Code Duplication and is not part of this gap.
- D6 Cohesion (LCOM4) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.rs, .ts, .rb) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`, or lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`, or SimpleCov — `require "simplecov"` in your `spec_helper.rb`/`test_helper.rb`, which writes `coverage/.resultset.json` (or lcov via `simplecov-lcov`)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`, or lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`, or SimpleCov — `require "simplecov"` in your `spec_helper.rb`/`test_helper.rb`, which writes `coverage/.resultset.json` (or lcov via `simplecov-lcov`)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D10 Test Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 155 test(s) behind this row are the ones the JavaScript/TypeScript census could read, and this repository also carries at least 45 test source file(s) (.rs, .rb) that it cannot: it reads JavaScript/TypeScript test declarations off disk, so a JUnit/pytest-style suite is invisible to it. Skipped tests, zero-assertion tests and the other quality signals on this row are UNMEASURED in that suite — their absence from the counts above is a gap in this analyzer's language coverage, not a finding that those tests are sound.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT SCORED: this repository's production source includes .ts, and the built-in reliability runner cannot re-run the .ts test suite(s) — so reliability was not measured for the repository as a whole. The Rust (repository root, 67 test files): measured (0 flaky) suite(s) did re-run, and came back with 0 flaky across 1 measured tier(s) — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — test reliability is excluded from the score rather than counted.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 22 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, which could not be reached on this run, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — not 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. License Compliance couldn't be assessed within its 15-minute budget on a solution this large — not included in this run.
- D32 Data Compliance (PII/GDPR) — 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. `packages/fff-bun/src/ffi.ts` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- 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.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- PF1 Benchmark discipline — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF2 Allocation hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X10 Duplicated predicate — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X6 Hand-rolled structured-format parsing — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- 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.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- 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.
- 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
25 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was index.fffExtension at 148.
What to do
- Resolve the 7 fff_search finding(s) in Cyclomatic Complexity — start with score.rs (2), background_watcher.rs, fuzzy_grep.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 2 fff_mcp finding(s) in Cyclomatic Complexity — start with output.rs, main.rs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 fff_query_parser finding(s) in Cyclomatic Complexity — start with parser.rs (2). — One of this dimension's main actionable groups (2 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
48 method(s) exceeded the cognitive complexity threshold of 15; the worst was fff_search::watcher::background_watcher::handle_debounced_events at 177.
What to do
- Resolve the 17 fff_search finding(s) in Cognitive Complexity — start with bigram_query.rs (5), score.rs (3), grep.rs (3). — One of this dimension's main actionable groups (17 warning-level).
- Resolve the 4 fff_nvim finding(s) in Cognitive Complexity — start with lib.rs, rescan_probe.rs, grep_profiler.rs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 3 fff_mcp finding(s) in Cognitive Complexity — start with output.rs, main.rs, healthcheck.rs. — One of this dimension's main actionable groups (3 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
29 god class(es) detected.
What to do
- Resolve the 11 FunctionTooLong finding(s) in God Classes — start with score.rs (2), grep.rs (2), index.ts. — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 11 FileTooLong finding(s) in God Classes — start with ffi.ts (2), lib.rs (2), file_picker.rs. — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 2 TooManyMethods finding(s) in God Classes — start with file_picker.rs, types.rs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
71 duplicated block group(s) detected. A further 4 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted. 1 of the 75 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population. Measured on part of this repository only: .lua (17% of production source) was not exposed to the token comparison, so duplication there is unmeasured and is not in this count. Measured on part of this repository only: .ts (17% of production source) was not exposed to THIS dimension's token comparison and is not in this count; duplication there is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream.
What to do
- Resolve the 7 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with ffi_types.rs (2), sink.rs, score.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 5 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with file_picker.rs, multi_pattern.rs, background_watcher.rs. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 5 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with file_picker.rs, output.rs, grep_vs_rg.rs. — One of this dimension's main actionable groups (5 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.
D5 · Coupling
19 production modules (Cargo+npm+Python), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 4 module(s) off the main sequence, with abstractness counted on 10 of the 19 (the rest declare no modelled class or interface, export only macros, or have no source directory of their own).
What to do
- Resolve the 4 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (4 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D9 · Test Distribution
723 test methods: 534 unit, 189 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 155 `it`/`test` case(s) across 11 test file(s) declaring at least one; its tier split is read from package names and paths only. The Rust suite contributes 539 `#[test]` function(s) across 67 file(s) declaring at least one; its unit/integration split is Cargo's own — 28 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. The Python suite contributes 29 test function(s) across 2 file(s) declaring at least one — every `def test…` in a file pytest or unittest would collect, which is those frameworks' own definition of a case; a parametrize table counts once, so this is a floor. Its tier split is read from file names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 155 tests. Measured on the JavaScript/TypeScript suite only — at least 45 test source file(s) (.rs, .rb) went unread, so its test quality is unmeasured and is not in these counts.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
Top hotspots: packages/pi-fff/src/index.ts (22×148=3256); crates/fff-core/src/watcher/background_watcher.rs (7×85=595); crates/fff-core/src/score.rs (10×46=460) Repeated repair below the complexity floor: packages/pi-fff/src/aux-finders.ts (7 of 8 changes were fixes); packages/fff-node/src/ffi.ts (3 of 5 changes were fixes); packages/fff-node/test/watch.mjs (3 of 4 changes were fixes)
What to do
- Resolve the 12 Hotspot finding(s) in Churn × Complexity Hotspots — start with index.ts, background_watcher.rs, score.rs. — One of this dimension's main actionable groups (12 warning-level).
- Resolve the 3 Repeated repair finding(s) in Churn × Complexity Hotspots — start with aux-finders.ts, ffi.ts, watch.mjs. — One of this dimension's main actionable groups (3 warning-level).
D16 · Bus Factor
25 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is crates/fff-core/src/score.rs. Counted over 92 of the 114 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 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Further sole-owners (lower concentration) finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
7 deducted task-comment markers across 43281 LoC (0.0/KLoC) → score 10.0. 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 7 TodoComment finding(s) in Explicit Debt — start with file_picker.rs (3), scan.rs, bigram_query.rs. — One of this dimension's main actionable groups (7 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README and fff.nvim.txt give a strong overview (the project name, its purpose, performance claims, and a live-demo link), while the READMEs for crates/fff-core/, packages/fff-bun/, packages/fff-node/, and packages/pi-fff/ each document their own directory rather than the repository. The root README is ideal for installation, usage, contribution, and license; fff.nvim.txt is excellent documentation for Neovim users (installation, lazy.nvim setup, keys).
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
4 API inconsistencies across a 400-member sample of 79 exposed types.
What to do
- Resolve the 1 Inconsistent return type for path lookup. One returns the item directly… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Two constructors with significantly different signatures for the same… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent method naming for search variants. `fuzzy_search` is the… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
0 of 7 build units (Cargo) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
100 finding(s): 0 critical, 99 high, 1 medium, 0 low. 83 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 2 file(s) — `packages/fff-bun/src/ffi.ts` (line 338), `scripts/release.sh` (line 4) — 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 2 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 6 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (5), REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- No action in Static Analysis (SAST) — all 83 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (83 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
5 finding(s): 0 critical, 1 high, 3 medium, 1 low.
What to do
- Resolve the 1 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Medium advisory (unmaintained) finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Medium advisory (unsound) finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
1 of 92 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is crates/fff-python/src/conversions.rs. Counted over 92 of the 114 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
2/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED (2). — One of this dimension's main actionable groups (2 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 warning-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
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 a README to the 16 of 21 project(s) that lack one — worth up to 1.5 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
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
- Only 5/6 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `packages/fff-python`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
P3 · Security & performance tooling
What to do
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- The release job declares an environment, but its protection rules are not visible from the repository — confirm required reviewers are attached, or publish as a draft release so a bad build can be stopped before users can download it.
P6 · Release Hygiene
PF3 · Async & latency hygiene
R1 · Type Safety
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- 7 duplicated blocks under packages/ have copies in at least two of the sibling directories fff-bun, fff-node — 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — packages/fff-bun/src/finder.ts:37
- packages/fff-bun/src/finder.ts:37 · packages/fff-node/src/finder.ts:35 — these 2 files are line-for-line copies of one another — 190 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — packages/fff-bun/src/finder.ts:37
- packages/fff-bun/src/platform.ts:5 · packages/fff-node/src/platform.ts:5 — these 2 files are line-for-line copies of one another — 68 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — packages/fff-bun/src/platform.ts:5
- packages/fff-bun/src/download.ts:38 · packages/fff-node/src/binary.ts:53 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-bun/src/download.ts:38
- packages/fff-node/src/ffi.ts:1206 · packages/fff-node/src/ffi.ts:1316 — all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/fff-node/src/ffi.ts:1206
- packages/fff-node/src/ffi.ts:955 · packages/fff-node/src/ffi.ts:1130 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-node/src/ffi.ts:955
- packages/fff-node/src/ffi.ts:859 · packages/fff-node/src/ffi.ts:927 · packages/fff-node/src/ffi.ts:1024 · packages/fff-node/src/ffi.ts:1102 — all 4 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-node/src/ffi.ts:859
- packages/fff-node/src/ffi.ts:1349 · packages/fff-node/src/ffi.ts:1409 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-node/src/ffi.ts:1349
- packages/fff-bun/src/ffi.ts:1144 · packages/fff-bun/src/ffi.ts:1218 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/fff-bun/src/ffi.ts:1144
- packages/fff-bun/src/ffi.ts:728 · packages/fff-bun/src/ffi.ts:918 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/fff-bun/src/ffi.ts:728
- packages/pi-fff/src/index.ts:959 · packages/pi-fff/src/index.ts:1161 — all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/pi-fff/src/index.ts:959
- packages/pi-fff/src/index.ts:85 · packages/pi-fff/src/index.ts:117 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/pi-fff/src/index.ts:85
- packages/pi-fff/src/index.ts:1446 · packages/pi-fff/src/index.ts:1480 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/pi-fff/src/index.ts:1446
- packages/fff-bun/src/ffi.ts:819 · packages/fff-bun/src/ffi.ts:948 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/fff-bun/src/ffi.ts:819
- packages/pi-fff/src/index.ts:982 · packages/pi-fff/src/index.ts:1173 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/pi-fff/src/index.ts:982
- packages/fff-bun/src/ffi.ts:427 · packages/fff-bun/src/ffi.ts:658 · packages/fff-bun/src/ffi.ts:854 · packages/fff-bun/src/ffi.ts:1020 — all 4 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-bun/src/ffi.ts:427
- packages/fff-node/src/ffi.ts:273 · packages/fff-node/src/ffi.ts:286 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/fff-node/src/ffi.ts:273
- packages/pi-fff/src/index.ts:1129 · packages/pi-fff/src/index.ts:1273 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/pi-fff/src/index.ts:1129
- packages/fff-node/src/ffi.ts:696 · packages/fff-node/src/ffi.ts:747 — all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/fff-node/src/ffi.ts:696
- packages/fff-node/src/ffi.ts:894 · packages/fff-node/src/ffi.ts:985 · packages/fff-node/src/ffi.ts:1064 · packages/fff-node/src/ffi.ts:1160 — all 4 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-node/src/ffi.ts:894
- packages/fff-bun/src/ffi.ts:497 · packages/fff-node/src/ffi.ts:326 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — packages/fff-bun/src/ffi.ts:497
- packages/pi-fff/src/index.ts:1146 · packages/pi-fff/src/index.ts:1287 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/pi-fff/src/index.ts:1146
- packages/fff-bun/src/ffi.ts:391 · packages/fff-node/src/ffi.ts:150 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-bun/src/ffi.ts:391
- packages/fff-bun/src/ffi.ts:679 · packages/fff-bun/src/ffi.ts:889 · packages/fff-bun/src/ffi.ts:1065 — all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — packages/fff-bun/src/ffi.ts:679
- packages/pi-fff/src/paths.ts:45 · packages/pi-fff/src/paths.ts:53 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/pi-fff/src/paths.ts:45
- packages/fff-node/src/ffi.ts:303 · packages/fff-node/src/ffi.ts:319 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/fff-node/src/ffi.ts:303
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R2 · Cyclomatic Complexity
- execute has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/pi-fff/src/index.ts:1005
- execute has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/pi-fff/src/index.ts:1198
- normalizePathConstraint has cyclomatic complexity 21 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/pi-fff/src/query.ts:3
- main has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/fff-bun/test.ts:4
- create has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/fff-node/src/finder.ts:121
- create has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/fff-bun/src/finder.ts:129
- multiGrep has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — packages/fff-bun/src/finder.ts:408, packages/fff-node/src/finder.ts:414
- parseMixedSearchResult has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/fff-bun/src/ffi.ts:905
- grep has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — packages/fff-bun/src/finder.ts:362, packages/fff-node/src/finder.ts:368
- ffiCreate has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/fff-bun/src/ffi.ts:534
- handler has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/pi-fff/src/index.ts:1452
- ffiCreate has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/fff-node/src/ffi.ts:355
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- 6 file(s) over 400 lines (counted as significant lines — blank lines excluded — over production source only, tests excluded), largest first: packages/fff-node/src/ffi.ts (1721), packages/fff-bun/src/ffi.ts (1425), packages/pi-fff/src/index.ts (1323), packages/fff-bun/src/finder.ts (691), packages/fff-node/src/finder.ts (670), packages/shared/fff-api.ts (612).
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×4) — packages/fff-bun/test.ts, packages/fff-node/scripts/cli.ts, packages/fff-node/scripts/postinstall.ts, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
R6 · Tooling
R7 · Dead Code
- 1 file(s) (~49 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package.
- 1 file(s) (~663 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package. — packages
- 11 file(s) (~4020 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: packages/fff-bun/src/index.ts imports './fff-api', which is not in the scanned tree. That is usually a generated or build-output module, so reachability cannot see past it and no dead-code claim is made about this package. Nothing is necessarily wrong here. — packages/fff-bun
R8 · Dependency Hygiene
R9 · Circular Imports
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 58% | Adequate — gated by R3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 98% | Exemplary | Solid. |
| Maturity | 66% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 71% | Strong | Solid. |
| Security | 74% | Adequate — gated by D29 | 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
- X9 Subsumed condition operand — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
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 — 77 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- 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.
- D11 Test Reliability — Test reliability not scored — polyglot repository, one half has no runner
- D12 Dependency Hygiene — Not scored — 22 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, which could not be reached on this run, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — License Compliance not included (time budget)
- 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 — too few calls resolved to assess navigability
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- 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.
- D6 Cohesion (LCOM4) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY/KT/TS/TSX/MTS/CTS/JS/JSX/MJS/CJS/PHP class graph only — this repository's production source is .lua, .rb, .rs, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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 (17 value object(s))
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P10 Library API & versioning — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript, Python, Ruby, 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
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- 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
Appendix A — Findings (grouped)
Critical — 100 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
Serious — 260 finding(s)
- fff_search::watcher::background_watcher::handle_debounced_events (cognitive 177) crates/fff-core/src/watcher/background_watcher.rs:328
- fff_search::grep::fuzzy_grep::fuzzy_grep_search (cognitive 104) crates/fff-core/src/grep/fuzzy_grep.rs:13
- fff_search::score::match_and_score_in_arena_inner (cognitive 75) crates/fff-core/src/score.rs:672
- fff_search::grep::prefilter::prefilter_files (cognitive 75) crates/fff-core/src/grep/prefilter.rs:53
- fff_search::grep::grep::perform_grep (cognitive 46) crates/fff-core/src/grep/grep.rs:550
- fff_search::simd_string_utils::memmem::find_packed_pair_avx2 (cognitive 41) crates/fff-core/src/simd_string_utils/memmem.rs:80
- fff_search::simd_string_utils::memmem::find_packed_pair_neon (cognitive 41) crates/fff-core/src/simd_string_utils/memmem.rs:184
- fff_search::index::bigram_query::expand_class (cognitive 38) crates/fff-core/src/index/bigram_query.rs:454
- fff_search::git_recency::compute_git_recency (cognitive 35) crates/fff-core/src/git_recency.rs:27
- fff_search::score::fuzzy_match_and_score_dirs (cognitive 24) crates/fff-core/src/score.rs:455
- fff_search::score::fuzzy_match_byte_offsets_for_page (cognitive 20) crates/fff-core/src/score.rs:251
- fff_search::index::bigram_query::collect_first (cognitive 20) crates/fff-core/src/index/bigram_query.rs:545
- fff_search::index::bigram_query::collect_last (cognitive 20) crates/fff-core/src/index/bigram_query.rs:571
- fff_search::grep::grep::grep_search_parsed (cognitive 18) crates/fff-core/src/grep/grep.rs:274
- fff_search::index::bigram_query::decompose_literal (cognitive 18) crates/fff-core/src/index/bigram_query.rs:326
- fff_search::grep::grep::replace_newline_escapes (cognitive 17) crates/fff-core/src/grep/grep.rs:464
- fff_search::index::bigram_query::decompose_concat (cognitive 16) crates/fff-core/src/index/bigram_query.rs:385
- Hotspot: packages/pi-fff/src/index.ts packages/pi-fff/src/index.ts:305
- Hotspot: crates/fff-core/src/watcher/background_watcher.rs crates/fff-core/src/watcher/background_watcher.rs:328
- Hotspot: crates/fff-core/src/score.rs crates/fff-core/src/score.rs:672
- Hotspot: crates/fff-core/src/grep/grep.rs crates/fff-core/src/grep/grep.rs:550
- Hotspot: crates/fff-core/src/grep/fuzzy_grep.rs crates/fff-core/src/grep/fuzzy_grep.rs:13
- Hotspot: crates/fff-mcp/src/main.rs crates/fff-mcp/src/main.rs:278
- Hotspot: crates/fff-core/src/scan.rs crates/fff-core/src/scan.rs:152
- Hotspot: crates/fff-core/src/index/bigram_filter.rs crates/fff-core/src/index/bigram_filter.rs:376
- Hotspot: crates/fff-c/src/lib.rs crates/fff-c/src/lib.rs:183
- Hotspot: crates/fff-core/src/grep/prefilter.rs crates/fff-core/src/grep/prefilter.rs:53
- Hotspot: packages/pi-fff/src/query.ts packages/pi-fff/src/query.ts:3
- Hotspot: crates/fff-nvim/src/bin/grep_profiler.rs crates/fff-nvim/src/bin/grep_profiler.rs:171
- FunctionTooLong: index.fffExtension packages/pi-fff/src/index.ts:305
- FunctionTooLong: fff_search::watcher::background_watcher::handle_debounced_events crates/fff-core/src/watcher/background_watcher.rs:328
- FunctionTooLong: fff_search::score::match_and_score_in_arena_inner crates/fff-core/src/score.rs:672
- FunctionTooLong: fff_search::grep::fuzzy_grep::fuzzy_grep_search crates/fff-core/src/grep/fuzzy_grep.rs:13
- FunctionTooLong: fff_nvim::bin::grep_profiler::main crates/fff-nvim/src/bin/grep_profiler.rs:171
- FunctionTooLong: fff_nvim::bin::grep_vs_rg::main crates/fff-nvim/src/bin/grep_vs_rg.rs:249
- FunctionTooLong: fff_mcp::main crates/fff-mcp/src/main.rs:278
- FunctionTooLong: fff_search::grep::grep::grep_search_parsed crates/fff-core/src/grep/grep.rs:274
- FunctionTooLong: fff_c::fff_health_check crates/fff-c/src/lib.rs:1169
- FunctionTooLong: fff_search::score::fuzzy_match_and_score_dirs crates/fff-core/src/score.rs:455
- FunctionTooLong: fff_search::grep::grep::perform_grep crates/fff-core/src/grep/grep.rs:550
- FileTooLong: src/file_picker.rs crates/fff-core/src/file_picker.rs
- FileTooLong: src/ffi.ts packages/fff-node/src/ffi.ts
- FileTooLong: src/ffi.ts packages/fff-bun/src/ffi.ts
- FileTooLong: src/lib.rs crates/fff-c/src/lib.rs
- FileTooLong: src/index.ts packages/pi-fff/src/index.ts
- FileTooLong: src/score.rs crates/fff-core/src/score.rs
- FileTooLong: src/finder.rs crates/fff-python/src/finder.rs
- FileTooLong: src/lib.rs crates/fff-nvim/src/lib.rs
- FileTooLong: index/bigram_filter.rs crates/fff-core/src/index/bigram_filter.rs
- FileTooLong: watcher/background_watcher.rs crates/fff-core/src/watcher/background_watcher.rs
- FileTooLong: src/types.rs crates/fff-core/src/types.rs
- fff_search::watcher::background_watcher::handle_debounced_events (cyclomatic 85) crates/fff-core/src/watcher/background_watcher.rs:328
- fff_search::score::match_and_score_in_arena_inner (cyclomatic 46) crates/fff-core/src/score.rs:672
- fff_search::grep::fuzzy_grep::fuzzy_grep_search (cyclomatic 43) crates/fff-core/src/grep/fuzzy_grep.rs:13
- fff_search::grep::prefilter::prefilter_files (cyclomatic 31) crates/fff-core/src/grep/prefilter.rs:53
- fff_search::grep::grep::perform_grep (cyclomatic 27) crates/fff-core/src/grep/grep.rs:550
- fff_search::score::fuzzy_match_and_score_dirs (cyclomatic 19) crates/fff-core/src/score.rs:455
- fff_search::git_recency::compute_git_recency (cyclomatic 18) crates/fff-core/src/git_recency.rs:27
- TodoComment crates/fff-core/src/scan.rs:355
- TodoComment crates/fff-core/src/file_picker.rs:280
- TodoComment crates/fff-core/src/file_picker.rs:1823
- TodoComment crates/fff-core/src/file_picker.rs:2017
- TodoComment crates/fff-core/src/index/bigram_query.rs:940
- TodoComment crates/fff-core/src/simd_string_utils/memmem.rs:354
- TodoComment crates/fff-core/src/watcher/background_watcher.rs:818
- Duplicated block (10 lines × 2) crates/fff-c/src/ffi_types.rs:166
- Duplicated block (10 lines × 2) crates/fff-c/src/ffi_types.rs:199
- Duplicated block (10 lines × 2) crates/fff-core/src/grep/sink.rs:115
- Duplicated block (10 lines × 2) crates/fff-core/src/score.rs:501
- Duplicated block (10 lines × 2) crates/fff-python/src/finder.rs:386
- Duplicated block (10 lines × 2) crates/fff-c/src/lib.rs:1258
- Duplicated block (10 lines × 2) crates/fff-core/src/dbs/query_tracker.rs:316
- Duplicated block (9 lines × 2) crates/fff-core/src/file_picker.rs:1393
- Duplicated block (9 lines × 2) crates/fff-core/src/grep/multi_pattern.rs:68
- Duplicated block (9 lines × 2) crates/fff-core/src/watcher/background_watcher.rs:713
- Duplicated block (9 lines × 2) crates/fff-mcp/src/server.rs:405
- Duplicated block (9 lines × 2) crates/fff-nvim/src/bin/jemalloc_profile.rs:23
- Duplicated block (8 lines × 2) crates/fff-core/src/file_picker.rs:1290
- Duplicated block (8 lines × 2) crates/fff-mcp/src/output.rs:345
- Duplicated block (8 lines × 2) crates/fff-nvim/src/bin/grep_vs_rg.rs:69
- Duplicated block (8 lines × 2) crates/fff-nvim/src/lib.rs:766
- Duplicated block (8 lines × 2) crates/fff-python/src/finder.rs:624
- fff_nvim::health_check (cognitive 27) crates/fff-nvim/src/lib.rs:893
- fff_nvim::bin::rescan_probe::main (cognitive 24) crates/fff-nvim/src/bin/rescan_probe.rs:12
- fff_nvim::bin::grep_profiler::main (cognitive 22) crates/fff-nvim/src/bin/grep_profiler.rs:171
- fff_nvim::hex_dump::format_hex_dump (cognitive 16) crates/fff-nvim/src/hex_dump.rs:68
- Duplicated block (12 lines × 2) crates/fff-c/src/lib.rs:430
- Duplicated block (12 lines × 2) crates/fff-mcp/src/server.rs:415
- Duplicated block (12 lines × 2) crates/fff-nvim/src/bin/grep_vs_rg.rs:331
- Duplicated block (12 lines × 2) crates/fff-python/src/conversions.rs:30
- Off the main sequence: @ff-labs/fff-bun
- Off the main sequence: @ff-labs/fff-node
- Off the main sequence: fff-search
- Off the main sequence: fff-query-parser
- No test reaches this file packages/fff-bun/test.ts
- No test reaches this file packages/fff-node/scripts/cli.ts
- No test reaches this file packages/fff-node/scripts/postinstall.ts
- No test reaches this file scripts/set-npm-version.mjs
- Repeated repair: packages/pi-fff/src/aux-finders.ts packages/pi-fff/src/aux-finders.ts:126
- Repeated repair: packages/fff-node/src/ffi.ts packages/fff-node/src/ffi.ts:355
- Repeated repair: packages/fff-node/test/watch.mjs packages/fff-node/test/watch.mjs:79
- fff_mcp::output::format_files_with_matches (cognitive 62) crates/fff-mcp/src/output.rs:377
- fff_mcp::main (cognitive 41) crates/fff-mcp/src/main.rs:278
- fff_mcp::healthcheck::run_healthcheck (cognitive 24) crates/fff-mcp/src/healthcheck.rs:14
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/fff-c/src/lib.rs:1357
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/fff-c/src/lib.rs:1390
- Members sharing a duplicated core (4 members, 50+ identical tokens) crates/fff-nvim/src/bin/bench_grep_query.rs:76
- Duplicated block (14 lines × 2) crates/fff-c/src/lib.rs:889
- Duplicated block (14 lines × 2) crates/fff-nvim/src/lib.rs:801
- Duplicated block (14 lines × 2) crates/fff-core/src/dbs/frecency.rs:286
- Duplicated block (13 lines × 2) crates/fff-core/src/grep/grep.rs:128
- Duplicated block (13 lines × 2) crates/fff-mcp/src/server.rs:322
- Duplicated block (13 lines × 2) crates/fff-nvim/src/bin/jemalloc_profile.rs:177
- Duplicated block (7 lines × 2) crates/fff-c/src/lib.rs:422
- Duplicated block (7 lines × 2) crates/fff-core/src/index/bigram_filter.rs:615
- Duplicated block (7 lines × 2) crates/fff-nvim/src/bin/grep_profiler.rs:174
- fff_mcp::output::format_files_with_matches (cyclomatic 29) crates/fff-mcp/src/output.rs:377
- fff_mcp::main (cyclomatic 26) crates/fff-mcp/src/main.rs:278
- fff_query_parser::parser::parse_token (cyclomatic 21) crates/fff-query-parser/src/parser.rs:270
- fff_query_parser::parser::parse_token_without_negation (cyclomatic 18) crates/fff-query-parser/src/parser.rs:385
- fff_c::fff_create_instance_with (cyclomatic 18) crates/fff-c/src/lib.rs:183
- fff_c::fff_health_check (cyclomatic 16) crates/fff-c/src/lib.rs:1169
- fff_c::fff_health_check (cognitive 30) crates/fff-c/src/lib.rs:1169
- fff_c::fff_create_instance_with (cognitive 27) crates/fff-c/src/lib.rs:183
- BackgroundWatcher::create_debouncer (cognitive 25) crates/fff-core/src/watcher/background_watcher.rs:175
- BackgroundWatcher::new (cognitive 16) crates/fff-core/src/watcher/background_watcher.rs:46
- fff_query_parser::parser::parse_token (cognitive 24) crates/fff-query-parser/src/parser.rs:270
- fff_query_parser::parser::parse_token_without_negation (cognitive 23) crates/fff-query-parser/src/parser.rs:385
- TooManyMethods: FilePicker crates/fff-core/src/file_picker.rs:589
- TooManyMethods: FileItem crates/fff-core/src/types.rs:248
- ClassTooLong: FilePicker crates/fff-core/src/file_picker.rs:589
- ClassTooLong: FileFinder crates/fff-python/src/finder.rs:152
- MethodTooLong: GrepFormatter.format crates/fff-mcp/src/output.rs:167
- MethodTooLong: FffServer.perform_grep crates/fff-mcp/src/server.rs:270
- REDACTED
- REDACTED
- Duplicated block (21 lines × 2) crates/fff-core/src/index/bigram_query.rs:549
- Duplicated block (21 lines × 2) crates/fff-query-parser/src/parser.rs:314
- Duplicated block (8 lines × 3) crates/fff-c/src/lib.rs:679
- Duplicated block (8 lines × 3) crates/fff-python/src/finder.rs:359
- Duplicated block (6 lines × 3) crates/fff-mcp/src/server.rs:287
- Duplicated block (6 lines × 3) crates/fff-nvim/src/bin/jemalloc_profile.rs:167
- Duplicated block (11 lines × 2 locations) packages/fff-node/src/ffi.ts:273
- Duplicated block (11 lines × 2 locations) packages/pi-fff/src/index.ts:1129
- Duplicated block (9 lines × 2 locations) packages/fff-bun/src/ffi.ts:497
- Duplicated block (9 lines × 2 locations) packages/pi-fff/src/index.ts:1146
- Complex function multiGrep (cyclomatic 15, cognitive 14) packages/fff-bun/src/finder.ts:408
- Complex function multiGrep (cyclomatic 15, cognitive 14) packages/fff-node/src/finder.ts:414
- Complex function grep (cyclomatic 13, cognitive 12) packages/fff-bun/src/finder.ts:362
- Complex function grep (cyclomatic 13, cognitive 12) packages/fff-node/src/finder.ts:368
- index.fffExtension (cyclomatic 148) packages/pi-fff/src/index.ts:305
- GrepFormatter::format (cyclomatic 39) crates/fff-mcp/src/output.rs:167
- diagnose_lockmdb.main (cyclomatic 34) scripts/diagnose_lockmdb.py:108
- ScanJob::run (cyclomatic 23) crates/fff-core/src/scan.rs:152
- QueryParser::parse (cyclomatic 23) crates/fff-query-parser/src/parser.rs:60
- query.normalizePathConstraint (cyclomatic 20) packages/pi-fff/src/query.ts:3
- BigramIndexBuilder::compress (cyclomatic 19) crates/fff-core/src/index/bigram_filter.rs:376
- FilePicker::for_each_dir (cyclomatic 18) crates/fff-core/src/file_picker.rs:773
- fff_nvim::bin::grep_profiler::main (cyclomatic 17) crates/fff-nvim/src/bin/grep_profiler.rs:171
- SinkState::extract_context (cyclomatic 16) crates/fff-core/src/grep/sink.rs:95
- FffServer::perform_grep (cyclomatic 16) crates/fff-mcp/src/server.rs:270
- analyze-results.load_stream_trace (cyclomatic 16) scripts/analyze-results.py:47
- index.fffExtension (cognitive 163) packages/pi-fff/src/index.ts:305
- diagnose_lockmdb.main (cognitive 71) scripts/diagnose_lockmdb.py:108
- GrepFormatter::format (cognitive 65) crates/fff-mcp/src/output.rs:167
- QueryParser::parse (cognitive 41) crates/fff-query-parser/src/parser.rs:60
- FilePicker::for_each_dir (cognitive 39) crates/fff-core/src/file_picker.rs:773
- FffServer::perform_grep (cognitive 37) crates/fff-mcp/src/server.rs:270
- BigramIndexBuilder::compress (cognitive 32) crates/fff-core/src/index/bigram_filter.rs:376
- SinkState::extract_context (cognitive 30) crates/fff-core/src/grep/sink.rs:95
- ScanJob::run (cognitive 29) crates/fff-core/src/scan.rs:152
- WatchRegistry::dispatch (cognitive 27) crates/fff-core/src/watcher/watch.rs:468
- SharedEnv::get_or_open (cognitive 24) crates/fff-core/src/dbs/env_pool.rs:63
- analyze-results.load_stream_trace (cognitive 23) scripts/analyze-results.py:47
- WatchSub::filter_mask (cognitive 22) crates/fff-core/src/watcher/watch.rs:200
- PathShortenStrategy::shorten_path (cognitive 22) crates/fff-nvim/src/path_shortening.rs:127
- query.normalizePathConstraint (cognitive 20) packages/pi-fff/src/query.ts:3
- CallbackDispatcher::start (cognitive 16) crates/fff-core/src/watcher/watch.rs:274
- FileFinder::health_check (cognitive 16) crates/fff-python/src/finder.rs:958
- analyze-results.load_iter_results (cognitive 16) scripts/analyze-results.py:21
- Inconsistent return type for path lookup. One returns the item directly (implying it always exists or panics/returns default), while the other returns an Option. This creates confusion about whether the item is guaranteed to exist.
- Two constructors with significantly different signatures for the same type. `new_with_shared_state` is a specialized factory method that duplicates the intent of creating a FilePicker but requires internal shared state objects that are not present in the standard `new` constructor. This suggests `new` might be a convenience wrapper or that the shared state pattern is inconsistently applied.
- Inconsistent method naming for search variants. `fuzzy_search` is the default, but `fuzzy_search_directories` and `fuzzy_search_mixed` are explicit. However, `fuzzy_search` takes a `query_tracker` while `fuzzy_search_directories` does not. The naming doesn't clearly indicate that `fuzzy_search` is 'files only' vs 'mixed'.
- Duplicate function signatures in the same module. The second signature uses an underscore-prefixed parameter `_bytes`, which in Rust usually indicates an unused variable, but having two functions with the same name and signature in the same scope is a compilation error or indicates a copy-paste error in the API surface provided.
- REDACTED
- TooManyFunctions: fff_c::accessors crates/fff-c/src/accessors.rs:20
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Near-duplicate member family (4 members, 20 shared lines) crates/fff-c/src/lib.rs:346
- Duplicated block (47–48 lines × 2) crates/fff-nvim/src/bin/bench_search_only.rs:67
- Duplicated block (47 lines × 2) crates/fff-core/src/simd_string_utils/memmem.rs:134
- Duplicated block (40–41 lines × 2) crates/fff-nvim/src/bin/grep_profiler.rs:307
- Duplicated block (29–30 lines × 2) crates/fff-c/src/lib.rs:350
- Duplicated block (30 lines × 2) crates/fff-c/src/lib.rs:1270
- Duplicated block (24–29 lines × 2) crates/fff-nvim/src/bin/grep_profiler.rs:238
- Duplicated block (25 lines × 2) crates/fff-nvim/src/bin/grep_vs_rg.rs:346
- Duplicated block (23–25 lines × 2) crates/fff-nvim/src/bin/bench_search_only.rs:39
- Duplicated block (20–21 lines × 2) crates/fff-nvim/src/lib.rs:951
- Duplicated block (18 lines × 3) crates/fff-c/src/lib.rs:1362
- Duplicated block (18 lines × 2) crates/fff-core/src/score.rs:118
- Duplicated block (17 lines × 2) crates/fff-core/src/simd_string_utils/memmem.rs:88
- Duplicated block (13–15 lines × 2) crates/fff-core/src/score.rs:629
- Duplicated block (12–14 lines × 2) crates/fff-query-parser/src/parser.rs:287
- Duplicated block (12–13 lines × 3) crates/fff-nvim/src/bin/grep_profiler.rs:418
- Duplicated block (12–13 lines × 2) crates/fff-core/src/file_picker.rs:418
- Duplicated block (11–12 lines × 2) crates/fff-core/src/file_picker.rs:377
- Duplicated block (11 lines × 4) crates/fff-c/src/lib.rs:1358
- Duplicated block (11 lines × 3) crates/fff-c/src/lib.rs:348
- Duplicated block (9–11 lines × 2) crates/fff-core/src/dbs/frecency.rs:278
- Duplicated block (11 lines × 2) crates/fff-nvim/src/bin/jemalloc_profile.rs:50
- Duplicated block (10 lines × 6) crates/fff-c/src/lib.rs:363
- Duplicated block (10 lines × 3) crates/fff-nvim/src/bin/bench_search_only.rs:7
- Duplicated block (9–10 lines × 3) crates/fff-nvim/src/lua_types.rs:161
- Duplicated block (7–10 lines × 2) crates/fff-core/src/file_picker.rs:1105
- Duplicated block (9 lines × 5) crates/fff-c/src/lib.rs:347
- Duplicated block (9 lines × 4) crates/fff-c/src/lib.rs:1391
- Duplicated block (9 lines × 3) crates/fff-c/src/lib.rs:1411
- Duplicated block (8 lines × 4) crates/fff-nvim/src/bin/bench_grep_query.rs:117
- Duplicated block (7–8 lines × 2) crates/fff-c/src/ffi_types.rs:151
- Duplicated block (7 lines × 8) crates/fff-c/src/lib.rs:362
- Duplicated block (6 lines × 2) crates/fff-core/src/index/bigram_filter.rs:626
- Duplicated block (5 lines × 3) crates/fff-c/src/ffi_types.rs:297
- Duplicated block (9 lines × 6) crates/fff-c/src/lib.rs:347
- Duplicated block (5 lines × 2) crates/fff-nvim/src/bin/test_memory_leak.rs:135
- Duplication concentrated across 2 sibling directories (7 clone groups) packages/fff-bun/src/finder.ts:37
- Wholesale file copy (190 identical lines × 2 files) packages/fff-bun/src/finder.ts:37
- Wholesale file copy (68 identical lines × 2 files) packages/fff-bun/src/platform.ts:5
- Duplicated block (52 lines × 2 locations) packages/fff-bun/src/download.ts:38
- Duplicated block (41 lines × 2 locations) packages/fff-node/src/ffi.ts:1206
- Duplicated block (30 lines × 2 locations) packages/fff-node/src/ffi.ts:955
- Duplicated block (24 lines × 4 locations) packages/fff-node/src/ffi.ts:859
- Duplicated block (24 lines × 2 locations) packages/fff-node/src/ffi.ts:1349
- Duplicated block (23 lines × 2 locations) packages/fff-bun/src/ffi.ts:1144
- Duplicated block (18 lines × 2 locations) packages/fff-bun/src/ffi.ts:728
- Duplicated block (17 lines × 2 locations) packages/pi-fff/src/index.ts:959
- Duplicated block (16 lines × 2 locations) packages/pi-fff/src/index.ts:85
- Duplicated block (15 lines × 2 locations) packages/pi-fff/src/index.ts:1446
- Duplicated block (14 lines × 2 locations) packages/fff-bun/src/ffi.ts:819
- Duplicated block (13 lines × 2 locations) packages/pi-fff/src/index.ts:982
- Duplicated block (11 lines × 4 locations) packages/fff-bun/src/ffi.ts:427
- Duplicated block (10 lines × 2 locations) packages/fff-node/src/ffi.ts:696
- Duplicated block (10 lines × 4 locations) packages/fff-node/src/ffi.ts:894
- Duplicated block (8 lines × 2 locations) packages/fff-bun/src/ffi.ts:391
- Duplicated block (8 lines × 3 locations) packages/fff-bun/src/ffi.ts:679
- Duplicated block (7 lines × 2 locations) packages/pi-fff/src/paths.ts:45
- Duplicated block (6 lines × 2 locations) packages/fff-node/src/ffi.ts:303
- Complex function execute (cyclomatic 25, cognitive 25) packages/pi-fff/src/index.ts:1005
- Complex function execute (cyclomatic 23, cognitive 23) packages/pi-fff/src/index.ts:1198
- Complex function normalizePathConstraint (cyclomatic 21, cognitive 21) packages/pi-fff/src/query.ts:3
- Complex function main (cyclomatic 18, cognitive 27) packages/fff-bun/test.ts:4
- Complex function create (cyclomatic 18, cognitive 16) packages/fff-node/src/finder.ts:121
- Complex function create (cyclomatic 17, cognitive 15) packages/fff-bun/src/finder.ts:129
- Complex function parseMixedSearchResult (cyclomatic 13, cognitive 14) packages/fff-bun/src/ffi.ts:905
- Complex function ffiCreate (cyclomatic 12, cognitive 13) packages/fff-bun/src/ffi.ts:534
- Complex function handler (cyclomatic 12, cognitive 12) packages/pi-fff/src/index.ts:1452
- Complex function ffiCreate (cyclomatic 11, cognitive 12) packages/fff-node/src/ffi.ts:355
- Large Files
Minor — 10 finding(s)
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- No ADRs found
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- No ADRs
- Logging is not universal
- Subsumed condition operand crates/fff-core/tests/grep_integration.rs:1754
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-1bcd4efaeac641b38308f7b5500c1431/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-1bcd4efaeac641b38308f7b5500c1431/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 . | 100 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 5 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| 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. semgrep could not parse 1 file(s) — `packages/fff-bun/src/ffi.ts` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 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 | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |