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

  Coverage
  Classes Methods Lines
Total
100.00 %100.00%
100.00% 1 / 1
0.00 %0.00%
0.00% 0 / 2
50.00 %50.00%
50.00% 1 / 2
 
HTMLPurifier_ChildDef_Empty
100.00 %100.00%
100.00% 1 / 1
0.00 %0.00%
0.00% 0 / 2
50.00 %50.00%
50.00% 1 / 2
 public function __construct()
0.00 %0.00%
0.00% 0 / 1
100.00 %100.00%
100.00% 0 / 0
 public function validateChildren($tokens_of_children, $config, $context)
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 1


       1                 : <?php                                                                           
       2                 :                                                                                 
       3                 : /**                                                                             
       4                 :  * Definition that disallows all elements.                                      
       5                 :  * @warning validateChildren() in this class is actually never called, because  
       6                 :  *          empty elements are corrected in HTMLPurifier_Strategy_MakeWellFormed
       7                 :  *          before child definitions are parsed in earnest by                   
       8                 :  *          HTMLPurifier_Strategy_FixNesting.                                   
       9                 :  */                                                                             
      10               1 : class HTMLPurifier_ChildDef_Empty extends HTMLPurifier_ChildDef                 
      11                 : {                                                                               
      12                 :     public $allow_empty = true;                                                 
      13                 :     public $type = 'empty';                                                     
      14                 :     public function __construct() {}                                            
      15                 :     public function validateChildren($tokens_of_children, $config, $context) {  
      16               0 :         return array();                                                         
      17                 :     }                                                                           
      18                 : }                                                                               
      19                 :                                                                                 

Generated by PHPUnit 3.3.1 and Xdebug 2.0.2 at Thu Sep 25 18:42:10 CEST 2008.