blib/lib/ASP4/Test/Fixtures.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 68.4% 13 / 19 CC 2 SCAR 11.0
CC
2
Cov
71%
as_hash
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
« blib/lib/ASP4/PageLoader.pm ↑ Summary blib/lib/ASP4/ErrorHandler.pm »
1  
2 package
3 ASP4::Test::Fixtures;
4  
5 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 11 ▶use warnings 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 11 ▶use base 'Data::Properties::YAML';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub as_hash
10 0 ▶{
Subroutine as_hash: not called CC=2 SCAR=17.9
Pod undocumented
11 0 ▶ wantarray ? %{ $_[0]->{data} } : $_[0]->{data};
Branch: 1 branch
BranchTrueFalseTotal
wantarray ? : 0 0 0
12 }# end as_hash()
13  
14 11 1;# return true:
15  
« blib/lib/ASP4/PageLoader.pm ↑ Summary blib/lib/ASP4/ErrorHandler.pm »