Current file: D:\data\micmap\cgi-bin\dicfro\4.5\application\View\Helper\Base.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 2 / 2 CRAP
100.00%100.00%
100.00% 5 / 5
 
View_Helper_Base
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 2 / 2
100.00%100.00%
100.00% 5 / 5
 __construct(Base_View $view)
100.00%100.00%
100.00% 1 / 1 1
100.00%100.00%
100.00% 4 / 4
 init()
100.00%100.00%
100.00% 1 / 1 1
100.00%100.00%
100.00% 1 / 1


       1                 : <?php                                                                                                   
       2                 :                                                                                                         
       3                 : /**                                                                                                     
       4                 :  * Dictionaries of Old French and Latin                                                                 
       5                 :  *                                                                                                      
       6                 :  * PHP 5                                                                                                
       7                 :  *                                                                                                      
       8                 :  * @category   DicFro                                                                                   
       9                 :  * @package    View                                                                                     
      10                 :  * @subpackage Helper                                                                                   
      11                 :  * @author     Michel Corne <mcorne@yahoo.com>                                                          
      12                 :  * @copyright  2008-2010 Michel Corne                                                                   
      13                 :  * @license    http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
      14                 :  * @link       http://www.micmap.org/dicfro                                                             
      15                 :  */                                                                                                     
      16                 :                                                                                                         
      17                 : require_once 'Base/String.php';                                                                         
      18                 : require_once 'Base/View.php';                                                                           
      19                 :                                                                                                         
      20                 : /**                                                                                                     
      21                 :  * View Helper base class                                                                               
      22                 :  *                                                                                                      
      23                 :  * @category   DicFro                                                                                   
      24                 :  * @package    View                                                                                     
      25                 :  * @subpackage Helper                                                                                   
      26                 :  * @author     Michel Corne <mcorne@yahoo.com>                                                          
      27                 :  * @copyright  2008-2010 Michel Corne                                                                   
      28                 :  * @license    http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
      29                 :  */                                                                                                     
      30                 :                                                                                                         
      31                 : abstract class View_Helper_Base                                                                         
      32                 : {                                                                                                       
      33                 :     /**                                                                                                 
      34                 :      * View object                                                                                      
      35                 :      * @var object                                                                                      
      36                 :      */                                                                                                 
      37                 :     public $view;                                                                                       
      38                 :                                                                                                         
      39                 :     /**                                                                                                 
      40                 :      * String object                                                                                    
      41                 :      * @var object                                                                                      
      42                 :      */                                                                                                 
      43                 :     public $string;                                                                                     
      44                 :                                                                                                         
      45                 :     /**                                                                                                 
      46                 :      * Constructor                                                                                      
      47                 :      *                                                                                                  
      48                 :      * @param  object $view the view object                                                             
      49                 :      * @return void                                                                                     
      50                 :      */                                                                                                 
      51                 :     public function __construct(Base_View $view)                                                        
      52                 :     {                                                                                                   
      53              22 :         $this->view = $view;                                                                            
      54              22 :         $this->string = new Base_String;                                                                
      55              22 :         $this->init();                                                                                  
      56              22 :     }                                                                                                   
      57                 :                                                                                                         
      58                 :     /**                                                                                                 
      59                 :      * Initialization                                                                                   
      60                 :      */                                                                                                 
      61                 :     public function init()                                                                              
      62                 :     {                                                                                                   
      63              12 :     }                                                                                                   

Generated by PHP_CodeCoverage 1.0.0 using PHP 5.3.3 and PHPUnit 3.5.0 at Wed Jan 4 16:32:24 UTC 2012.