blib/lib/Blikistan/MagicEngine/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Blikistan::MagicEngine::Simple; | ||||||
2 | 1 | 1 | 1240 | use strict; | |||
1 | 2 | ||||||
1 | 25 | ||||||
3 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 23 | ||||||
4 | 1 | 1 | 5 | use base 'Blikistan::MagicEngine::TT2'; | |||
1 | 2 | ||||||
1 | 69 | ||||||
5 | use base 'Blikistan::MagicEngine::YamlConfig'; | ||||||
6 | use URI::Escape; | ||||||
7 | |||||||
8 | sub print_blog { | ||||||
9 | my $self = shift; | ||||||
10 | my $params = $self->load_config; | ||||||
11 | return $self->render_template($params); | ||||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 |