Current file: /home/greg/workspace/PHPDS-dev-trunk/PHPDevShell/stable/trunk/includes/models/PHPDS_template.query.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
100.00%100.00%
100.00% 2 / 2
  
    CRAP
100.00%100.00%
100.00% 2 / 2
 
TEMPLATE_cronExecutionLogQuery
100.00%100.00%
100.00% 1 / 1
  
   
100.00%100.00%
100.00% 1 / 1
TEMPLATE_rollbackQuery
100.00%100.00%
100.00% 1 / 1
  
   
100.00%100.00%
100.00% 1 / 1


       1                 : <?php                                                                                                                                    
       2                 : /**                                                                                                                                      
       3                 :  * PHPDevShell is a RAD Framework aimed at developing administrative applications.                                                       
       4                 :  *                                                                                                                                       
       5                 :  * @package PHPDevShell                                                                                                                  
       6                 :  * @link http://www.phpdevshell.org                                                                                                      
       7                 :  * @copyright Copyright (C) 2007 Jason Schoeman, All rights reserved.                                                                    
       8                 :  * @license GNU/LGPL, see readme/licensed_under_lgpl or http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html                           
       9                 :  * @author Jason Schoeman, Contact: titan [at] phpdevshell [dot] org.                                                                    
      10                 :  *                                                                                                                                       
      11                 :  * Copyright notice: See readme/notice                                                                                                   
      12                 :  * By using PHPDevShell you agree to notice and license, if you dont agree to this notice/license you are not allowed to use PHPDevShell.
      13                 :  *                                                                                                                                       
      14                 :  * This is the query engine.                                                                                                             
      15                 :  */                                                                                                                                      
      16                 : /**                                                                                                                                      
      17                 :  * Template - Get user roles.                                                                                                            
      18                 :  * @author Jason Schoeman, Contact: titan [at] phpdevshell [dot] org.                                                                    
      19                 :  *                                                                                                                                       
      20                 :  */                                                                                                                                      
      21                 : class TEMPLATE_cronExecutionLogQuery extends PHPDS_query                                                                                 
      22               1 : {                                                                                                                                        
      23                 :     protected $sql = "                                                                                                                   
      24                 :         UPDATE                                                                                                                           
      25                 :             _db_core_cron t1                                                                                                             
      26                 :         SET                                                                                                                              
      27                 :             t1.last_execution = '%s'                                                                                                     
      28                 :         WHERE                                                                                                                            
      29                 :             t1.menu_id = '%s'                                                                                                            
      30                 :     ";                                                                                                                                   
      31                 : }                                                                                                                                        
      32                 : class TEMPLATE_rollbackQuery extends PHPDS_query                                                                                         
      33               1 : {                                                                                                                                        
      34                 :     protected $sql = "ROLLBACK";                                                                                                         
      35                 : }                                                                                                                                        
      36                 :                                                                                                                                          

Generated by PHP_CodeCoverage 1.0.4 using PHP 5.3.6 and PHPUnit 3.5.14 at Mon Aug 8 22:35:38 PDT 2011.