The source would need to include some checking, e.g.
1) Java or PHP installed?
2) udm4 sources and configuration available and accessible
3) required functionality/version of Java or PHP
I am stuck with udm4 not working (see another thread in the troubleshooting section of this forum), and such a diagnostic program could help with localizing the bug.