Skip to content

Commit

Permalink
Versione Finale 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stefart committed Dec 11, 2017
1 parent 595df52 commit 891d6e7
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion coverage/.last_run.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"result": {
"covered_percent": 80.18
"covered_percent": 75.0
}
}
24 changes: 12 additions & 12 deletions coverage/.resultset.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
null,
null,
1,
8,
7,
null,
null,
null,
Expand Down Expand Up @@ -84,7 +84,7 @@
1,
null,
1,
10,
9,
null,
null,
null,
Expand Down Expand Up @@ -131,17 +131,17 @@
null,
1,
3,
null,
3,
null,
null,
1,
null,
3,
3,
3,
2,
0,
0,
0,
0,
null,
4,
0,
null,
null,
null,
Expand Down Expand Up @@ -173,17 +173,17 @@
null,
null,
1,
8,
5,
null,
null,
1,
8,
5,
null,
null,
null,
null,
1,
3,
0,
null,
null,
null
Expand Down Expand Up @@ -293,6 +293,6 @@
0
]
},
"timestamp": 1512986121
"timestamp": 1512988837
}
}
102 changes: 51 additions & 51 deletions coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src='./assets/0.10.2/application.js' type='text/javascript'></script>
<link href='./assets/0.10.2/application.css' media='screen, projection, print' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" type="image/png" href="./assets/0.10.2/favicon_yellow.png" />
<link rel="shortcut icon" type="image/png" href="./assets/0.10.2/favicon_red.png" />
<link rel="icon" type="image/png" href="./assets/0.10.2/favicon.png" />
</head>

Expand All @@ -14,27 +14,27 @@
<img src="./assets/0.10.2/loading.gif" alt="loading"/>
</div>
<div id="wrapper" style="display:none;">
<div class="timestamp">Generated <abbr class="timeago" title="2017-12-11T10:55:21+01:00">2017-12-11T10:55:21+01:00</abbr></div>
<div class="timestamp">Generated <abbr class="timeago" title="2017-12-11T11:40:37+01:00">2017-12-11T11:40:37+01:00</abbr></div>
<ul class="group_tabs"></ul>

