Search code examples
javajavascriptjspdead-code

Remove dead code in JSP


I have a big project with a lot of code (most in JSP) and I like to find a tool that can remove dead code from all the JSP. Do you know or recommended me a good tool?

I've looked into lots of tools that do this well for pure Java projects, but nothing seems to really handle projects with JSP and JavaScript.


Solution

  • Theoretically ProGuard can process WAR files, how about running you code through that selecting the options to remove redundant code?