We are in process of deploying a project to PROD and found that test coverage is coming up less then 75%.
There are some triggers we have merged into single trigger.
Question is: whether the inactive triggers are calculated to get average test coverage ?
Documentation says that Comments and @isTest are not counted against coverage. What about inactive triggers?
The inactive triggers are counted against code coverage for sure and also there is no way to get coverage for these as this is considered dead code if its not used .
One work around could be to activate these triggers if this has to be kept for future process and use custom setting to decide to run at run time or stop them .
If these are inactive and no more needed archive this and store code in some repo and get rid of them from production .