News for hackers. Stuff that matters.
Re:Rust Foundation: Hello, World by swsieber on Monday February 08, 2021 @06:42PM (#26071920)
I built a tool that generates personal code coverage reports from general test code coverage and repo inputs. IE what is the code coverage on lines I wrote this sprint and lines I wrote ever.

It stores blame coverage data in an sqlite db and generates static html reports for easy deployment. It handles TS/JS (lcov) coverage natively (I have to parse the files with SWC to figure out what lines are parseable). It has to dish out to a small jar to extract jacoco coverage.

It takes about an hour to do the initial data population and can generate an report and update test infor in 5-10 minutes for a roughly 600K loc codebase. Sadly it's closed source at work.

I'd been kicking around the idea in my head for a bit, and when I got the go-ahead from my boss I was able to bring it to completion fast enough to surprise my boss.

There are no comments on this comment yet.