PHPIDS
Current file: /home/mario/workspace/php-ids.org/trunk/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Strategy/Core.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% 6 / 6
 
HTMLPurifier_Strategy_Core
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 6 / 6
 public function __construct()
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 5 / 5


       1                 : <?php                                                                           
       2                 :                                                                                 
       3                 : /**                                                                             
       4                 :  * Core strategy composed of the big four strategies.                           
       5                 :  */                                                                             
       6               1 : class HTMLPurifier_Strategy_Core extends HTMLPurifier_Strategy_Composite        
       7                 : {                                                                               
       8                 :                                                                                 
       9                 :     public function __construct() {                                             
      10               2 :         $this->strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements();
      11               2 :         $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed();       
      12               2 :         $this->strategies[] = new HTMLPurifier_Strategy_FixNesting();           
      13               2 :         $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes();   
      14               2 :     }                                                                           
      15                 :                                                                                 
      16                 : }                                                                               
      17                 :                                                                                 

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