function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How does commenting out classes and triggers affect our test coverage.

We are redesigning a large custom application are starting to run into test errors in the old classes and triggers that are no longer needed.   We would like to know if commenting out the old unused code would be an effective method of raising our orgs test coverage.  Does anyone know how that will affect coverage?
The most relaible answer to your question is given here:

If you still have doubts, feel free to ask.