Clover is a Java code coverage analysis tool. Key features include per-test code coverage, test optimization (aka selective testing), interactive and historical HTML reporting, IDE integration with Eclipse, IntelliJ IDEA, RAD, and NetBeans. It also works with Ant, Maven, and other command line tools.
The PHP Code Encryption class can be used to obfuscate PHP scripts by replacing variable names. It can parse a given PHP script and replace the names of the variables it uses with more obfuscated names. The new names of the replaced variables can be retrieved by looking at a variable of the class.