Branch Coverage

blib/lib/Benchmark/Featureset/ParamCheck/Implementation/Perl.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
19 400009 9 @_ == 1 && ref $_[0] eq 'HASH' ? :
20 2 400016 if grep((!/\A(integer|object|hashes)\z/u), keys %args)
25 2 400012 unless defined $args{'integer'} and not ref $args{'integer'} and $args{'integer'} =~ /\A-?[0-9]+\z/u
30 2 400008 unless &blessed($args{'object'}) and $args{'object'}->can("print") and $args{'object'}->can("close")
33 2 400006 unless ref $args{'hashes'} eq "ARRAY"
35 2 2000024 unless ref $arr eq "HASH"
44 2 400005 unless @_ == 3
46 1 400004 unless defined $_[0] and not ref $_[0] and $_[0] =~ /\A-?[0-9]+\z/u
51 1 400003 unless &blessed($_[2]) and $_[2]->can("print") and $_[2]->can("close")
56 0 400003 unless ref $_[1] eq "ARRAY"
59 1 2000012 unless ref $arr eq "HASH"