Commit c99fce96b01d388f7600565f0d7cbf6eac0bf0e8
Committed by
Diego Camarinha
1 parent
732b657c
Exists in
colab
and in
4 other branches
Revised grammar on views
Signed off by: Daniel Alves <danpaulalves@gmail.com>
Showing
11 changed files
with
35 additions
and
35 deletions
Show diff stats
app/views/compound_metric_configurations/_metric_options.html.erb
| @@ -29,7 +29,7 @@ | @@ -29,7 +29,7 @@ | ||
| 29 | </div> | 29 | </div> |
| 30 | <div class="help-container"> | 30 | <div class="help-container"> |
| 31 | <p> | 31 | <p> |
| 32 | - A mathematic expression to calculate your compound metric. | 32 | + A mathematical expression to calculate your compound metric. |
| 33 | </p> | 33 | </p> |
| 34 | </div> | 34 | </div> |
| 35 | </div> | 35 | </div> |
| @@ -45,4 +45,4 @@ | @@ -45,4 +45,4 @@ | ||
| 45 | </p> | 45 | </p> |
| 46 | </div> | 46 | </div> |
| 47 | </div> | 47 | </div> |
| 48 | -<%= f.hidden_field(:compound, { value: "true"}) %> | ||
| 49 | \ No newline at end of file | 48 | \ No newline at end of file |
| 49 | +<%= f.hidden_field(:compound, { value: "true"}) %> |
app/views/home/index.html.erb
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | 3 | ||
| 4 | <p>This is Mezuro! A <strong>free/libre</strong> web platform for <strong>collaborative</strong> source code <strong>evaluation</strong>.</p> | 4 | <p>This is Mezuro! A <strong>free/libre</strong> web platform for <strong>collaborative</strong> source code <strong>evaluation</strong>.</p> |
| 5 | 5 | ||
| 6 | - <p>Here you can evaluate your source code with the most popular SCMs (like Git and SVN), just by providing its URL. For now, you can evaluate <strong>C</strong>, <strong>C++</strong> and <strong>Java</strong> source codes, but we hope to support more languages in the future.</p> | 6 | + <p>Here you can evaluate your source code with the most popular SCMs (like Git and SVN), just by providing its URL. For now, you can evaluate <strong>C</strong>, <strong>C++</strong> and <strong>Java</strong> source codes, but we are looking forward to supporting more languages in the future.</p> |
| 7 | 7 | ||
| 8 | <p> Mezuro is continuously under development. Try it and give us your <%= link_to 'feedback', 'https://github.com/mezuro/mezuro/issues', target: '_blank' %>.</p> | 8 | <p> Mezuro is continuously under development. Try it and give us your <%= link_to 'feedback', 'https://github.com/mezuro/mezuro/issues', target: '_blank' %>.</p> |
| 9 | </div> | 9 | </div> |
app/views/metric_configurations/_form.html.erb
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | </div> | 10 | </div> |
| 11 | <div class="help-container"> | 11 | <div class="help-container"> |
| 12 | <p> | 12 | <p> |
| 13 | - It is the Weight of the metric | 13 | + It is the Weight of the metric. |
| 14 | </p> | 14 | </p> |
| 15 | </div> | 15 | </div> |
| 16 | </div> | 16 | </div> |
| @@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
| 22 | </div> | 22 | </div> |
| 23 | <div class="help-container"> | 23 | <div class="help-container"> |
| 24 | <p> | 24 | <p> |
| 25 | - It is the Aggregation Form of the metric | 25 | + It is the Aggregation Form of the metric. |
| 26 | </p> | 26 | </p> |
| 27 | </div> | 27 | </div> |
| 28 | </div> | 28 | </div> |
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | </div> | 37 | </div> |
| 38 | <div class="help-container"> | 38 | <div class="help-container"> |
| 39 | <p> | 39 | <p> |
| 40 | - The Reading Group associated with this metric | 40 | + The Reading Group associated with this metric. |
| 41 | </p> | 41 | </p> |
| 42 | </div> | 42 | </div> |
| 43 | </div> | 43 | </div> |
app/views/mezuro_ranges/_form.html.erb
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | </div> | 11 | </div> |
| 12 | <div class="help-container"> | 12 | <div class="help-container"> |
| 13 | <p> | 13 | <p> |
| 14 | - Value where your Range begins. | 14 | + Starting value for your Range. |
| 15 | </p> | 15 | </p> |
| 16 | </div> | 16 | </div> |
| 17 | </div> | 17 | </div> |
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | </div> | 24 | </div> |
| 25 | <div class="help-container"> | 25 | <div class="help-container"> |
| 26 | <p> | 26 | <p> |
| 27 | - Value where your Range ends. | 27 | + Ending value for your Range. |
| 28 | </p> | 28 | </p> |
| 29 | </div> | 29 | </div> |
| 30 | </div> | 30 | </div> |
app/views/mezuro_ranges/_no_readings.html.erb
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | <% if reading_groups_owner? @reading_group_id %> | 4 | <% if reading_groups_owner? @reading_group_id %> |
| 5 | <br /><%= link_to 'Create New Reading', new_reading_group_reading_path(@reading_group_id), class: 'btn btn-danger' %> | 5 | <br /><%= link_to 'Create New Reading', new_reading_group_reading_path(@reading_group_id), class: 'btn btn-danger' %> |
| 6 | <% else %> | 6 | <% else %> |
| 7 | - <p> Your Metric Configurations' Reading Group belongs to another user and you are not allowed to modify it.</p> | 7 | + <p> The Reading Group of your Metric Configuration belongs to another user and you are not allowed to modify it.</p> |
| 8 | <% end %> | 8 | <% end %> |
| 9 | </p> | 9 | </p> |
| 10 | </div> | 10 | </div> |
app/views/modules/_metric_result.html.erb
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | <td colspan="4"> | 17 | <td colspan="4"> |
| 18 | <span id="loader_container<%= metric_result.id %>"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</span> | 18 | <span id="loader_container<%= metric_result.id %>"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</span> |
| 19 | <canvas id="container<%= metric_result.id %>" class="graphic_container" style="display: none"></canvas> | 19 | <canvas id="container<%= metric_result.id %>" class="graphic_container" style="display: none"></canvas> |
| 20 | - <span id="container<%= metric_result.id %>" style="display: none">There is just a point and it will not be printed into a chart.</span> | 20 | + <span id="container<%= metric_result.id %>" style="display: none">There is only one point and it will not be printed into a chart.</span> |
| 21 | </td> | 21 | </td> |
| 22 | </tr> | 22 | </tr> |
| 23 | -<% end %> | ||
| 24 | \ No newline at end of file | 23 | \ No newline at end of file |
| 24 | +<% end %> |
app/views/readings/_form.html.erb
| @@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
| 43 | </div> | 43 | </div> |
| 44 | <div class="help-container"> | 44 | <div class="help-container"> |
| 45 | <p> | 45 | <p> |
| 46 | - The color that represents your Reading. You can choose one by typing its hexadecimal or using the color picker. | 46 | + The color that represents your Reading. You can choose one by typing its hexadecimal value or by using the color picker. |
| 47 | </p> | 47 | </p> |
| 48 | <p> | 48 | <p> |
| 49 | Example values: 000000, 00ff00 etc | 49 | Example values: 000000, 00ff00 etc |
| @@ -73,4 +73,4 @@ | @@ -73,4 +73,4 @@ | ||
| 73 | } | 73 | } |
| 74 | } | 74 | } |
| 75 | new ColorPicker($("#pickcolor_button"), options); | 75 | new ColorPicker($("#pickcolor_button"), options); |
| 76 | -</script> | ||
| 77 | \ No newline at end of file | 76 | \ No newline at end of file |
| 77 | +</script> |
app/views/repositories/_form.html.erb
| @@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
| 47 | </div> | 47 | </div> |
| 48 | <div class="help-container"> | 48 | <div class="help-container"> |
| 49 | <p> | 49 | <p> |
| 50 | - The version control system the software use. | 50 | + The version control system the software uses. |
| 51 | </p> | 51 | </p> |
| 52 | </div> | 52 | </div> |
| 53 | </div> | 53 | </div> |
| @@ -94,4 +94,4 @@ | @@ -94,4 +94,4 @@ | ||
| 94 | <div class="row margin-left-none" style="margin-top: 20px"> | 94 | <div class="row margin-left-none" style="margin-top: 20px"> |
| 95 | <%= f.submit 'Save', class: 'btn btn-primary' %> | 95 | <%= f.submit 'Save', class: 'btn btn-primary' %> |
| 96 | <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %> | 96 | <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %> |
| 97 | -</div> | ||
| 98 | \ No newline at end of file | 97 | \ No newline at end of file |
| 98 | +</div> |
app/views/shared/_short_about.html.erb
| 1 | <li class="nav-header">About Mezuro</li> | 1 | <li class="nav-header">About Mezuro</li> |
| 2 | <li> | 2 | <li> |
| 3 | - <small> The Mezuro project attempts to provide a platform to compare projects and metric techniques, teaching how to use metrics through configurations, code analysis, avoid technical debts, and disseminate code metrics usage and understanding.</small> | 3 | + <small> The Mezuro project attempts to provide a platform to compare projects and metric techniques, teaching how to use metrics through configurations and code analysis, avoid technical debts and disseminate code metrics usage and understanding.</small> |
| 4 | <li> | 4 | <li> |
| 5 | <li> | 5 | <li> |
| 6 | - <small>Here you can try the front-end, which we call Prezento. It interacts with the <%= link_to 'Kalibro Web Service', 'https://github.com/mezuro/kalibro', target: '_blank' %> and <%= link_to 'Kalibro Processor', 'https://github.com/mezuro/kalibro_processr', target: '_blank' %>. It is intended to be a service where you can evaluate your code quality and, if you want, define which set of metrics you want to use.</small> | ||
| 7 | -</li> | ||
| 8 | \ No newline at end of file | 6 | \ No newline at end of file |
| 7 | + <small>Here you can try the front-end, which we call Prezento. It interacts with the <%= link_to 'Kalibro Web Service', 'https://github.com/mezuro/kalibro', target: '_blank' %> and <%= link_to 'Kalibro Processor', 'https://github.com/mezuro/kalibro_processr', target: '_blank' %>. It is intended to be a service where you can evaluate your code quality and, if you want, define which set of metrics to use.</small> | ||
| 8 | +</li> |
app/views/tutorials/analyzing.html.erb
| @@ -9,7 +9,7 @@ In order to create a Project, you must: | @@ -9,7 +9,7 @@ In order to create a Project, you must: | ||
| 9 | <ul> | 9 | <ul> |
| 10 | <li>Have <%= link_to("signed up", new_user_registration_path) %> to the platform</li> | 10 | <li>Have <%= link_to("signed up", new_user_registration_path) %> to the platform</li> |
| 11 | <li>Be <%= link_to("signed in", new_user_session_path) %></li> | 11 | <li>Be <%= link_to("signed in", new_user_session_path) %></li> |
| 12 | - <li>And have a repository URL which you desire to analyze</li> | 12 | + <li>And have a repository URL which you wish to analyze</li> |
| 13 | </ul> | 13 | </ul> |
| 14 | 14 | ||
| 15 | <hr /> | 15 | <hr /> |
| @@ -33,12 +33,12 @@ In order to create a Project, you must: | @@ -33,12 +33,12 @@ In order to create a Project, you must: | ||
| 33 | <li>Fill in the form</li> | 33 | <li>Fill in the form</li> |
| 34 | <ul> | 34 | <ul> |
| 35 | <li>"Name" must be unique</li> | 35 | <li>"Name" must be unique</li> |
| 36 | - <li>You should choose from one of the Open Source licenses in the platform accordingly to your code</li> | ||
| 37 | - <li>The "Type" field stands for the repository's source code management tool (Git, for example)</li> | 36 | + <li>You should choose one of the Open Source licenses in the platform according to your code</li> |
| 37 | + <li>The "Type" field stands for the Repository source code management tool (Git, for example)</li> | ||
| 38 | <li>Fill in the "Address" with the URL from which we can download your code</li> | 38 | <li>Fill in the "Address" with the URL from which we can download your code</li> |
| 39 | <li>If you want to analyze your project periodically, set it (you can as well run it from the interface whenever you want)</li> | 39 | <li>If you want to analyze your project periodically, set it (you can as well run it from the interface whenever you want)</li> |
| 40 | - <li>Finally, the "Configuration", stands for the set of metrics and interpretation that we'll use to analyze your project</li> | ||
| 41 | - <li>Click on "Save" and you should be at the repository page, waiting for that analysis</li> | 40 | + <li>Finally, the "Configuration" stands for the set of metrics and interpretation that we will use to analyze your project</li> |
| 41 | + <li>Click on "Save" and you should be at the repository page, waiting for the analysis</li> | ||
| 42 | </ul> | 42 | </ul> |
| 43 | </ol> | 43 | </ol> |
| 44 | </ol> | 44 | </ol> |
| @@ -53,18 +53,18 @@ The repository page is divided into four different sections: | @@ -53,18 +53,18 @@ The repository page is divided into four different sections: | ||
| 53 | <li><b>Details</b></li> | 53 | <li><b>Details</b></li> |
| 54 | <ul> | 54 | <ul> |
| 55 | <li>Information that you provided during the creation steps</li> | 55 | <li>Information that you provided during the creation steps</li> |
| 56 | - <li>Select box so it is possible to visualize previous precessings for your repository</li> | 56 | + <li>Select box so it is possible to visualize previous processings of your repository</li> |
| 57 | </ul> | 57 | </ul> |
| 58 | <li><b>Processing information</b></li> | 58 | <li><b>Processing information</b></li> |
| 59 | <ul> | 59 | <ul> |
| 60 | - <li>Information about the time that has taken to finish each step of the processing</li> | 60 | + <li>Information about the time it has taken to finish each step of the processing</li> |
| 61 | <ol> | 61 | <ol> |
| 62 | <li>PREPARING: the system is reserving a folder for your repository and retrieving the configuration</li> | 62 | <li>PREPARING: the system is reserving a folder for your repository and retrieving the configuration</li> |
| 63 | <li>DOWNLOADING: retrieving the source code</li> | 63 | <li>DOWNLOADING: retrieving the source code</li> |
| 64 | <li>COLLECTING: calculating the metrics for your repository</li> | 64 | <li>COLLECTING: calculating the metrics for your repository</li> |
| 65 | <li>BUILDING: organizing the results into a source tree structure</li> | 65 | <li>BUILDING: organizing the results into a source tree structure</li> |
| 66 | <li>AGGREGATING: calculating the aggregated value for parent modules in the source tree</li> | 66 | <li>AGGREGATING: calculating the aggregated value for parent modules in the source tree</li> |
| 67 | - <li>CALCULATING: if the choosen configuration has compound metrics, they will be calculated</li> | 67 | + <li>CALCULATING: if the chosen configuration has compound metrics, they will be calculated</li> |
| 68 | <li>INTERPRETING: with all the necessary results, the system will interpret them using reading groups (labels and colors)</li> | 68 | <li>INTERPRETING: with all the necessary results, the system will interpret them using reading groups (labels and colors)</li> |
| 69 | </ol> | 69 | </ol> |
| 70 | </ul> | 70 | </ul> |
| @@ -78,11 +78,11 @@ The repository page is divided into four different sections: | @@ -78,11 +78,11 @@ The repository page is divided into four different sections: | ||
| 78 | <li>PACKAGE</li> | 78 | <li>PACKAGE</li> |
| 79 | <li>SOFTWARE</li> | 79 | <li>SOFTWARE</li> |
| 80 | </ul> | 80 | </ul> |
| 81 | - <li>Grade of the given module accordingly to the weights of the metrics on the configuration | 81 | + <li>Grade of the given module according to the weights of the metrics on the configuration |
| 82 | </ul> | 82 | </ul> |
| 83 | <li><b>Metric Results</b></li> | 83 | <li><b>Metric Results</b></li> |
| 84 | <ul> | 84 | <ul> |
| 85 | <li>Displays the individual results of each metric for the current module selected in the source tree</li> | 85 | <li>Displays the individual results of each metric for the current module selected in the source tree</li> |
| 86 | - <li>By clicking in the metric name, you will see a historic chart for that metric</li> | 86 | + <li>By clicking on the metric name, you will see a historic chart for that metric</li> |
| 87 | </ul> | 87 | </ul> |
| 88 | -</ol> | ||
| 89 | \ No newline at end of file | 88 | \ No newline at end of file |
| 89 | +</ol> |
app/views/tutorials/configuring.html.erb
| @@ -23,8 +23,8 @@ To process a repository, Mezuro uses configurations which you specify on the <%= | @@ -23,8 +23,8 @@ To process a repository, Mezuro uses configurations which you specify on the <%= | ||
| 23 | <li><b>Configuration</b>: just a high level container for the remaining components association</li> | 23 | <li><b>Configuration</b>: just a high level container for the remaining components association</li> |
| 24 | <li><b>Metrics</b>: specification of which metric will be calculated during the processing and how to interpret its results</li> | 24 | <li><b>Metrics</b>: specification of which metric will be calculated during the processing and how to interpret its results</li> |
| 25 | <ul> | 25 | <ul> |
| 26 | - <li>Weight: for each module is given a grade which is a weighted average of all the metrics calculated for it. This field is the weight of the metric on the final grade</li> | ||
| 27 | - <li>Aggregation Form: Not all the metrics can be calculated for every module. For this type of metric, we calculate the aggregation of the children values accordingly to what this field specifies</li> | 26 | + <li>Weight: for each module it is given a grade which is a weighted average of all the metrics calculated for it. This field is the weight of the metric on the final grade</li> |
| 27 | + <li>Aggregation Form: Not all the metrics can be calculated for every module. For this type of metric, we calculate the aggregation of the children values according to what this field specifies</li> | ||
| 28 | <li>Reading Group: specifies which set of interpretations (called readings) will be available for this metric</li> | 28 | <li>Reading Group: specifies which set of interpretations (called readings) will be available for this metric</li> |
| 29 | </ul> | 29 | </ul> |
| 30 | <li><b>Reading Group</b>: just a high level container for the readings (interpretations)</li> | 30 | <li><b>Reading Group</b>: just a high level container for the readings (interpretations)</li> |
| @@ -53,7 +53,7 @@ To process a repository, Mezuro uses configurations which you specify on the <%= | @@ -53,7 +53,7 @@ To process a repository, Mezuro uses configurations which you specify on the <%= | ||
| 53 | <ol> | 53 | <ol> |
| 54 | <li>From the configuration page</li> | 54 | <li>From the configuration page</li> |
| 55 | <li>Click on "Add Metric"</li> | 55 | <li>Click on "Add Metric"</li> |
| 56 | - <li>Select one collector from the accordions, and click on the metric that you want to add</li> | 56 | + <li>Select one collector from the options, and click on the metric that you want to add</li> |
| 57 | <ol> | 57 | <ol> |
| 58 | <li>Fill in the form with a "Weight", used to calculate the final grade</li> | 58 | <li>Fill in the form with a "Weight", used to calculate the final grade</li> |
| 59 | <li>Select the "Aggregation Form" that will be used for this metric</li> | 59 | <li>Select the "Aggregation Form" that will be used for this metric</li> |
| @@ -64,15 +64,15 @@ To process a repository, Mezuro uses configurations which you specify on the <%= | @@ -64,15 +64,15 @@ To process a repository, Mezuro uses configurations which you specify on the <%= | ||
| 64 | <li>Ranges creation</li> | 64 | <li>Ranges creation</li> |
| 65 | <ol> | 65 | <ol> |
| 66 | <li>From the configuration page</li> | 66 | <li>From the configuration page</li> |
| 67 | - <li>Click on "Show" for the metric which you want to create ranges to</li> | 67 | + <li>Click on "Show" for the metric which you want to create ranges for</li> |
| 68 | <li>Click on "Add Range"</li> | 68 | <li>Click on "Add Range"</li> |
| 69 | <ol> | 69 | <ol> |
| 70 | <li>Fill in the form with the "Beginning" and "End" values for the interval</li> | 70 | <li>Fill in the form with the "Beginning" and "End" values for the interval</li> |
| 71 | <li>Fill in the form with the "Comments" which will be displayed if the metric value matches the interval</li> | 71 | <li>Fill in the form with the "Comments" which will be displayed if the metric value matches the interval</li> |
| 72 | <li>Select the "Reading" which will be associated with this range</li> | 72 | <li>Select the "Reading" which will be associated with this range</li> |
| 73 | - <li>Click on "Save" and you should be at the metric page now with the new range added, congratulations!</li> | 73 | + <li>Click on "Save" and you should be at the metric page with the new range added, congratulations!</li> |
| 74 | </ol> | 74 | </ol> |
| 75 | </ol> | 75 | </ol> |
| 76 | </ol> | 76 | </ol> |
| 77 | 77 | ||
| 78 | -<hr /> | ||
| 79 | \ No newline at end of file | 78 | \ No newline at end of file |
| 79 | +<hr /> |