rework coverage calculation for coveralls.io