2

I currently have 6 different flex applications (widgets) that run on a main page. They all depend on one common library project.

I am currently cleaning up the codebase quite dramatically and it is hard to keep overview this way especially since I inherited the codebase.

Does anyone know a tool that can automatically inform me of any dead code?

Cheers

4

1 回答 1

4

There are a few tools out there. I'd start with this one from Adobe; which I believe is written as an eclipse plugin.

FlexPMD is another tool; also from Adobe.

FlexCover is another.

Keep in mind that the Flex Compiler will automatically remove unused classes from your final SWF; so removing these classes from your project will probably not affect the final SWF size. I can see it helping with long-term maintenance, though..

于 2011-05-27T14:39:34.143 回答