So I have a php application with lots of different files, the code is a bit of a mess.
What I want to do is install the application on my server, use it briefly, try to cover all functionality clicking here and there, and then get a log somehow that says 'these php files were used' or 'these functions were accessed'.
I don't care about function arguments, time needed, how many times each thing was called etc etc.
I just want to see if there are functions or at least whole files that are never called - so they are dead.
I know that 1) it could be possibly done by editing each file and writing something out when it is called or included 2) there may be static tools that try to follow all code paths etc.
I'm not interested in the above - i need just something, probably a php module/debugger I'm not sure, that logs which files are requested/included/run by php. If specific functions can be traced too, even better. But even just files would be awesome.