added cobertura and java code formatting