PHPIDS
Current file: /home/mario/workspace/php-ids.org/trunk/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Hypertext.php
Legend: executed not executed dead code

  Coverage
  Classes Methods Lines
Total
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 9 / 9
 
HTMLPurifier_HTMLModule_Hypertext
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 9 / 9
 public function __construct()
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 8 / 8


       1                 : <?php                                                                   
       2                 :                                                                         
       3                 : /**                                                                     
       4                 :  * XHTML 1.1 Hypertext Module, defines hypertext links. Core Module.    
       5                 :  */                                                                     
       6               1 : class HTMLPurifier_HTMLModule_Hypertext extends HTMLPurifier_HTMLModule 
       7                 : {                                                                       
       8                 :                                                                         
       9                 :     public $name = 'Hypertext';                                         
      10                 :                                                                         
      11                 :     public function __construct() {                                     
      12               1 :         $a = $this->addElement(                                         
      13               1 :             'a', 'Inline', 'Inline', 'Common',                          
      14                 :             array(                                                      
      15                 :                 // 'accesskey' => 'Character',                          
      16                 :                 // 'charset' => 'Charset',                              
      17               1 :                 'href' => 'URI',                                        
      18                 :                 // 'hreflang' => 'LanguageCode',                        
      19               1 :                 'rel' => new HTMLPurifier_AttrDef_HTML_LinkTypes('rel'),
      20               1 :                 'rev' => new HTMLPurifier_AttrDef_HTML_LinkTypes('rev'),
      21                 :                 // 'tabindex' => 'Number',                              
      22                 :                 // 'type' => 'ContentType',                             
      23                 :             )                                                           
      24               1 :         );                                                              
      25               1 :         $a->excludes = array('a' => true);                              
      26               1 :     }                                                                   
      27                 :                                                                         
      28                 : }                                                                       
      29                 :                                                                         

Generated by PHPUnit 3.2.20 and Xdebug 2.0.3 at Sat Jun 7 16:15:42 CEST 2008.