Current file: D:\data\micmap\cgi-bin\dicfro\4.5\application\Model\Search\Lexromv.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% 1 / 1 CRAP
80.00%80.00%
80.00% 4 / 5
 
Model_Search_Lexromv
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 3 / 3
 __construct($directory)
100.00%100.00%
100.00% 1 / 1 1
100.00%100.00%
100.00% 3 / 3


       1                 : <?php                                                                                                   
       2                 :                                                                                                         
       3                 : /**                                                                                                     
       4                 :  * Dictionaries of Old French and Latin                                                                 
       5                 :  *                                                                                                      
       6                 :  * PHP 5                                                                                                
       7                 :  *                                                                                                      
       8                 :  * @category   DicFro                                                                                   
       9                 :  * @package    Model                                                                                    
      10                 :  * @subpackage Search                                                                                   
      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               1 : require_once 'Model/Query/Lexromv.php';                                                                 
      18               0 : require_once 'Model/Search/GdfLike.php';                                                                
      19                 :                                                                                                         
      20                 : /**                                                                                                     
      21                 :  * Search the Lexique Roman                                                                             
      22                 :  *                                                                                                      
      23                 :  * @category   DicFro                                                                                   
      24                 :  * @package    Model                                                                                    
      25                 :  * @subpackage Search                                                                                   
      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                 : class Model_Search_Lexromv extends Model_Search_GdfLike                                                 
      32                 : {                                                                                                       
      33                 :     /**                                                                                                 
      34                 :      * Name of the Lexique Roman                                                                        
      35                 :      * @var string                                                                                      
      36                 :      */                                                                                                 
      37                 :     public $dictionary = 'lexromv';                                                                     
      38                 :                                                                                                         
      39                 :     /**                                                                                                 
      40                 :      * Construtor                                                                                       
      41                 :      *                                                                                                  
      42                 :      * @param  string $directory  the dictionaries directory                                            
      43                 :      * @return void                                                                                     
      44                 :      */                                                                                                 
      45                 :     public function __construct($directory)                                                             
      46                 :     {                                                                                                   
      47               1 :         $this->directory = $directory;                                                                  
      48               1 :         $this->query = new Model_Query_Lexromv($directory);                                             
      49               1 :     }                                                                                                   
      50                 : }                                                                                                       

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.