Commit 893a6da
committed
add: spec 166 - fix LCOV function name matching for Rust methods
Addresses false positive [ERROR UNTESTED] flags caused by function name
mismatch between AST extraction and LCOV demangling.
Root cause: Debtmap extracts simple method names (e.g., 'create_auto_commit')
but LCOV contains fully-qualified paths after demangling (e.g.,
'prodigy::cook::CommitTracker::create_auto_commit').
Solution:
- Enhanced normalization to extract both full path and method name
- Multi-strategy matching (exact, line, method name, suffix)
- Debug tool: explain-coverage CLI command
- Integration tests with real Prodigy LCOV data
Target: Reduce false positive rate from >50% to <10%
🤖 Generated with Claude Code1 parent cd88d0f commit 893a6da
1 file changed
+782
-0
lines changed
0 commit comments