Orphaned code

Just a quick question, but is there any way to identify which model and controller methods and views that reside in a project’s directory are not being used and potential orphans just taking up space? Because of Yii’s routing for urls, I don’t know how well any external code editor would do at locating potential orphans.

Are there any built-in ways or extensions that would help with this?

I’ve wondered this too.

You inspired me to search a little. I might try this one:

Dead Code Detector

Would this work with url links as rendered using the Yii Url and Html helper classes?