| test/CGIAPP_TestApp2.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 8 | 8 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | 1 | 1 | 100.0 |
| total | 12 | 12 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package CGIAPP_TestApp2; | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 27670 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 27 | ||||||
| 4 | 1 | 1 | 3 | use base ("CGI::Application::Plugin::HTCompiled", "CGI::Application"); | |||
| 1 | 1 | ||||||
| 1 | 445 | ||||||
| 5 | |||||||
| 6 | # Extend load_tmpl() with some default options. . . | ||||||
| 7 | sub load_tmpl | ||||||
| 8 | { | ||||||
| 9 | 1 | 1 | 1 | 220 | my ($self, $tmpl_file, @extra_params) = @_; | ||
| 10 | |||||||
| 11 | 1 | 8 | return $self->SUPER::load_tmpl($tmpl_file, @extra_params); | ||||
| 12 | } | ||||||
| 13 | |||||||
| 14 | 1; | ||||||
| 15 |