I have around 100 .js files in my application. I need to find the unused functions from these files.
Which editor or tool can help me?
I have around 100 .js files in my application. I need to find the unused functions from these files.
Which editor or tool can help me?
You can do this using Jsure, a Javascript lint implementation. You'll be looking for the -unused-funs
flag
I dont' this there is a way to do it completely. Check this question : http://stackoverflow.com/questions/1167663/is-there-a-tool-to-remove-unused-methods-in-javascript