blib/lib/Yeb.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | 2 | 2 | 100.0 |
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Yeb; | ||||||
2 | BEGIN { | ||||||
3 | 2 | 2 | 3479 | $Yeb::AUTHORITY = 'cpan:GETTY'; | |||
4 | } | ||||||
5 | # ABSTRACT: A simple structure for Web::Simple applications | ||||||
6 | $Yeb::VERSION = '0.103'; | ||||||
7 | 2 | 2 | 17 | use strict; | |||
2 | 5 | ||||||
2 | 64 | ||||||
8 | 2 | 2 | 10 | use warnings; | |||
2 | 3 | ||||||
2 | 66 | ||||||
9 | |||||||
10 | 2 | 2 | 3675 | use Yeb::Application; | |||
2 | 10 | ||||||
2 | 1171 | ||||||
11 | |||||||
12 | 3 | 3 | 1449 | sub import { shift; | |||
13 | 3 | 14 | my ( $caller ) = caller; | ||||
14 | 3 | 100 | 58 | Yeb::Application->new( | |||
15 | class => $caller, | ||||||
16 | @_ ? ( args => [@_] ) : (), | ||||||
17 | ); | ||||||
18 | } | ||||||
19 | |||||||
20 | 1; | ||||||
21 | |||||||
22 | __END__ |