The problem is that there are several js files full of functions. The functions are quite diverse, just dumped in a heap.
They can be used in other js modules, can be written directly in html templates, and can appear in the php source code.
Need to find functions that accurately never called.
In fact, the task is simple — to parse these files to determine the functions, then parse another bunch of files on the subject occurrences of names. To give a list of those that were not found or found but very little.
In principle it is not difficult to write, but suddenly there is such Tulsa?