blib/lib/ASP4/Test/Fixtures.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 18 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | |||||||
2 | package ASP4::Test::Fixtures; | ||||||
3 | |||||||
4 | 4 | 4 | 15 | use strict; | |||
4 | 5 | ||||||
4 | 98 | ||||||
5 | 4 | 4 | 14 | use warnings 'all'; | |||
4 | 5 | ||||||
4 | 103 | ||||||
6 | 4 | 4 | 13 | use base 'Data::Properties::YAML'; | |||
4 | 4 | ||||||
4 | 383 | ||||||
7 | |||||||
8 | sub as_hash | ||||||
9 | { | ||||||
10 | 0 | 0 | 0 | 0 | wantarray ? %{ $_[0]->{data} } : $_[0]->{data}; | ||
0 | |||||||
11 | }# end as_hash() | ||||||
12 | |||||||
13 | 1;# return true: | ||||||
14 |