Tutorial

Setting a New Configuration


Requisites

In order to create a Configuration, you must:

Introduction

In order to process a repository, Mezuro uses configurations which you specify on the <%= link_to "repository creation", tutorials_path('analyzing') %>. Here you will be briefly introduced to all the components of a configuration and then guided through the steps to create one.

Configuration components


Steps

  1. Configuration creation
    1. Click on "Configuration" on the upper menu
    2. Click on "New Configuration" on the upper menu
      1. Fill in the form with a name that must be unique
      2. Fill in the form with a description which is not required
      3. Click on "Save" and you should be at the configuration page now
  2. Metric addition
    1. From the configuration page
    2. Click on "Add Metric"
    3. Select one collector from the accordions, and click on the metric that you want to add
      1. Fill in the form with a "Weight", used to calculate the final grade
      2. Select the "Aggregation Form" that will be used for this metric
      3. Select the "Reading Group" which will provide the interpretations for this metric
      4. Click on "Save" and you should be at the configuration page now with the new metric added
  3. Ranges creation
    1. From the configuration page
    2. Click on "Show" for the metric which you want to create ranges to
    3. Click on "Add Range"
      1. Fill in the form with the "Beginning" and "End" values for the interval
      2. Fill in the form with the "Comments" which will be displayed if the metric value matches the interval
      3. Select the "Reading" which will be used to calculate the grade, set the label and colour for this metric
      4. Click on "Save" and you should be at the metric page now with the new range added, congratulations!