Condition Coverage

blib/lib/Benchmark/Featureset/ParamCheck/Implementation/Perl.pm
Criterion Covered Total %
condition 19 27 70.3


and 3 conditions

line !l l&&!r l&&r condition
19 9 0 400009 @_ == 1 && ref $_[0] eq 'HASH'
25 2 0 400014 defined $args{'integer'} and not ref $args{'integer'}
2 2 400012 defined $args{'integer'} and not ref $args{'integer'} and $args{'integer'} =~ /\A-?[0-9]+\z/u
30 2 2 400008 &blessed($args{'object'}) and $args{'object'}->can("print")
4 0 400008 &blessed($args{'object'}) and $args{'object'}->can("print") and $args{'object'}->can("close")
46 0 0 400005 defined $_[0] and not ref $_[0]
0 1 400004 defined $_[0] and not ref $_[0] and $_[0] =~ /\A-?[0-9]+\z/u
51 0 1 400003 &blessed($_[2]) and $_[2]->can("print")
1 0 400003 &blessed($_[2]) and $_[2]->can("print") and $_[2]->can("close")