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
andyaldis1.3969086903835708E12andyaldis1.3969086903835708E12 

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?
Dev_AryaDev_Arya
The most relaible answer to your question is given here:
https://success.salesforce.com/issues_view?id=a1p300000008XhiAAE

If you still have doubts, feel free to ask.