Condition Coverage

blib/lib/CLI/Driver/CommonRole.pm
Criterion Covered Total %
condition 2 39 5.1


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 0 defined $frames && !ref($frames) && &Scalar::Util::looks_like_number($frames)
75 0 0 0 $#_ == 0 and ref $_[0] eq 'HASH'
84 0 0 0 $exit and $confess_on_err
94 0 0 0 $exit and $confess_on_err
102 0 0 0 defined $frames && !ref($frames) && &Scalar::Util::looks_like_number($frames)
107 0 0 0 defined $frames && !ref($frames) && &Scalar::Util::looks_like_number($frames)
112 0 0 0 defined $frames && !ref($frames) && &Scalar::Util::looks_like_number($frames)
117 0 0 0 defined $frames && !ref($frames) && &Scalar::Util::looks_like_number($frames)
139 0 0 0 defined $level && !ref($level) && &Scalar::Util::looks_like_number($level)
0 0 0 defined $frames && !ref($frames) && &Scalar::Util::looks_like_number($frames)

or 3 conditions

line l !l&&r !l&&!r condition
65 0 0 17 $str =~ /^true$/iu or $str =~ /^yes$/iu
0 17 0 $str =~ /^true$/iu or $str =~ /^yes$/iu or $str eq '1'
75 0 0 0 $OK{$_} or Carp::croak("Unknown named parameter: $_")