Moving code-coverage to java