PHPIDS
Current file: /home/mario/workspace/php-ids.org/trunk/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Presentation.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% 10 / 10
 
HTMLPurifier_HTMLModule_Presentation
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 10 / 10
 public function __construct()
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 9 / 9


       1                 : <?php                                                                     
       2                 :                                                                           
       3                 : /**                                                                       
       4                 :  * XHTML 1.1 Presentation Module, defines simple presentation-related     
       5                 :  * markup. Text Extension Module.                                         
       6                 :  * @note The official XML Schema and DTD specs further divide this into   
       7                 :  *       two modules:                                                     
       8                 :  *          - Block Presentation (hr)                                     
       9                 :  *          - Inline Presentation (b, big, i, small, sub, sup, tt)        
      10                 :  *       We have chosen not to heed this distinction, as content_sets     
      11                 :  *       provides satisfactory disambiguation.                            
      12                 :  */                                                                       
      13               1 : class HTMLPurifier_HTMLModule_Presentation extends HTMLPurifier_HTMLModule
      14                 : {                                                                         
      15                 :                                                                           
      16                 :     public $name = 'Presentation';                                        
      17                 :                                                                           
      18                 :     public function __construct() {                                       
      19               1 :         $this->addElement('b',      'Inline', 'Inline', 'Common');        
      20               1 :         $this->addElement('big',    'Inline', 'Inline', 'Common');        
      21               1 :         $this->addElement('hr',     'Block',  'Empty',  'Common');        
      22               1 :         $this->addElement('i',      'Inline', 'Inline', 'Common');        
      23               1 :         $this->addElement('small',  'Inline', 'Inline', 'Common');        
      24               1 :         $this->addElement('sub',    'Inline', 'Inline', 'Common');        
      25               1 :         $this->addElement('sup',    'Inline', 'Inline', 'Common');        
      26               1 :         $this->addElement('tt',     'Inline', 'Inline', 'Common');        
      27               1 :     }                                                                     
      28                 :                                                                           
      29                 : }                                                                         
      30                 :                                                                           

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