Hey HN, author here. Inspired by this great strange loop talk by Alan Shreve [0], which discusses a non-standard use for code coverage reports, I wrote a blog post about using kcov [1] and pycobertura [2] as a tool to help start understanding a new-to-you codebase.<p>As a specific example, I take the use case of understanding how keypresses are handled within Alacritty [3], a terminal emulator written in Rust.<p>[0]: <a href="https://www.youtube.com/watch?v=dSqLt8BgbRQ" rel="nofollow">https://www.youtube.com/watch?v=dSqLt8BgbRQ</a><p>[1]: <a href="https://github.com/SimonKagstrom/kcov" rel="nofollow">https://github.com/SimonKagstrom/kcov</a><p>[2]: <a href="https://github.com/aconrad/pycobertura" rel="nofollow">https://github.com/aconrad/pycobertura</a><p>[3]: <a href="https://github.com/jwilm/alacritty" rel="nofollow">https://github.com/jwilm/alacritty</a>