I am dealing with some horribly undocumented PHP code (MantisBT) and trying to get a handle on the auth system to build a plugin. Are there any decent tools, windows or unix, that can help me find the entry points for different functions, which functions are never used (*sigh* they actually have unused functions), etc? I could probably use more features than that, if possible.