Portal/Scripts/Header.pm

filter: Statementstmt 80.0% 12 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 75.0% 15 / 20 CC 1 SCAR 2.2
CC
1
Cov
80%
launch
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Portal/Scripts/emailpw.pm ↑ Summary Portal/Scripts/Footer.pm »
1 package CGI::Portal::Scripts::Header;
2 # Copyright (c) 2008 Alexander David P. All rights reserved.
3 #
4 # Code for header
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use CGI::Portal::Scripts;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use vars qw(@ISA $VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 $VERSION = "0.12";
13  
14 1 @ISA = qw(CGI::Portal::Scripts);
15 1 1;
16  
17 0 ▶sub launch {
Subroutine launch: not called CC=1 SCAR=6.9
Pod undocumented
18 0 my ($self, $e) = @_;
19  
20 # Assign tmpl
21 0 $self->{'tmpl_vars'}{'result'} = $e->{'tmpl_vars'}{'result'};
22  
23 # Assign tmpl
24 0 $self->assign_tmpl($e->{'conf'}{'header_html'});
25 }
« Portal/Scripts/emailpw.pm ↑ Summary Portal/Scripts/Footer.pm »