Developer stress-tests static analysis tool ArchSetu on four open-source repos before launch
A developer building ArchSetu, an offline deterministic static analysis tool for detecting dead code and undeclared dependencies, tested it against four open-source repositories each with around 5,000 GitHub stars before its public launch. Initial runs produced significant false positives, including Express.js being incorrectly graded D with 85% flagged as dead code due to a bug in how the tool traced re-exports across module boundaries. Further testing on repos like stoplightio/prism, liam-hq/liam, and gajus/slonik revealed additional gaps around monorepo dependency resolution, Next.js framework conventions, and TypeScript path alias handling. Each issue was diagnosed, fixed, and covered by new regression tests, bringing the total to 76 passing unit tests across all four fixes. The developer concluded that testing against real-world codebases exposed far more meaningful edge cases than any synthetic test suite could have and is now seeking community feedback ahead of launch.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in