2025-06-21 MyCmd and MyProject Weekly Progress Report: 2025 Week 25

MyCmd and MyProject Weekly Progress Report: 2025 Week 25

MyProject Demo

Last week, I recognized I wanted to improve my testing of MyProject. Even though code coverage as a measurement isn’t a good measure of code quality and test fitness on its own, it is an important start.

I had some ideas of how I could instrument my tests, building on the ideas I have written on previously a shell script profiling. I can now run my tests and get the following, which produces coverage-annotated source, highlighting missed lines:

Viewing Coverage Annotated Source

With the work I did this week, I was able to instrument my tests and then generate .coverage files, that show the project source, with each line annotated with the following:

The output isn’t perfect, for example, if a single statement is split across multiple lines (with lines ending in \), only one of the lines is shown as being executed. I think I can improve my code coverage analysis implementation in the future to handle this.

To see the full coverage report from my current code, see this gist.

This Week’s MyProject Updates

I pushed 7 commits this week.

Next Week

With my code coverage reports, I now know where my test coverage is lacking. I’ve made some notes on what changes I want to make. So I am going to try doing this next week:


All of my MyCmd and MyProject Weekly Progress reports will be linked from here.