add getCodeCoverage method