title: Lines of Code VS Instructions while measuring code quality
body: <p>I have a projet composed of numerous modules. I am running both <a href="http://www.eclemma.org/jacoco/" rel="noreferrer">JaCoCo</a> for unit tests coverage and <a href="https://www.sonarqube.org/" rel="noreferrer">Sonar</a> for code quality.</p>
  
  <p>For a technical reason, I can't use JaCoCo reports for one of my modules (GWT erases the <code>target</code> folder and I couldn't go past this issue yet).</p>
  
  <p>Let's say I have 8 modules, from 1 to 8.
  One of them is for domain objects only, so I don't want to cover it with my tests. Same goes for another one, dedicated for auto-generated classes.</p>
  
  <p>JaCoCo runs on 5 modules, and Sonar on 6 modules.</p>
  
  <p>The total instructions shown by JaCoCo is 145k.</p>
  
  <p>Sonar shows a total of 75k LOC.</p>
  
  <hr>
  
  <p>Aren't they <strong>quite</strong> the same ? Did I miss something ? Is JaCoCo taking in account the whole project whatever reports I feed him ? What can possibly explain this gap in measurement ?</p>