0.00% covered (danger)
@@ -71,21 +71,21 @@
repos |
-
- 93.30% covered (success)
+
+ 95.69% covered (success)
|
- 93.30% |
- 195 / 209 |
+ 95.69% |
+ 200 / 209 |
-
- 68.00% covered (warning)
+
+ 76.00% covered (warning)
|
- 68.00% |
- 17 / 25 |
+ 76.00% |
+ 19 / 25 |
diff --git a/coverage/repos/MedecinRepo.php.html b/coverage/repos/MedecinRepo.php.html
index 81325dc..bf4f5ff 100755
--- a/coverage/repos/MedecinRepo.php.html
+++ b/coverage/repos/MedecinRepo.php.html
@@ -359,7 +359,7 @@
Dead Code
- Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:01:45 UTC 2016.
+ Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:26:02 UTC 2016.
diff --git a/coverage/repos/PatientRepo.php.html b/coverage/repos/PatientRepo.php.html
index 003bbd4..f501eda 100755
--- a/coverage/repos/PatientRepo.php.html
+++ b/coverage/repos/PatientRepo.php.html
@@ -424,7 +424,7 @@
Dead Code
- Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:01:45 UTC 2016.
+ Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:26:02 UTC 2016.
diff --git a/coverage/repos/RDVRepo.php.html b/coverage/repos/RDVRepo.php.html
index c56baf4..6d44799 100755
--- a/coverage/repos/RDVRepo.php.html
+++ b/coverage/repos/RDVRepo.php.html
@@ -52,22 +52,22 @@
0.00% |
0 / 1 |
-
- 66.67% covered (warning)
+
+ 88.89% covered (warning)
|
- 66.67% |
- 6 / 9 |
+ 88.89% |
+ 8 / 9 |
CRAP |
-
-
- 88.71% covered (warning)
+
+
+ 96.77% covered (success)
|
- 88.71% |
- 55 / 62 |
+ 96.77% |
+ 60 / 62 |
| |
@@ -81,22 +81,22 @@
0.00% |
0 / 1 |
-
- 66.67% covered (warning)
+
+ 88.89% covered (warning)
|
- 66.67% |
- 6 / 9 |
- 25.90 |
-
-
- 88.71% covered (warning)
+ 88.89% |
+ 8 / 9 |
+ 25 |
+
+
+ 96.77% covered (success)
|
- 88.71% |
- 55 / 62 |
+ 96.77% |
+ 60 / 62 |
|
@@ -121,24 +121,24 @@
- getForMonth |
-
-
- 0.00% covered (danger)
+ getForMonth |
+
+
+ 100.00% covered (success)
|
- 0.00% |
- 0 / 1 |
- 2 |
-
-
- 0.00% covered (danger)
+ 100.00% |
+ 1 / 1 |
+ 1 |
+
+
+ 100.00% covered (success)
|
- 0.00% |
- 0 / 4 |
+ 100.00% |
+ 4 / 4 |
| |
@@ -184,24 +184,24 @@
- add |
-
-
- 0.00% covered (danger)
-
-
- |
- 0.00% |
- 0 / 1 |
- 6.02 |
+ add |
-
- 91.67% covered (success)
+
+ 100.00% covered (success)
|
- 91.67% |
- 11 / 12 |
+ 100.00% |
+ 1 / 1 |
+ 6 |
+
+
+ 100.00% covered (success)
+
+
+ |
+ 100.00% |
+ 12 / 12 |
@@ -315,15 +315,15 @@
| } |
| |
| public static function getForMonth($month, $year){ |
-
| $req = StaticRepo::getConnexion()->prepare("SELECT RDV.Id, RDV.DateRDV, RDV.Medecin_Id, RDV.Patient_Id, RDV.Duree, Medecin.Prenom as M_Prenom, Medecin.Nom as M_Nom, Patient.Prenom as P_Prenom, Patient.Nom as P_Nom |
+
| $req = StaticRepo::getConnexion()->prepare("SELECT RDV.Id, RDV.DateRDV, RDV.Medecin_Id, RDV.Patient_Id, RDV.Duree, Medecin.Prenom as M_Prenom, Medecin.Nom as M_Nom, Patient.Prenom as P_Prenom, Patient.Nom as P_Nom |
| FROM RDV, Patient, Medecin |
| WHERE Patient.Id = RDV.Patient_Id |
| AND Medecin.Id = RDV.Medecin_Id |
| AND MONTH(DateRDV) = :month |
| AND YEAR(DateRDV) = :year |
-
| ORDER BY DateRDV ASC"); |
-
| $req->execute(array( ':month' => $month, ':year' => $year )); |
-
| return $req->fetchAll(); |
+
| ORDER BY DateRDV ASC"); |
+
| $req->execute(array( ':month' => $month, ':year' => $year )); |
+
| return $req->fetchAll(); |
| } |
| |
| public static function getByDate($date){ |
@@ -360,7 +360,7 @@
| $id = StaticRepo::getConnexion()->lastInsertId(); |
| settype($id,'integer'); |
| if($result){return $id;} |
-
| else{return false;} |
+
| else{return false;} |
| } |
| |
| public static function updateDateTime($idRDV, $dateRdv, $duree){ |
@@ -437,7 +437,7 @@
Dead Code
- Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:01:45 UTC 2016.
+ Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:26:02 UTC 2016.
diff --git a/coverage/repos/StatsRepo.php.html b/coverage/repos/StatsRepo.php.html
index 923d823..0a7dd77 100755
--- a/coverage/repos/StatsRepo.php.html
+++ b/coverage/repos/StatsRepo.php.html
@@ -220,7 +220,7 @@
Dead Code
- Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:01:45 UTC 2016.
+ Generated by PHP_CodeCoverage 3.0.2 using PHP 7.0.1 and PHPUnit 5.1.3 at Sun Jan 3 17:26:02 UTC 2016.
diff --git a/coverage/repos/dashboard.html b/coverage/repos/dashboard.html
index 57464f7..717ed5f 100755
--- a/coverage/repos/dashboard.html
+++ b/coverage/repos/dashboard.html
@@ -59,7 +59,6 @@