This php script analyzes a file containing a class and detects the dead code (unused function). Works with private, public and static methods.