Simplify coverage parser logic. Implement pre cleanup actions.