[otrs-cvs] Fred/Kernel/Output/HTML FredDProf.pm, 1.4, 1.5 FredSQLLog.pm, 1.3, 1.4 FredSmallProf.pm, 1.5, 1.6

cvs-log at otrs.org cvs-log at otrs.org
Sat Feb 2 12:44:21 GMT 2008


Comments:
Update of /home/cvs/Fred/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv26875/Kernel/Output/HTML

Modified Files:
	FredDProf.pm FredSQLLog.pm FredSmallProf.pm 
Log Message:
Insert a function to find multi used sql statements. Implement a new sort option for DProf. Make sum rows for some module columns.

Author: tr

Index: FredDProf.pm
===================================================================
RCS file: /home/cvs/Fred/Kernel/Output/HTML/FredDProf.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** FredDProf.pm	30 Nov 2007 16:48:41 -0000	1.4
--- FredDProf.pm	2 Feb 2008 12:44:16 -0000	1.5
***************
*** 1,5 ****
  # --
  # Kernel/Output/HTML/FredDProf.pm - layout backend module
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/Output/HTML/FredDProf.pm - layout backend module
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
  # --
  # $Id$
***************
*** 7,11 ****
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  # --
  
--- 7,11 ----
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  # --
  
***************
*** 106,109 ****
--- 106,110 ----
                  HTMLLines => $HTMLLines,
                  TotalTime => $Param{ModuleRef}->{TotalTime},
+                 TotalCall => $Param{ModuleRef}->{TotalCall},
              },
          );
***************
*** 147,151 ****
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  
  =cut
--- 148,152 ----
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  
  =cut

Author: tr

Index: FredSQLLog.pm
===================================================================
RCS file: /home/cvs/Fred/Kernel/Output/HTML/FredSQLLog.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FredSQLLog.pm	26 Sep 2007 10:28:09 -0000	1.3
--- FredSQLLog.pm	2 Feb 2008 12:44:16 -0000	1.4
***************
*** 1,5 ****
  # --
  # Kernel/Output/HTML/FredSQLLog.pm - layout backend module
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/Output/HTML/FredSQLLog.pm - layout backend module
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
  # --
  # $Id$
***************
*** 7,11 ****
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  # --
  
--- 7,11 ----
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  # --
  
***************
*** 85,92 ****
              $TD = $Self->{LayoutObject}->Ascii2Html(Text => $TD);
          }
!         $HTMLLines .= "        <tr>\n"
                      . "          <td>$Line->[0]</td>\n"
                      . "          <td>$Line->[1]</td>\n"
                      . "          <td>$Line->[2]</td>\n"
                      . "        </tr>";
      }
--- 85,97 ----
              $TD = $Self->{LayoutObject}->Ascii2Html(Text => $TD);
          }
!         my $Class = '';
!         if ($Line->[3]) {
!             $Class = ' class="contentkey"';
!         }
!         $HTMLLines .= "        <tr$Class>\n"
                      . "          <td>$Line->[0]</td>\n"
                      . "          <td>$Line->[1]</td>\n"
                      . "          <td>$Line->[2]</td>\n"
+                     . "          <td>$Line->[3]</td>\n"
                      . "        </tr>";
      }
***************
*** 96,100 ****
              TemplateFile => 'DevelFredSQLLog',
              Data         => {
!                 HTMLLines => $HTMLLines,
              },
          );
--- 101,108 ----
              TemplateFile => 'DevelFredSQLLog',
              Data         => {
!                 HTMLLines     => $HTMLLines,
!                 AllStatements    => $Param{ModuleRef}->{AllStatements},
!                 DoStatements     => $Param{ModuleRef}->{DoStatements},
!                 SelectStatements => $Param{ModuleRef}->{SelectStatements},
              },
          );
***************
*** 114,118 ****
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  
  =cut
--- 122,126 ----
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  
  =cut

Author: tr

Index: FredSmallProf.pm
===================================================================
RCS file: /home/cvs/Fred/Kernel/Output/HTML/FredSmallProf.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** FredSmallProf.pm	26 Sep 2007 10:28:09 -0000	1.5
--- FredSmallProf.pm	2 Feb 2008 12:44:16 -0000	1.6
***************
*** 1,5 ****
  # --
  # Kernel/Output/HTML/FredSmallProf.pm - layout backend module
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
  # --
  # $Id$
--- 1,5 ----
  # --
  # Kernel/Output/HTML/FredSmallProf.pm - layout backend module
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
  # --
  # $Id$
***************
*** 7,11 ****
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  # --
  
--- 7,11 ----
  # This software comes with ABSOLUTELY NO WARRANTY. For details, see
  # the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  # --
  
***************
*** 108,111 ****
--- 108,112 ----
              Data         => {
                  HTMLLines => $HTMLLines,
+                 TotalCall => $Param{ModuleRef}->{TotalCall},
                  Packages  => $Packages,
              },
***************
*** 126,130 ****
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
  
  =cut
--- 127,131 ----
  This software comes with ABSOLUTELY NO WARRANTY. For details, see
  the enclosed file COPYING for license information (GPL). If you
! did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
  
  =cut


More information about the cvs-log mailing list