| blib/lib/CGI/Portal/Scripts/Footer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 11 | 81.8 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 4 | 75.0 |
| pod | 0 | 1 | 0.0 |
| total | 12 | 16 | 75.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package CGI::Portal::Scripts::Footer; | ||||||
| 2 | # Copyright (c) 2008 Alexander David P. All rights reserved. | ||||||
| 3 | # | ||||||
| 4 | # Code for footer | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 4 | use strict; | |||
| 1 | 3 | ||||||
| 1 | 47 | ||||||
| 7 | |||||||
| 8 | 1 | 1 | 6 | use CGI::Portal::Scripts; | |||
| 1 | 2 | ||||||
| 1 | 24 | ||||||
| 9 | |||||||
| 10 | 1 | 1 | 6 | use vars qw(@ISA $VERSION); | |||
| 1 | 2 | ||||||
| 1 | 117 | ||||||
| 11 | |||||||
| 12 | $VERSION = "0.12"; | ||||||
| 13 | |||||||
| 14 | @ISA = qw(CGI::Portal::Scripts); | ||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||
| 18 | sub launch { | ||||||
| 19 | 0 | 0 | 0 | my ($self, $e) = @_; | |||
| 20 | |||||||
| 21 | # Assign tmpl | ||||||
| 22 | 0 | $self->assign_tmpl($e->{'conf'}{'footer_html'}); | |||||
| 23 | } |