You need to sign in to do that
Don't have an account?
InternalServerError
How to check if a class is referenced anywhere else?
We have many classes on our org, some of them were developed many years ago and there is one that it looks like is a bit outdated and has 0 % code coverage, I have the feeling that is not in use and could be deleted, is there any way to check if this class is in invoked by a trigger or anywhere else?
Thanks.
Hi,
In developer console you can check the relationship of apex class and pages. But you cannot check the relationship between a trigger and apex class.
Follow the below steps to cheek apex class, trigger and pages in developer console
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
Hi,
In developer console you can check the relationship of apex class and pages. But you cannot check the relationship between a trigger and apex class.
Follow the below steps to cheek apex class, trigger and pages in developer console
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi,
The best way here could be checking with the debug logs and see what all artifacts are being called when the above trigger is executed.
Let me know if it works for you!
I was provided with a code snippet that checks if a class is referenced anywhere else! :)