<div id="content">
<div class="file_list_container" id="AllFiles">
<h2>
<span class="group_name">All Files</span>
(<span class="covered_percent"><span class="yellow">80.18%</span></span>
(<span class="covered_percent"><span class="red">75.0%</span></span>
covered at
<span class="covered_strength">
<span class="green">
1.62
1.38
</span>
</span> hits/line)
</h2>
<a name="AllFiles"></a>
<div>
<b>15</b> files in total.
<b>111</b> relevant lines.
<span class="green"><b>89</b> lines covered</span> and
<span class="red"><b>22</b> lines missed </span>
<b>112</b> relevant lines.
<span class="green"><b>84</b> lines covered</span> and
<span class="red"><b>28</b> lines missed </span>
</div>
<table class="file_list">
<thead>
Expand Down Expand Up @@ -82,12 +82,12 @@ <h2>

<tr>
<td class="strong"><a href="#cc7ec0b8a32758f349f6145c4546af3ca13865a8" class="src_link" title="app/controllers/bills_controller.rb">app/controllers/bills_controller.rb</a></td>
<td class="red strong">78.57 %</td>
<td class="red strong">58.62 %</td>
<td>64</td>
<td>28</td>
<td>22</td>
<td>6</td>
<td>1.8</td>
<td>29</td>
<td>17</td>
<td>12</td>
<td>1.0</td>
</tr>

<tr>
Expand All @@ -97,7 +97,7 @@ <h2>
<td>34</td>
<td>28</td>
<td>6</td>
<td>2.1</td>
<td>2.0</td>
</tr>

<tr>
Expand Down Expand Up @@ -209,20 +209,20 @@ <h2>
<div class="file_list_container" id="Controllers">
<h2>
<span class="group_name">Controllers</span>
(<span class="covered_percent"><span class="yellow">85.54%</span></span>
(<span class="covered_percent"><span class="red">78.57%</span></span>
covered at
<span class="covered_strength">
<span class="green">
1.95
1.63
</span>
</span> hits/line)
</h2>
<a name="Controllers"></a>
<div>
<b>4</b> files in total.
<b>83</b> relevant lines.
<span class="green"><b>71</b> lines covered</span> and
<span class="red"><b>12</b> lines missed </span>
<b>84</b> relevant lines.
<span class="green"><b>66</b> lines covered</span> and
<span class="red"><b>18</b> lines missed </span>
</div>
<table class="file_list">
<thead>
Expand Down Expand Up @@ -250,12 +250,12 @@ <h2>

<tr>
<td class="strong"><a href="#cc7ec0b8a32758f349f6145c4546af3ca13865a8" class="src_link" title="app/controllers/bills_controller.rb">app/controllers/bills_controller.rb</a></td>
<td class="red strong">78.57 %</td>
<td class="red strong">58.62 %</td>
<td>64</td>
<td>28</td>
<td>22</td>
<td>6</td>
<td>1.8</td>
<td>29</td>
<td>17</td>
<td>12</td>
<td>1.0</td>
</tr>

<tr>
Expand All @@ -265,7 +265,7 @@ <h2>
<td>34</td>
<td>28</td>
<td>6</td>
<td>2.1</td>
<td>2.0</td>
</tr>

<tr>
Expand Down Expand Up @@ -751,11 +751,11 @@ <h4><span class="green">100.0 %</span> covered</h4>
<div class="source_table" id="cc7ec0b8a32758f349f6145c4546af3ca13865a8">
<div class="header">
<h3>app/controllers/bills_controller.rb</h3>
<h4><span class="red">78.57 %</span> covered</h4>
<h4><span class="red">58.62 %</span> covered</h4>
<div>
<b>28</b> relevant lines.
<span class="green"><b>22</b> lines covered</span> and
<span class="red"><b>6</b> lines missed.</span>
<b>29</b> relevant lines.
<span class="green"><b>17</b> lines covered</span> and
<span class="red"><b>12</b> lines missed.</span>
</div>
</div>

Expand Down Expand Up @@ -810,10 +810,10 @@ <h4><span class="red">78.57 %</span> covered</h4>
<code class="ruby"> @bill = Bill.new</code>
</li>

<li class="never" data-hits="" data-linenumber="9">

<li class="covered" data-hits="3" data-linenumber="9">
<span class="hits">3</span>

<code class="ruby"># @tarif = TariffaOrarium.last.tariffa</code>
<code class="ruby"> @tarif = TariffaOrarium.last.tariffa</code>
</li>

<li class="never" data-hits="" data-linenumber="10">
Expand All @@ -840,26 +840,26 @@ <h4><span class="red">78.57 %</span> covered</h4>
<code class="ruby"> # we build the status update using a method of the relation</code>
</li>

<li class="covered" data-hits="3" data-linenumber="14">
<span class="hits">3</span>
<li class="missed" data-hits="0" data-linenumber="14">


<code class="ruby"> @bill = @client.bills.build(bill_params)</code>
</li>

<li class="covered" data-hits="3" data-linenumber="15">
<span class="hits">3</span>
<li class="missed" data-hits="0" data-linenumber="15">


<code class="ruby"> respond_to do |format|</code>
</li>

<li class="covered" data-hits="3" data-linenumber="16">
<span class="hits">3</span>
<li class="missed" data-hits="0" data-linenumber="16">


<code class="ruby"> if @bill.save</code>
</li>

<li class="covered" data-hits="2" data-linenumber="17">
<span class="hits">2</span>
<li class="missed" data-hits="0" data-linenumber="17">


<code class="ruby"> format.html { redirect_to @client, notice: &#39;Fattura aggiunta correttamente.&#39; }</code>
</li>
Expand All @@ -870,8 +870,8 @@ <h4><span class="red">78.57 %</span> covered</h4>
<code class="ruby"> else</code>
</li>

<li class="covered" data-hits="4" data-linenumber="19">
<span class="hits">4</span>
<li class="missed" data-hits="0" data-linenumber="19">


<code class="ruby"> format.html { render :new }</code>
</li>
Expand Down Expand Up @@ -1062,8 +1062,8 @@ <h4><span class="red">78.57 %</span> covered</h4>
<code class="ruby"> def set_client</code>
</li>

<li class="covered" data-hits="8" data-linenumber="51">
<span class="hits">8</span>
<li class="covered" data-hits="5" data-linenumber="51">
<span class="hits">5</span>

<code class="ruby"> @client = Client.find params[:client_id]</code>
</li>
Expand All @@ -1086,8 +1086,8 @@ <h4><span class="red">78.57 %</span> covered</h4>
<code class="ruby"> def set_tariffa</code>
</li>

<li class="covered" data-hits="8" data-linenumber="55">
<span class="hits">8</span>
<li class="covered" data-hits="5" data-linenumber="55">
<span class="hits">5</span>

<code class="ruby"> @tariffa_oraria = TariffaOrarium.last</code>
</li>
Expand Down Expand Up @@ -1122,8 +1122,8 @@ <h4><span class="red">78.57 %</span> covered</h4>
<code class="ruby"> def bill_params</code>
</li>

<li class="covered" data-hits="3" data-linenumber="61">
<span class="hits">3</span>
<li class="missed" data-hits="0" data-linenumber="61">


<code class="ruby"> params.require(:bill).permit(:voce, :ore_eff, :tariffa)</code>
</li>
Expand Down Expand Up @@ -1243,8 +1243,8 @@ <h4><span class="yellow">82.35 %</span> covered</h4>
<code class="ruby"> def show</code>
</li>

<li class="covered" data-hits="8" data-linenumber="14">
<span class="hits">8</span>
<li class="covered" data-hits="7" data-linenumber="14">
<span class="hits">7</span>

<code class="ruby"> @bills = @client.bills.order(&#39;updated_at DESC&#39;)</code>
</li>
Expand Down Expand Up @@ -1573,8 +1573,8 @@ <h4><span class="yellow">82.35 %</span> covered</h4>
<code class="ruby"> def set_client</code>
</li>

<li class="covered" data-hits="10" data-linenumber="69">
<span class="hits">10</span>
<li class="covered" data-hits="9" data-linenumber="69">
<span class="hits">9</span>

<code class="ruby"> @client = Client.find(params[:id])</code>
</li>
Expand Down

0 comments on commit 891d6e7

Please sign in to comment.