Are there any tools out there which are able to scan all your server files or your www folder (localhost) and tell you:
- which CSS ids and/or classes aren’t used
- which JS functions are not called, ever
- same thing, but for PHP methods or variables
- which images or even html files are not linked to
Is there anything that does this? Or at least some of the above?
There’s an addin for Firefox called CSS Usage which will list the selectors used. I haven’t used it for a while, but I think it also lists unused selectors.
I don’t know of anything that will fulfil the remainder of your requirements.