Ben Nadel has a way to examine the direct stack trace from a working template. It seems to me that you can easily transfer this to your application and register the results in a database. After you have done this, you have a good idea of ββwhat is used and what is not.
I think the easiest way is to enable debugging (the standard disclaimer here is about the development server, etc.). The standard ColdFusion debugger provides you with a complete list of all files used at runtime on a single page. ColdFire will do the same in a convenient Firebug extension (click "ColdFusion", then "Exec Times").
It should be noted that the built-in debugger even shows you the files included in CFC calls, as well as the files included in these calls. It is all inclusive .
Ben Nadel on a stack trace
Ray Camden ColdFire
Example CF debugging from a live page:
alt text http://i43.tinypic.com/ofvh37.jpg
source share