How is code coverage calculated for subdirectories for average

I imagine that not every folder has exactly the same amount of code. Averaging the directories will require that you take this into account.

Put another way – if you have two folders, one with 100 lines of code and 100% coverage, and another with 1 lines of code and 0% coverage… you’re average coverage isn’t 50%. It’s 99%.

1 Like