Hi,
which by the way explains how EclEmma and JaCoCo work and already contains examples of programmatic execution.
But if you don't have time on reading of this, then please tell to your teacher who gave you this task that you don't have time on it, or ask your questions to him, instead of asking volunteers to spend their free time.
Regards,
Evgeny