<trclass="covered-by-large-tests popin"data-title="1 test covers line 13"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="13"></a><ahref="#13">13</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$patients</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">PatientRepo</span><spanclass="default">::</span><spanclass="default">getAll</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 15"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="15"></a><ahref="#15">15</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$homme</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">[</span><spanclass="default">'25-'</span><spanclass="default">=></span><spanclass="default">0</span><spanclass="keyword">,</span><spanclass="default">'25-50'</span><spanclass="default">=></span><spanclass="default">0</span><spanclass="keyword">,</span><spanclass="default">'50+'</span><spanclass="default">=></span><spanclass="default">0</span><spanclass="keyword">]</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 16"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="16"></a><ahref="#16">16</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$femme</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">[</span><spanclass="default">'25-'</span><spanclass="default">=></span><spanclass="default">0</span><spanclass="keyword">,</span><spanclass="default">'25-50'</span><spanclass="default">=></span><spanclass="default">0</span><spanclass="keyword">,</span><spanclass="default">'50+'</span><spanclass="default">=></span><spanclass="default">0</span><spanclass="keyword">]</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 18"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="18"></a><ahref="#18">18</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$nbrHomme</span><spanclass="keyword">=</span><spanclass="default">0</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 19"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="19"></a><ahref="#19">19</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$nbrFemme</span><spanclass="keyword">=</span><spanclass="default">0</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 21"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="21"></a><ahref="#21">21</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">foreach</span><spanclass="keyword">(</span><spanclass="default">$patients</span><spanclass="default"> </span><spanclass="keyword">as</span><spanclass="default"> </span><spanclass="default">$key</span><spanclass="default">=></span><spanclass="default">$patient</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 22"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="22"></a><ahref="#22">22</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$dateNaissance</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">strtotime</span><spanclass="keyword">(</span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'DateNaissance'</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 23"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="23"></a><ahref="#23">23</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$age</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">date</span><spanclass="keyword">(</span><spanclass="default">'Y'</span><spanclass="keyword">,</span><spanclass="default">time</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">-</span><spanclass="default">$dateNaissance</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 24"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="24"></a><ahref="#24">24</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'age'</span><spanclass="keyword">]</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$age</span><spanclass="default"> </span><spanclass="keyword">-</span><spanclass="default"> </span><spanclass="default">1970</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 26"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="26"></a><ahref="#26">26</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">switch</span><spanclass="keyword">(</span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'Civilite'</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 28"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="28"></a><ahref="#28">28</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$nbrHomme</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 29"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="29"></a><ahref="#29">29</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'age'</span><spanclass="keyword">]</span><spanclass="keyword"><</span><spanclass="default">25</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 30"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="30"></a><ahref="#30">30</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$homme</span><spanclass="keyword">[</span><spanclass="default">'25-'</span><spanclass="keyword">]</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 31"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="31"></a><ahref="#31">31</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">}</span><spanclass="keyword">elseif</span><spanclass="keyword">(</span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'age'</span><spanclass="keyword">]</span><spanclass="keyword"><</span><spanclass="default">50</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 32"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="32"></a><ahref="#32">32</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$homme</span><spanclass="keyword">[</span><spanclass="default">'25-50'</span><spanclass="keyword">]</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 34"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="34"></a><ahref="#34">34</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$homme</span><spanclass="keyword">[</span><spanclass="default">'50+'</span><spanclass="keyword">]</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 36"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="36"></a><ahref="#36">36</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 38"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="38"></a><ahref="#38">38</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$nbrFemme</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 39"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="39"></a><ahref="#39">39</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'age'</span><spanclass="keyword">]</span><spanclass="keyword"><</span><spanclass="default">25</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 40"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="40"></a><ahref="#40">40</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$femme</span><spanclass="keyword">[</span><spanclass="default">'25-'</span><spanclass="keyword">]</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 41"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="41"></a><ahref="#41">41</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">}</span><spanclass="keyword">elseif</span><spanclass="keyword">(</span><spanclass="default">$patient</span><spanclass="keyword">[</span><spanclass="default">'age'</span><spanclass="keyword">]</span><spanclass="keyword"><</span><spanclass="default">50</span><spanclass="keyword">)</span><spanclass="keyword">{</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 42"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="42"></a><ahref="#42">42</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$femme</span><spanclass="keyword">[</span><spanclass="default">'25-50'</span><spanclass="keyword">]</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 44"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="44"></a><ahref="#44">44</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$femme</span><spanclass="keyword">[</span><spanclass="default">'50+'</span><spanclass="keyword">]</span><spanclass="default">++</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 46"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="46"></a><ahref="#46">46</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 50"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="50"></a><ahref="#50">50</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="keyword">[</span><spanclass="default">'H'</span><spanclass="default">=></span><spanclass="default">$homme</span><spanclass="keyword">,</span><spanclass="default">'F'</span><spanclass="default">=></span><spanclass="default">$femme</span><spanclass="keyword">,</span><spanclass="default">'NbrH'</span><spanclass="default">=></span><spanclass="default">$nbrHomme</span><spanclass="keyword">,</span><spanclass="default">'NbrF'</span><spanclass="default">=></span><spanclass="default">$nbrFemme</span><spanclass="keyword">]</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 54"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="54"></a><ahref="#54">54</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'SELECT count(*) NombreRDV, sum((HOUR(Duree)*60)+MINUTE(Duree)) AS DureeTotale FROM RDV WHERE Medecin_id = :medecin;'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 55"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="55"></a><ahref="#55">55</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'medecin'</span><spanclass="default">=></span><spanclass="default">$medecin</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 56"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="56"></a><ahref="#56">56</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$returned</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">delNumeric</span><spanclass="keyword">(</span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">fetch</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">,</span><spanclass="default">true</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 58"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="58"></a><ahref="#58">58</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$returned</span><spanclass="keyword">;</span></td></tr>
<small>Generated by <ahref="http://github.com/sebastianbergmann/php-code-coverage"target="_top">PHP_CodeCoverage 3.0.2</a> using <ahref="http://php.net/"target="_top">PHP 7.0.1</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:01:45 UTC 2016.</small>