<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="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 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">$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 20"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="20"></a><ahref="#20">20</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 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="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 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">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 25"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="25"></a><ahref="#25">25</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 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">$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 27"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="27"></a><ahref="#27">27</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 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">$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 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">'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 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="keyword">break</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="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 35"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="35"></a><ahref="#35">35</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 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">}</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 37"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="37"></a><ahref="#37">37</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 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="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 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">break</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 45"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testAgePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="45"></a><ahref="#45">45</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="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 49"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="49"></a><ahref="#49">49</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 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 50"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</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="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 51"data-content="<ul><li class="covered-by-large-tests">StatsRepoTest::testRDVStat</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="51"></a><ahref="#51">51</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</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>
<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.0</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.0</a> at Thu Dec 10 9:54:17 UTC 2015.</small>