<commit_before><div class="dashbox">
  <h3><span title="<%= metric('random').description -%>"></span></h3>

  <p>
    <span class="big">
      <%= format_measure('random') -%> <%= trend_icon(measure('random')) %>
    </span>
  </p>

  <p><%= format_measure('message') -%></p>

  <p>
    <%= format_measure('ncloc', :suffix => ' lines', :url => url_for_drilldown('ncloc')) -%>
  </p>
</div>
<div class="dashbox">
  <h3><%= message('example.help') -%></h3>

  <p>
    <%= message('example.jdbc_login') -%> : <%= configuration('sonar.jdbc.username') -%><br/>
    <%= message('example.plugin_property') -%> : <%= configuration('sonar.example.myproperty') -%><br/>
  </p>

  <p>
    <%= message('example.eastwood_image') -%> : <br/>
    <%= gchart('cht=bhs&chco=FF0000,00FF00,0000FF&chs=200x125&chd=s:FOE,THE,Bar&chxt=x,y&chxl=1:|Dec|Nov|Oct|0:||20K||60K||100K|') -%>
  </p>

  <h3><%= message('example.widget_properties') -%></h3>
  <table>
    <tr>
      <td>max: </td>
      <td><%= widget_properties['max'] -%></td>
    </tr>
    <tr>
      <td>param1: </td>
      <td><%= widget_properties['param1'] -%></td>
    </tr>
    <tr>
      <td>param2: </td>
      <td><%= widget_properties['param2'] -%></td>
    </tr>
  </table>
</div>
<commit_msg>Fix metric key of the property to display in the widget<commit_after><div class="dashbox">
  <h3><span title="<%= metric('random').description -%>"></span></h3>

  <p>
    <span class="big">
      <%= format_measure('random') -%> <%= trend_icon(measure('random')) %>
    </span>
  </p>

  <p><%= format_measure('message_key') -%></p>

  <p>
    <%= format_measure('ncloc', :suffix => ' lines', :url => url_for_drilldown('ncloc')) -%>
  </p>
</div>
<div class="dashbox">
  <h3><%= message('example.help') -%></h3>

  <p>
    <%= message('example.jdbc_login') -%> : <%= configuration('sonar.jdbc.username') -%><br/>
    <%= message('example.plugin_property') -%> : <%= configuration('sonar.example.myproperty') -%><br/>
  </p>

  <p>
    <%= message('example.eastwood_image') -%> : <br/>
    <%= gchart('cht=bhs&chco=FF0000,00FF00,0000FF&chs=200x125&chd=s:FOE,THE,Bar&chxt=x,y&chxl=1:|Dec|Nov|Oct|0:||20K||60K||100K|') -%>
  </p>

  <h3><%= message('example.widget_properties') -%></h3>
  <table>
    <tr>
      <td>max: </td>
      <td><%= widget_properties['max'] -%></td>
    </tr>
    <tr>
      <td>param1: </td>
      <td><%= widget_properties['param1'] -%></td>
    </tr>
    <tr>
      <td>param2: </td>
      <td><%= widget_properties['param2'] -%></td>
    </tr>
  </table>
</div>

{'fraction_non_alphanumeric': 0.2804107424960506, 'fraction_numerical': 0.029225908372827805, 'mean_word_length': 3.6138433515482697, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 133, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6641061', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1036, 'n_words': 148}