Changes
- refactor(bs-extract):
extractor.rs(598 LOC) split into three focused modules:extractor/mod.rs(366 LOC) —parse_file,extract_repo,extract_file, Raw* structsextractor/write.rs(109 LOC) — all DB write helpers (write_parsed,write_defs,stable_id, etc.)extractor/complexity.rs(49 LOC) —compute_complexitytree walker
Structural integrity status
All source files now under 500 LOC. Five files split across v0.4.6–v0.4.10:
| File | Before | After |
|---|---|---|
| store.rs | 957 | mod.rs 265 + 5 subs |
| paths.rs | 739 | mod.rs 145 + bfs 224 + signals 406 |
| smells.rs | 668 | mod.rs 366 + detectors 224 |
| miner.rs | 665 | mod.rs 371 + diff 220 |
| extractor.rs | 598 | mod.rs 366 + write 109 + complexity 49 |
All 71 tests pass.