Commit 356a7ff10b6994240a2bed38604ddd65af6f68cd
Exists in
colab
and in
2 other branches
Merge pull request #341 from mezuro/remove_tutorials
Remove tutorials
Showing
13 changed files
with
1 additions
and
534 deletions
Show diff stats
CHANGELOG.rdoc
@@ -9,6 +9,7 @@ Prezento is the web interface for Mezuro. | @@ -9,6 +9,7 @@ Prezento is the web interface for Mezuro. | ||
9 | * Refactor footer as a grid | 9 | * Refactor footer as a grid |
10 | * Add latest repositories list to the homepage | 10 | * Add latest repositories list to the homepage |
11 | * Add latest configurations list to the homepage | 11 | * Add latest configurations list to the homepage |
12 | +* Move tutorials to mezuro.github.io | ||
12 | 13 | ||
13 | == v0.11.3 - 01/04/2016 | 14 | == v0.11.3 - 01/04/2016 |
14 | 15 |
app/controllers/tutorials_controller.rb
app/views/tutorials/analyzing.en.html.erb
@@ -1,90 +0,0 @@ | @@ -1,90 +0,0 @@ | ||
1 | -<h1>Tutorial</h1> | ||
2 | -<h2>Analyzing a repository</h2> | ||
3 | - | ||
4 | -<hr /> | ||
5 | - | ||
6 | -<h3>Requisites</h3> | ||
7 | - | ||
8 | -In order to create a Project, you must: | ||
9 | -<ul> | ||
10 | - <li>Have <%= link_to(t('signed_up'), new_user_registration_path) %> to the platform</li> | ||
11 | - <li>Be <%= link_to(t('signed_in'), new_user_session_path) %></li> | ||
12 | - <li>And have a repository URL which you wish to analyze</li> | ||
13 | -</ul> | ||
14 | - | ||
15 | -<hr /> | ||
16 | - | ||
17 | -<h3>Steps</h3> | ||
18 | - | ||
19 | -<h4>Project creation</h4> | ||
20 | - | ||
21 | -<ol> | ||
22 | - <li>Click on "Project" on the upper menu</li> | ||
23 | - <li>Click on "New Project"</li> | ||
24 | - <li>Fill in the form with a name that must be unique</li> | ||
25 | - <li>Fill in the form with a description which is not required</li> | ||
26 | - <li>Click on "Save" and you should be at the project page now, congratulations!</li> | ||
27 | -</ol> | ||
28 | - | ||
29 | -<h4>Repository creation</h4> | ||
30 | - | ||
31 | -<ol> | ||
32 | - <li>From the project page, click on "New Repository"</li> | ||
33 | - <li>Fill in the form, making sure that: | ||
34 | - <ul> | ||
35 | - <li>"Name" must be unique</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> | ||
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 will use to analyze your project</li> | ||
41 | - </ul> | ||
42 | - </li> | ||
43 | - <li>Click on "Save" and you should be at the repository page, waiting for the analysis</li> | ||
44 | -</ol> | ||
45 | - | ||
46 | -<hr /> | ||
47 | - | ||
48 | -<h4>Repository page details</h4> | ||
49 | - | ||
50 | -The repository page is divided into four different sections: | ||
51 | - | ||
52 | -<h5><b>Details</b></h5> | ||
53 | -<ul> | ||
54 | - <li>Information that you provided during the creation steps</li> | ||
55 | - <li>Select box so it is possible to visualize previous processings of your repository</li> | ||
56 | -</ul> | ||
57 | - | ||
58 | -<h5><b>Processing information</b></h5> | ||
59 | - | ||
60 | -<ul> | ||
61 | - <li>Information about the time it has taken to finish each step of the processing | ||
62 | - <ul> | ||
63 | - <li>PREPARING: the system is reserving a folder for your repository and retrieving the configuration</li> | ||
64 | - <li>DOWNLOADING: retrieving the source code</li> | ||
65 | - <li>COLLECTING: calculating the metrics for your repository</li> | ||
66 | - <li>BUILDING: organizing the results into a source tree structure</li> | ||
67 | - <li>AGGREGATING: calculating the aggregated value for parent modules in the source tree</li> | ||
68 | - <li>CALCULATING: if the chosen configuration has compound metrics, they will be calculated</li> | ||
69 | - <li>INTERPRETING: with all the necessary results, the system will interpret them using reading groups (labels and colors)</li> | ||
70 | - </ul> | ||
71 | - </li> | ||
72 | -</ul> | ||
73 | -<h5><b>Modules Tree</b></h5> | ||
74 | -<ul> | ||
75 | - <li>Source tree structure where you can navigate by clicking on the names | ||
76 | - <li>Information about the granularity of the module | ||
77 | - <ul> | ||
78 | - <li>METHOD</li> | ||
79 | - <li>CLASS</li> | ||
80 | - <li>PACKAGE</li> | ||
81 | - <li>SOFTWARE</li> | ||
82 | - </ul> | ||
83 | - <li>Grade of the given module according to the weights of the metrics on the configuration | ||
84 | -</ul> | ||
85 | - | ||
86 | -<h5><b>Metric Results</b></h5> | ||
87 | -<ul> | ||
88 | - <li>Displays the individual results of each metric for the current module selected in the source tree</li> | ||
89 | - <li>By clicking on the metric name, you will see a historic chart for that metric</li> | ||
90 | -</ul> |
app/views/tutorials/analyzing.pt.html.erb
@@ -1,93 +0,0 @@ | @@ -1,93 +0,0 @@ | ||
1 | -<h1>Tutorial</h1> | ||
2 | -<h2>Analisando um repositório</h2> | ||
3 | - | ||
4 | -<hr> | ||
5 | - | ||
6 | -<h3>Requisitos</h3> | ||
7 | - | ||
8 | -A fim de criar um projeto, você deve: | ||
9 | -<ul> | ||
10 | - <li><%= link_to(t('signed_up'), new_user_registration_path) %> na plataforma</li> | ||
11 | - <li>Estar <%= link_to(t('signed_in'), new_user_session_path) %></li> | ||
12 | - <li>E ter uma URL do repositório que você deseja analisar</li> | ||
13 | -</ul> | ||
14 | - | ||
15 | -<hr> | ||
16 | - | ||
17 | -<h3>Passos</h3> | ||
18 | - | ||
19 | -<h4>Criando um Projeto</h4> | ||
20 | - | ||
21 | -<ol> | ||
22 | - <li>Clique em "Projeto" no menu superior</li> | ||
23 | - <li>Clique em "Novo Projeto"</li> | ||
24 | - <li>Preencha o formulário com um "Nome", que deve ser único</li> | ||
25 | - <li>Preencha o formulário com uma "Descrição"</li> | ||
26 | - <li>Clique em "Salvar". Agora você deve estar na página do projeto, parabéns!</li> | ||
27 | -</ol> | ||
28 | - | ||
29 | -<h4>Criando um Repositório</h4> | ||
30 | - | ||
31 | -<ol> | ||
32 | - <li>A partir da página do projeto, clique em "Novo Repositório"</li> | ||
33 | - <li>Preencha o formulário: | ||
34 | - <ul> | ||
35 | - <li>O "Nome" deve ser único</li> | ||
36 | - <li>Você deve escolher uma "Licença" Open Source na plataforma de acordo com o seu código</li> | ||
37 | - <li>O campo "Tipo" está relacionado com a ferramenta de controle de versão do código (Git, por exemplo)</li> | ||
38 | - <li>Preencha o "Endereço" com a URL a partir da qual podemos fazer o download do código</li> | ||
39 | - <li>Se você quiser analisar seu projeto periodicamente, configure-o (você pode também executá-lo a partir da interface sempre que quiser)</li> | ||
40 | - <li>Por fim, a "Configuração" representa o conjunto de métricas e interpretações que vamos usar para analisar o seu projeto</li> | ||
41 | - </ul> | ||
42 | - </li> | ||
43 | - <li>Clique em "Salvar" e você deve estar na página de repositório, esperando a análise</li> | ||
44 | -</ol> | ||
45 | - | ||
46 | -<hr> | ||
47 | - | ||
48 | -<h4>Detalhes da página do repositório</h4> | ||
49 | - | ||
50 | -A página de repositório é dividida em quatro seções diferentes: | ||
51 | - | ||
52 | -<h5><b>Detalhes</b></h5> | ||
53 | -<ul> | ||
54 | - <li>A informação que você forneceu durante as etapas de criação</li> | ||
55 | - <li>Selecione a caixa de modo que seja possível visualizar processamentos anteriores do seu repositório</li> | ||
56 | -</ul> | ||
57 | - | ||
58 | -<h5><b>Informação de processamento</b></h5> | ||
59 | - | ||
60 | -<ul> | ||
61 | - <li>Informações sobre o tempo que cada etapa do processamento levou para concluir | ||
62 | - <ul> | ||
63 | - <li>PREPARAÇÃO: o sistema está reservando uma pasta para seu repositório e selecionando a configuração</li> | ||
64 | - <li>DOWNLOAD: descarregando o código-fonte</li> | ||
65 | - <li>COLETA: cálculo das métricas para o repositório</li> | ||
66 | - <li>CONSTRUÇÂO: organiza os resultados em uma estrutura de árvore</li> | ||
67 | - <li>AGREGAÇÂO: cálculo do valor agregado para os módulos pai presentes na árvore do código de origem</li> | ||
68 | - <li>CÁLCULO: se a configuração escolhida tem métricas compostas, elas serão calculadas</li> | ||
69 | - <li>INTERPRETAÇÃO: com todos os resultados necessários, o sistema irá interpretá-los utilizando grupos de leitura (rótulos e cores)</li> | ||
70 | - </ul> | ||
71 | - </li> | ||
72 | -</ul> | ||
73 | -<h5><b>Árvore de Módulos</b></h5> | ||
74 | -<ul> | ||
75 | - <li>Estrutura de árvore do código em que você pode navegar, clicando nos nomes | ||
76 | - </li> | ||
77 | -<li>Informação sobre a granularidade do módulo | ||
78 | - <ul> | ||
79 | - <li>MÉTODO</li> | ||
80 | - <li>CLASSE</li> | ||
81 | - <li>PACOTE</li> | ||
82 | - <li>SOFTWARE</li> | ||
83 | - </ul> | ||
84 | - </li> | ||
85 | -<li>Nota do módulo de acordo com os pesos das métricas dados na sua configuração | ||
86 | -</li> | ||
87 | -</ul> | ||
88 | - | ||
89 | -<h5><b>Resultado das Métricas</b></h5> | ||
90 | -<ul> | ||
91 | - <li>Exibe os resultados individuais de cada métrica para o módulo atual, selecionado na árvore de código</li> | ||
92 | - <li>Ao clicar sobre o nome da métrica, você vai ver um gráfico do histórico dessa métrica</li> | ||
93 | -</ul> |
app/views/tutorials/configuring.en.html.erb
@@ -1,90 +0,0 @@ | @@ -1,90 +0,0 @@ | ||
1 | -<h1>Tutorial</h1> | ||
2 | -<h2>Setting a New Configuration</h2> | ||
3 | - | ||
4 | -<hr /> | ||
5 | - | ||
6 | -<h3>Requisites</h3> | ||
7 | - | ||
8 | -In order to create a Configuration, you must: | ||
9 | -<ul> | ||
10 | - <li>Have <%= link_to(t('signed_up'), new_user_registration_path) %> to the platform</li> | ||
11 | - <li>Be <%= link_to(t('signed_in'), new_user_session_path) %></li> | ||
12 | - <li>Have already created at least one Reading Group</li> | ||
13 | -</ul> | ||
14 | - | ||
15 | -<hr /> | ||
16 | - | ||
17 | -<h3>Introduction</h3> | ||
18 | - | ||
19 | -To process a repository, Mezuro uses configurations which you specify on the <%= link_to(t('repository_creation'), "http://mezuro.github.io/tutorial/2016/04/01/tutorial-analysis.html", target: "_blank") %>. | ||
20 | - | ||
21 | -<h4>Configuration components</h4> | ||
22 | - | ||
23 | -<p>Here you will be briefly introduced to all the components of a configuration and then guided through the steps to create one.</p> | ||
24 | - | ||
25 | -<dl> | ||
26 | - <dt><b>Configuration</b></dt> | ||
27 | - <dd>Just a high level container for the remaining components association</dd> | ||
28 | - <dt><b>Metrics</b></dt> | ||
29 | - <dd>Specification of which metric will be calculated during the processing and how to interpret its results | ||
30 | - <ul> | ||
31 | - <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> | ||
32 | - <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> | ||
33 | - <li>Reading Group: specifies which set of interpretations (called readings) will be available for this metric</li> | ||
34 | - </ul> | ||
35 | - </dd> | ||
36 | - <dt><b>Reading Group</b></dt> | ||
37 | - <dd>Just a high level container for the readings (interpretations)</dd> | ||
38 | - <dt><b>Reading</b></dt> | ||
39 | - <dd>Interpretation for a given value providing label, grade (this is the grade used for the weighted average mentioned above) and color</dd> | ||
40 | - <dt><b>Range</b></dt> | ||
41 | - <dd>Associates numeric intervals to the readings of a given metric</dd> | ||
42 | -</dl> | ||
43 | - | ||
44 | -<hr /> | ||
45 | - | ||
46 | -<h3>Steps</h3> | ||
47 | - | ||
48 | -<ol> | ||
49 | - <li><b>Configuration creation</b> | ||
50 | - <ol> | ||
51 | - <li>Click on "Configuration" on the upper menu</li> | ||
52 | - <li>Click on "New Configuration" | ||
53 | - <ol> | ||
54 | - <li>Fill in the form with a name that must be unique</li> | ||
55 | - <li>Fill in the form with a description which is not required</li> | ||
56 | - </ol> | ||
57 | - </li> | ||
58 | - <li>Click on "Save" and you should be at the configuration page now</li> | ||
59 | - </ol> | ||
60 | - </li> | ||
61 | - <li><b>Metric addition</b> | ||
62 | - <ol> | ||
63 | - <li>From the configuration page</li> | ||
64 | - <li>Click on "Add Metric"</li> | ||
65 | - <li>Select one collector from the options, and click on the metric that you want to add | ||
66 | - <ol> | ||
67 | - <li>Fill in the form with a "Weight", used to calculate the final grade</li> | ||
68 | - <li>Select the "Aggregation Form" that will be used for this metric</li> | ||
69 | - <li>Select the "Reading Group" which will provide the interpretations for this metric</li> | ||
70 | - </ol> | ||
71 | - </li> | ||
72 | - <li>Click on "Save" and you should be at the configuration page now with the new metric added</li> | ||
73 | - </ol> | ||
74 | - </li> | ||
75 | - <li><b>Ranges creation</b> | ||
76 | - <ol> | ||
77 | - <li>From the configuration page</li> | ||
78 | - <li>Click on "Show" for the metric which you want to create ranges for</li> | ||
79 | - <li>Click on "Add Range" | ||
80 | - <ol> | ||
81 | - <li>Fill in the form with the "Beginning" and "End" values for the interval</li> | ||
82 | - <li>Fill in the form with the "Comments" which will be displayed if the metric value matches the interval</li> | ||
83 | - <li>Select the "Reading" which will be associated with this range</li> | ||
84 | - </ol> | ||
85 | - </li> | ||
86 | - <li>Click on "Save" and you should be at the metric page with the new range added, congratulations!</li> | ||
87 | - </ol> | ||
88 | -</ol> | ||
89 | - | ||
90 | -<hr /> |
app/views/tutorials/configuring.pt.html.erb
@@ -1,94 +0,0 @@ | @@ -1,94 +0,0 @@ | ||
1 | -<h1>Tutorial</h1> | ||
2 | -<h2>Criando uma nova configuração</h2> | ||
3 | - | ||
4 | -<hr> | ||
5 | - | ||
6 | -<h3>Requisitos</h3> | ||
7 | - | ||
8 | -Para criar uma configuração, é necessário: | ||
9 | -<ul> | ||
10 | - <li><%= link_to(t('signed_up'), new_user_registration_path) %> na plataforma</li> | ||
11 | - <li>Estar <%= link_to(t('signed_in'), new_user_session_path) %></li> | ||
12 | - <li>Já ter criado pelo menos um Grupo de Leitura</li> | ||
13 | -</ul> | ||
14 | - | ||
15 | -<hr> | ||
16 | - | ||
17 | -<h3>Introdução</h3> | ||
18 | - | ||
19 | -Para processar um repositório, o Mezuro utiliza configurações que você especifica no <%= link_to(t('repository_creation'), "http://mezuro.github.io/tutorial/2016/04/01/tutorial-analysis.html", target: "_blank") %>. | ||
20 | - | ||
21 | -<h4>Componentes de Configuração</h4> | ||
22 | - | ||
23 | -<p>Aqui você será apresentado brevemente a todos os componentes de uma configuração e, em seguida, verá os passos para criar uma nova configuração.</p> | ||
24 | - | ||
25 | -<dl> | ||
26 | - <dt><b>Configuração</b></dt> | ||
27 | - <dd>Apenas um contêiner de alto nível para a associação componentes restantes</dd> | ||
28 | - <dt><b>Métricas</b></dt> | ||
29 | - <dd>Especificação de quais métricas serão calculadas durante o processamento e como interpretar seus resultados | ||
30 | - <ul> | ||
31 | - <li>Peso: para cada módulo é dada uma nota, que é uma média ponderada de todas as métricas calculadas para ele. Este campo corresponde ao peso da métrica sobre a nota final</li> | ||
32 | - <li>Forma de Agregação: Nem todas as métricas podem ser calculadas para cada módulo. Para este tipo de métrica, calcula-se a agregação dos valores de acordo com o que está especificado em cada campo</li> | ||
33 | - <li>Grupo de Leitura: especifica qual conjunto de interpretações (chamados leituras) estará disponível para esta métrica</li> | ||
34 | - </ul> | ||
35 | - </dd> | ||
36 | - <dt><b>Grupo de Leitura</b></dt> | ||
37 | - <dd>Apenas um contêiner de alto nível para as leituras (interpretações)</dd> | ||
38 | - <dt><b>Leitura</b></dt> | ||
39 | - <dd>Leitura: a interpretação de um determinado valor fornecendo rótulo, nota (esta é a nota utilizada para a média ponderada mencionada acima) e a cor</dd> | ||
40 | - <dt><b>Intervalo</b></dt> | ||
41 | - <dd>Associa intervalos numéricos para as leituras de uma determinada métrica</dd> | ||
42 | -</dl> | ||
43 | - | ||
44 | -<hr> | ||
45 | - | ||
46 | -<h3>Passos</h3> | ||
47 | - | ||
48 | -<ol> | ||
49 | - <li> | ||
50 | -<b>Criando Configuração</b> | ||
51 | - <ol> | ||
52 | - <li>Clique em "Configuração" no menu superior</li> | ||
53 | - <li>Clique em "Nova Configuração" | ||
54 | - <ol> | ||
55 | - <li>Preencha o formulário com um "Nome", que deve ser único</li> | ||
56 | - <li>Preencha o formulário com uma "Descrição"</li> | ||
57 | - </ol> | ||
58 | - </li> | ||
59 | - <li>Clique em "Salvar" e você será redirecionado para a página de configuração</li> | ||
60 | - </ol> | ||
61 | - </li> | ||
62 | - <li> | ||
63 | -<b>Adicionando uma Métrica</b> | ||
64 | - <ol> | ||
65 | - <li>A partir da página de configuração</li> | ||
66 | - <li>Clique em "Adicionar Métrica"</li> | ||
67 | - <li>Selecione um coletor das opções e clique na métrica que você deseja adicionar | ||
68 | - <ol> | ||
69 | - <li>Preencha o formulário com um "Peso" que será utilizado para o cálculo da nota final</li> | ||
70 | - <li>Escolher a "Forma de Agregação" que irá ser utilizada para esta métrica</li> | ||
71 | - <li>Selecione o "Grupo de Leitura", que irá fornecer as interpretações para essa métrica</li> | ||
72 | - </ol> | ||
73 | - </li> | ||
74 | - <li>Clique em "Salvar" e você deve estar na página de configuração, agora com uma nova métrica adicionada</li> | ||
75 | - </ol> | ||
76 | - </li> | ||
77 | - <li> | ||
78 | -<b>Criação de Intervalos</b> | ||
79 | - <ol> | ||
80 | - <li>A partir da página de configuração</li> | ||
81 | - <li>Clique em "Mostrar" para a métrica que você deseja criar intervalos</li> | ||
82 | - <li>Clique em "Adicionar intervalo" | ||
83 | - <ol> | ||
84 | - <li>Preencha o formulário com os valores de "Início" e "Fim" de cada intervalo</li> | ||
85 | - <li>Preencha o formulário com os "Comentários", que serão exibidos se o valor da métrica corresponder ao intervalo</li> | ||
86 | - <li>Selecione a "Leitura" que será associada a este intervalo</li> | ||
87 | - </ol> | ||
88 | - </li> | ||
89 | - <li>Clique em "Salvar" e você deve estar na página da métrica com o novo intervalo criado, parabéns!</li> | ||
90 | - </ol> | ||
91 | -</li> | ||
92 | -</ol> | ||
93 | - | ||
94 | -<hr> |
app/views/tutorials/keywords.en.html.erb
@@ -1,59 +0,0 @@ | @@ -1,59 +0,0 @@ | ||
1 | -<h1>Tutorial</h1> | ||
2 | - | ||
3 | -<h2>Keywords</h2> | ||
4 | - | ||
5 | -<hr /> | ||
6 | - | ||
7 | -<div class="keywords-explanations"> | ||
8 | - <div> | ||
9 | - <h3 id="granularity">Granularity</h3> | ||
10 | - | ||
11 | - <p>Represents the granularity level of the code fragment being measured. Mezuro uses four levels of granularity:</p> | ||
12 | - <ul> | ||
13 | - <li>Method</li> | ||
14 | - <li>Class</li> | ||
15 | - <li>Package</li> | ||
16 | - <li>Software</li> | ||
17 | - </ul> | ||
18 | - </div> | ||
19 | - | ||
20 | - <div> | ||
21 | - <h3 id="module">Module</h3> | ||
22 | - | ||
23 | - <p>Represents a fragment of the software. Every node in the processing tree generated by the Kalibro processor is a module and each module has a <i>granularity</i>.</p> | ||
24 | - </div> | ||
25 | - | ||
26 | - <div> | ||
27 | - <h3 id="range">Range</h3> | ||
28 | - | ||
29 | - <p>Represents numerical intervals that may contain the value calculated for a given <i>metric</i>. Ranges combined with readings provide interpretations for <i>metric results</i>.</p> | ||
30 | - </div> | ||
31 | - | ||
32 | - <div> | ||
33 | - <h3 id="reading">Reading</h3> | ||
34 | - | ||
35 | - <p>The interpretation given to a <i>metric result</i> (e.g., "Good", "Complex", "A"). Readings combined with ranges provide interpretations for <i>metric results</i>.</p> | ||
36 | - </div> | ||
37 | - | ||
38 | - <div> | ||
39 | - <h3 id="reading-group">Reading Group</h3> | ||
40 | - | ||
41 | - <p>A set of <i>readings</i> that make sense when grouped together (e.g., "Good" and "Bad", "Simple" and "Complex").</p> | ||
42 | - </div> | ||
43 | - <div> | ||
44 | - <h3 id="configuration">Configuration</h3> | ||
45 | - | ||
46 | - <p>A set of <i>metrics</i>.</p> | ||
47 | - </div> | ||
48 | - <div> | ||
49 | - <h3 id="metric_result">Metric Result</h3> | ||
50 | - | ||
51 | - <p>It is a numerical result associated to a metric by the Collector or aggregating in the case of a Compound Metric</p> | ||
52 | - </div> | ||
53 | - | ||
54 | - <div> | ||
55 | - <h3 id="metric">Metric</h3> | ||
56 | - <p>A software metric is a quantitative measure of some property of a <i>module</i>. For more details see | ||
57 | - <%= link_to(t('carlos_morais_dissertation'), 'http://www.teses.usp.br/teses/disponiveis/45/45134/tde-25092013-142158/publico/dissertacao.pdf') %>.</p> | ||
58 | - </div> | ||
59 | -</div> |
app/views/tutorials/keywords.pt.html.erb
@@ -1,59 +0,0 @@ | @@ -1,59 +0,0 @@ | ||
1 | -<h1>Tutorial</h1> | ||
2 | - | ||
3 | -<h2>Palavras-chave</h2> | ||
4 | - | ||
5 | -<hr> | ||
6 | - | ||
7 | -<div class="keywords-explanations"> | ||
8 | - <div> | ||
9 | - <h3 id="granularity">Granularidade</h3> | ||
10 | - | ||
11 | - <p>Representa o nível de granularidade do fragmento de código que está sendo medido. O Mezuro utiliza quatro níveis de granularidade, sendo eles:</p> | ||
12 | - <ul> | ||
13 | - <li>Método</li> | ||
14 | - <li>Classe</li> | ||
15 | - <li>Pacote</li> | ||
16 | - <li>Software</li> | ||
17 | - </ul> | ||
18 | - </div> | ||
19 | - | ||
20 | - <div> | ||
21 | - <h3 id="module">Módulo</h3> | ||
22 | - | ||
23 | - <p>Representa um fragmento do software. Cada nó na árvore de processamento gerada pelo Kalibro Processor é um Módulo e cada um deles possui uma <i>Granularidade</i>.</p> | ||
24 | - </div> | ||
25 | - | ||
26 | - <div> | ||
27 | - <h3 id="range">Intervalo</h3> | ||
28 | - | ||
29 | - <p>Representa intervalos numéricos que podem conter o valor calculado para uma métrica determinada <i>Métrica</i>. Intervalos combinados com leituras fornecem interpretações para o <i>Resultado das Métricas</i>.</p> | ||
30 | - </div> | ||
31 | - | ||
32 | - <div> | ||
33 | - <h3 id="reading">Leitura</h3> | ||
34 | - | ||
35 | - <p>A interpretação dada a um<i>Resultado das Métricas</i> (por exemplo, "Bom", "Complexo", "A"). As leituras combinadas com intervalos fornecem interpretações para o <i>Resultado das Métricas</i>.</p> | ||
36 | - </div> | ||
37 | - | ||
38 | - <div> | ||
39 | - <h3 id="reading-group">Grupo de Leitura</h3> | ||
40 | - | ||
41 | - <p>Um conjunto de <i>Leituras</i> que façam sentido quando agrupadas (por exemplo, "Bom" e "Ruim", "Simples" e "Complexo").</p> | ||
42 | - </div> | ||
43 | - <div> | ||
44 | - <h3 id="configuration">Configuração</h3> | ||
45 | - | ||
46 | - <p>Um conjunto de <i>Métricas</i>.</p> | ||
47 | - </div> | ||
48 | - <div> | ||
49 | - <h3 id="metric_result">Resultado da Métrica</h3> | ||
50 | - | ||
51 | - <p>É um resultado numérico associado a uma métrica pelo coletor ou agregador no caso de uma Métrica Composta</p> | ||
52 | - </div> | ||
53 | - | ||
54 | - <div> | ||
55 | - <h3 id="metric">Métrica</h3> | ||
56 | - <p>Uma métrica de software é uma medida quantitativa de alguma propriedade de um <i>Módulo</i>. Para mais detalhes veja | ||
57 | - <%= link_to(t('carlos_morais_dissertation'), 'http://www.teses.usp.br/teses/disponiveis/45/45134/tde-25092013-142158/publico/dissertacao.pdf') %>.</p> | ||
58 | - </div> | ||
59 | -</div> |
config/locales/views/en.yml
@@ -68,7 +68,6 @@ en: | @@ -68,7 +68,6 @@ en: | ||
68 | license: "License" | 68 | license: "License" |
69 | periodicity: "Periodicity" | 69 | periodicity: "Periodicity" |
70 | reprocess: "Reprocess" | 70 | reprocess: "Reprocess" |
71 | - tutorial: "Tutorial" | ||
72 | requisites: "Requisites" | 71 | requisites: "Requisites" |
73 | have: "Have" | 72 | have: "Have" |
74 | signed_up: "signed up" | 73 | signed_up: "signed up" |
@@ -84,11 +83,9 @@ en: | @@ -84,11 +83,9 @@ en: | ||
84 | feedback: "feedback" | 83 | feedback: "feedback" |
85 | update: "Update" | 84 | update: "Update" |
86 | configuring: "Configuring" | 85 | configuring: "Configuring" |
87 | - tutorials: "Tutorials" | ||
88 | analysis: "Analysis" | 86 | analysis: "Analysis" |
89 | password: "Password" | 87 | password: "Password" |
90 | configuring: "Configuring" | 88 | configuring: "Configuring" |
91 | - tutorials: "Tutorials" | ||
92 | password_confirmation: "Password Confirmation" | 89 | password_confirmation: "Password Confirmation" |
93 | remember_me: "Remember me" | 90 | remember_me: "Remember me" |
94 | day: "Day" | 91 | day: "Day" |
config/locales/views/pt.yml
@@ -71,7 +71,6 @@ pt: | @@ -71,7 +71,6 @@ pt: | ||
71 | license: "Licença" | 71 | license: "Licença" |
72 | periodicity: "Periodicidade" | 72 | periodicity: "Periodicidade" |
73 | reprocess: "Reprocessar" | 73 | reprocess: "Reprocessar" |
74 | - tutorial: "Tutorial" | ||
75 | requisites: "Requisitos" | 74 | requisites: "Requisitos" |
76 | have: "Ter" | 75 | have: "Ter" |
77 | signed_up: "inscrever-se" | 76 | signed_up: "inscrever-se" |
@@ -87,7 +86,6 @@ pt: | @@ -87,7 +86,6 @@ pt: | ||
87 | feedback: "feedback" | 86 | feedback: "feedback" |
88 | update: "Atualizar" | 87 | update: "Atualizar" |
89 | configuring: "Configurando" | 88 | configuring: "Configurando" |
90 | - tutorials: "Tutoriais" | ||
91 | password: "Senha" | 89 | password: "Senha" |
92 | password_confirmation: "Confirmar Senha" | 90 | password_confirmation: "Confirmar Senha" |
93 | remember_me: "Lembrar-me" | 91 | remember_me: "Lembrar-me" |
config/routes.rb
@@ -45,9 +45,6 @@ Rails.application.routes.draw do | @@ -45,9 +45,6 @@ Rails.application.routes.draw do | ||
45 | post '/modules/:id/metric_history' => 'modules#metric_history', as: 'module_metric_history' | 45 | post '/modules/:id/metric_history' => 'modules#metric_history', as: 'module_metric_history' |
46 | post '/modules/:id/tree' => 'modules#load_module_tree', as: 'module_tree' | 46 | post '/modules/:id/tree' => 'modules#load_module_tree', as: 'module_tree' |
47 | 47 | ||
48 | - # Tutorials | ||
49 | - get '/tutorials/:name' => 'tutorials#view', as: 'tutorials' | ||
50 | - | ||
51 | root "home#index" | 48 | root "home#index" |
52 | end | 49 | end |
53 | 50 |
spec/controllers/tutorials_controller_spec.rb
@@ -1,26 +0,0 @@ | @@ -1,26 +0,0 @@ | ||
1 | -require 'rails_helper' | ||
2 | - | ||
3 | -describe TutorialsController do | ||
4 | - describe 'view' do | ||
5 | - context 'with a valid name' do | ||
6 | - let!(:name) { "analyzing" } | ||
7 | - | ||
8 | - before :each do | ||
9 | - get :view, name: name | ||
10 | - end | ||
11 | - | ||
12 | - it { is_expected.to render_template(name) } | ||
13 | - it { is_expected.to respond_with(:success) } | ||
14 | - end | ||
15 | - | ||
16 | - context 'with a invalid name' do | ||
17 | - let!(:name) { "invalid_name" } | ||
18 | - | ||
19 | - before :each do | ||
20 | - get :view, name: name | ||
21 | - end | ||
22 | - | ||
23 | - it { is_expected.to respond_with(:not_found) } | ||
24 | - end | ||
25 | - end | ||
26 | -end |
spec/routing/tutorials_routing_spec.rb
@@ -1,8 +0,0 @@ | @@ -1,8 +0,0 @@ | ||
1 | -require "rails_helper" | ||
2 | - | ||
3 | -describe TutorialsController, :type => :routing do | ||
4 | - describe "routing" do | ||
5 | - it { is_expected.to route(:get, '/tutorials/project'). | ||
6 | - to(controller: :tutorials, action: :view, name: "project") } | ||
7 | - end | ||
8 | -end | ||
9 | \ No newline at end of file | 0 | \ No newline at end of file |