I recommend you also post this to the Cisco Support Community for additional feedback and information.
I hope this helps.
Moderator for Cisco Customer Communities
I see this request come up every so often in the forums and it would be possible to write a script to analyze AEFs for prompt and sub flow usage. The problem gets to be when you use expressions to determine what sub flow to call or what prompt to play, you then get into the realm of creating a parser to understand UCCX expressions to quasi evaluate what is being called and where. I think this would be easier to evaluate on the sub flow side versus prompts where its not terribly common to use expressions.
I have some ideas on prompt usage that would get around some of the above limitations but I don't have our lab UCCX's to try it on at the moment. I'll report back when I get the chance.