title: Manual Measures / Metrics in SonarQube
body: <p>I'm on a project working with SonarQube and the given analysis. Can anyone tell me if I can add an own metric which SonarQube uses to analyse my code? For example (I know this one already exists "Comments Balance"):</p>
  
  <p>Tharmar's Metric 00 = "Commented Lines of Code" / "Lines of Code" - OR -<br>Tharmar's Metric 01 = Count the word "Tharmar" used in "Lines of Code"</p>
  
  <p>I tried to find something usefull in the documentation. But the only thing I found was about <a href="http://docs.codehaus.org/display/SONAR/Manual+Measures" rel="nofollow" title="my first try">Manual Measures</a>. I was able to create a new column within the analysis. (proved with the csv-plugin) Understandably, it contains no data. </p>
  
  <p>Is there a way how I can tell SonarQube how to find that data? Or how to calculate that Metric with the given data.</p>
  
  <p>Thanks for any help :)</p>