Current file: htdocs/.modman/magentron_emailimages/Magentron/EmailImages/Model/Email/Template.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
100.00%100.00%
100.00% 5 / 5
 
Magentron_EmailImages_Model_Email_Template
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 5 / 5
 getMail()
100.00%100.00%
100.00% 1 / 1 2
100.00%100.00%
100.00% 4 / 4


       1                 : <?php                                                                                        
       2                 : /**                                                                                          
       3                 :  *    Magentron EmailImages Extension                                                        
       4                 :  *                                                                                           
       5                 :  *    @category    Magentron                                                                 
       6                 :  *    @package    Magentron_EmailImages                                                      
       7                 :  *    @author        Jeroen Derks                                                            
       8                 :  *    @copyright    Copyright (c) 2011 Jeroen Derks http://www.magentron.com                 
       9                 :  *    @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
      10                 :  */                                                                                          
      11                 : class Magentron_EmailImages_Model_Email_Template extends Mage_Core_Model_Email_Template      
      12               1 : {                                                                                            
      13                 :     /**                                                                                      
      14                 :      *    Retrieve mail object instance                                                      
      15                 :      *                                                                                       
      16                 :      *    @return Magentron_EmailImages_Model_Mail                                           
      17                 :      *                                                                                       
      18                 :      *    @see    $_mail                                                                     
      19                 :      */                                                                                      
      20                 :     public function getMail()                                                                
      21                 :     {                                                                                        
      22               1 :         if (is_null($this->_mail)) {                                                         
      23               1 :             $this->_mail = Mage::getModel('emailimages/mail', array('utf-8'));               
      24               1 :         }                                                                                    
      25               1 :         return $this->_mail;                                                                 
      26                 :     }                                                                                        

Generated by PHP_CodeCoverage 1.0.4 using PHP 5.3.4 and PHPUnit 3.5.13 at Tue Jul 5 9:07:16 UTC 2011.