Added logic for cobertura code coverage tool.