Current file: D:\data\micmap\cgi-bin\dicfro\4.5\application\Model\Query\Tristan.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
66.67%66.67%
66.67% 2 / 3
 
Model_Query_Tristan
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 2 / 2
 __construct($directory = '.')
100.00%100.00%
100.00% 1 / 1 1
100.00%100.00%
100.00% 2 / 2


       1                 : <?php                                                                                                   
       2                 :                                                                                                         
       3                 : /**                                                                                                     
       4                 :  * Dictionaries of Old French and Latin                                                                 
       5                 :  *                                                                                                      
       6                 :  * PHP 5                                                                                                
       7                 :  *                                                                                                      
       8                 :  * @category   DicFro                                                                                   
       9                 :  * @package    Model                                                                                    
      10                 :  * @subpackage Query                                                                                    
      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               0 : require_once 'Model/Query/GdfLike.php';                                                                 
      18                 :                                                                                                         
      19                 : /**                                                                                                     
      20                 :  * Queries the Roman de Tristan database                                                                
      21                 :  *                                                                                                      
      22                 :  * @category   DicFro                                                                                   
      23                 :  * @package    Model                                                                                    
      24                 :  * @subpackage Query                                                                                    
      25                 :  * @author     Michel Corne <mcorne@yahoo.com>                                                          
      26                 :  * @copyright  2008-2010 Michel Corne                                                                   
      27                 :  * @license    http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
      28                 :  */                                                                                                     
      29                 :                                                                                                         
      30                 : class Model_Query_Tristan extends Model_Query_GdfLike                                                   
      31                 : {                                                                                                       
      32                 :     /**                                                                                                 
      33                 :      * Constructor                                                                                      
      34                 :      *                                                                                                  
      35                 :      * @param  string $directory the dictionaries directory                                             
      36                 :      * @return void                                                                                     
      37                 :      */                                                                                                 
      38                 :     public function __construct($directory = '.')                                                       
      39                 :     {                                                                                                   
      40               1 :         parent::__construct($directory . '/tristan');                                                   
      41               1 :     }                                                                                                   

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.