Is there any way to find unreferenced code in Flex Builder?

Posted by Andrew Aylett on Stack Overflow See other posts from Stack Overflow or by Andrew Aylett
Published on 2010-03-22T11:36:14Z Indexed on 2010/03/22 15:11 UTC
Read the original article Hit count: 451

Filed under:
|

We've got several Flex projects, one of which has just been refactored. I'm wondering if there's an easy way to tell which classes and functions (if any) aren't being used any more?

I've discovered that we've definitely got some unused code, because running ASDoc on the entire project reports some compilation errors which don't get reported by Flex Builder (implying that those classes aren't being used any more). I'm hoping to find a more robust and complete method, and preferably one which can work at function level too.

© Stack Overflow or respective owner

Related posts about flex

Related posts about code-analysis