blib/lib/Class/Tie/InsideOut.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 4 | 100.0 |
branch | n/a | ||
condition | 1 | 2 | 50.0 |
subroutine | 1 | 1 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 6 | 8 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Class::Tie::InsideOut; | ||||||
2 | |||||||
3 | require Tie::InsideOut; | ||||||
4 | |||||||
5 | our $VERSION = '0.11'; | ||||||
6 | |||||||
7 | our @ISA = qw( ); | ||||||
8 | |||||||
9 | sub new { | ||||||
10 | 5 | 50 | 5 | 0 | 945 | my $class = shift || __PACKAGE__; | |
11 | 5 | 13 | my $self = { }; | ||||
12 | 5 | 40 | tie %$self, 'Tie::InsideOut'; | ||||
13 | 5 | 21 | bless $self, $class; | ||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |