You need to sign in to do that
Don't have an account?
tonante
Question Regarding Code Coverage and Inactive Triggers
HI, This may seem like an elementary question but I have not seen this explained anywhere in Sales Force docs however I may have overlooked this topic:
Q) Do inactive triggers still get calculated in an organization's overall coverage ?
I was thinkng that since their meta-xml status has changed to "Inactive" , the Apex Test Execution is somehow notified to omit the inactive trigger as part of the overall coverage thus possibly increasing the organization's overalll code coverage percentage.
Brief Explanation/Reason for my question:
We have to maintain and scrub our list of older triggers and classes which may no longer be needed (not sure yet) due to changes in process or due to software upgrades like Non-Profit Starter Pack(which changes the Contact-Account Relationship regarding Contact's Account ID lookup by making this lookup field obsolete since accounts are now regarded as affiliations ).
Thanks much.
Q) Do inactive triggers still get calculated in an organization's overall coverage ?
I was thinkng that since their meta-xml status has changed to "Inactive" , the Apex Test Execution is somehow notified to omit the inactive trigger as part of the overall coverage thus possibly increasing the organization's overalll code coverage percentage.
Brief Explanation/Reason for my question:
We have to maintain and scrub our list of older triggers and classes which may no longer be needed (not sure yet) due to changes in process or due to software upgrades like Non-Profit Starter Pack(which changes the Contact-Account Relationship regarding Contact's Account ID lookup by making this lookup field obsolete since accounts are now regarded as affiliations ).
Thanks much.
All Answers