Relations.php
Current file: /home/kguest/dev/code/Services_Openstreetmap/Services/Openstreetmap/Relations.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
100.00% 1 / 1
100.00% 1 / 1 CRAP
100.00% 1 / 1
Services_Openstreetmap_Relations
100.00% 1 / 1
100.00% 1 / 1 1
100.00% 1 / 1
 getType()
100.00% 1 / 1 1
100.00% 1 / 1


       1                 : <?php                                                                        
       2                 : /**                                                                          
       3                 :  * Relations.php                                                             
       4                 :  * 01-Oct-2011                                                               
       5                 :  *                                                                           
       6                 :  * PHP Version 5                                                             
       7                 :  *                                                                           
       8                 :  * @category Services                                                        
       9                 :  * @package  Services_Openstreetmap                                          
      10                 :  * @author   Ken Guest <kguest@php.net>                                      
      11                 :  * @license  BSD http://www.opensource.org/licenses/bsd-license.php          
      12                 :  * @link     Relations.php                                                   
      13                 :  */                                                                          
      14                 :                                                                              
      15                 : /**                                                                          
      16                 :  * Services_Openstreetmap_Relations                                          
      17                 :  *                                                                           
      18                 :  * @category Services                                                        
      19                 :  * @package  Services_Openstreetmap                                          
      20                 :  * @author   Ken Guest <kguest@php.net>                                      
      21                 :  * @license  BSD http://www.opensource.org/licenses/bsd-license.php          
      22                 :  * @link     Relations.php                                                   
      23                 :  */                                                                          
      24                 : class Services_Openstreetmap_Relations extends Services_Openstreetmap_Objects
      25                 : {                                                                            
      26                 :     /**                                                                      
      27                 :      * type                                                                  
      28                 :      *                                                                       
      29                 :      * @return string type                                                   
      30                 :      */                                                                      
      31                 :     public function getType()                                                
      32                 :     {                                                                        
      33               1 :         return 'relation';                                                   
      34                 :     }                                                                        
      35                 : }                                                                            
      36                 :                                                                              
      37                 : ?>                                                                           

Generated by PHP_CodeCoverage 1.1.1 using PHP 5.3.8 and PHPUnit 3.6.7 at Sat Feb 4 0:05:01 GMT 2012.