Employee.php
Current file: C:\Tools\Works\php\sample01/Employee.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
0.00% 0 / 1
0.00% 0 / 4 CRAP
0.00% 0 / 6
Employee
0.00% 0 / 1
0.00% 0 / 4 20
0.00% 0 / 6
 getAge()
0.00% 0 / 1 2
0.00% 0 / 1
 getName()
0.00% 0 / 1 2
0.00% 0 / 1
 setAge($age)
0.00% 0 / 1 2
0.00% 0 / 2
 setName($name)
0.00% 0 / 1 2
0.00% 0 / 2


       1                 : <?php                                                               
       2                 : /**                                                                 
       3                 :  * Generated by PHPUnit on 2009-10-22 at 13:07:33.                  
       4                 :  */                                                                 
       5                 : class Employee                                                      
       6                 : {                                                                   
       7                 :     protected $age, $name;                                          
       8                 :                                                                     
       9                 :     /**                                                             
      10                 :      * @todo Implement getAge().                                    
      11                 :      */                                                             
      12                 :     public function getAge()                                        
      13                 :     {                                                               
      14               0 :         return $this->age;                                          
      15                 :         // Remove the following line when you implement this method.
      16                 :         throw new RuntimeException('Not yet implemented.');         
      17                 :     }                                                               
      18                 :                                                                     
      19                 :     /**                                                             
      20                 :      * @todo Implement getName().                                   
      21                 :      */                                                             
      22                 :     public function getName()                                       
      23                 :     {                                                               
      24               0 :         return $this->name;                                         
      25                 :         // Remove the following line when you implement this method.
      26                 :         throw new RuntimeException('Not yet implemented.');         
      27                 :     }                                                               
      28                 :                                                                     
      29                 :     /**                                                             
      30                 :      * @todo Implement setAge().                                    
      31                 :      */                                                             
      32                 :     public function setAge($age)                                    
      33                 :     {                                                               
      34               0 :         $this->age = $age;                                          
      35                 :         // Remove the following line when you implement this method.
      36                 :         //throw new RuntimeException('Not yet implemented.');       
      37               0 :     }                                                               
      38                 :                                                                     
      39                 :     /**                                                             
      40                 :      * @todo Implement setName().                                   
      41                 :      */                                                             
      42                 :     public function setName($name)                                  
      43                 :     {                                                               
      44               0 :         $this->name = $name;                                        
      45                 :         // Remove the following line when you implement this method.
      46                 :         //throw new RuntimeException('Not yet implemented.');       
      47               0 :     }                                                               

Generated by PHP_CodeCoverage 1.1.1 using PHP 5.3.5 and PHPUnit 3.6.3 at Wed Nov 23 7:24:49 CET 2011.