File Coverage

blib/lib/Apache2/ASP/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 1 1 100.0
total 13 18 72.2


line stmt bran cond sub pod time code
1            
2             package Apache2::ASP::Test::Fixtures;
3            
4 18     18   71 use strict;
  18         28  
  18         487  
5 18     18   65 use warnings 'all';
  18         25  
  18         582  
6 18     18   70 use base 'Data::Properties::YAML';
  18         20  
  18         8624  
7            
8            
9             #====================================================================
10             sub as_hash
11             {
12 0 0   0 1   wantarray ? %{ $_[0]->{data} } : $_[0]->{data};
  0            
13             }# end as_hash()
14            
15             1;# return true:
16            
17             __END__