My code has a private method, say X. X is called/referenced only by one another public method Y. Y is excluded from coverage using the [ExcludeFromCoverage] attribute. And hence my private method X is not covered while running coverage tool. It is reducing my overall code coverage.
I tried the [ExcludeFromCoverage] attribute on this private method X too, but it doesnt seem to be working. Code coverage is still the same.