Fix code coverage metrics