title: Branch coverage with JaCoCo, Emma from IntelliJ
body: <p>I am trying to measure branch coverage of unit tests for a large Grails application. I am using JaCoCo, Emma and IDEA to collect the metrics from inside IntelliJ, I am getting the following:</p>
  
  <ul>
  <li>JaCoCo (no metrics are shown even for line coverage)</li>
  <li>Emma (produces method and line coverage)</li>
  <li>IDEA (produces class, method and line coverage)</li>
  </ul>
  
  <p>I am mostly interested in JaCoCo as it should give me Branch Coverage by default. Could someone point me to some tips on how to troubleshoot this?</p>