Condition Coverage

blib/lib/Throw.pm
Criterion Covered Total %
condition 25 61 40.9


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 5 $_[0] && $_[0] =~ /^[123]$/
55 0 3 2 $$args{'verbose'} and $$args{'verbose'} eq '1'

or 2 conditions

line l !l condition
24 3 0 $trace || $$args{'trace'} || 1
31 0 0 $trace || $$args{'trace'} || 1
35 0 1 $_[2] || 0
36 0 0 $_[2] || 0
42 4 0 $$self{'error'} || 'Something happened'
54 1 4 $level || $_[1] || $$args{'level'} || 0
55 1 1 (caller $i + 1)[3] || 'main'
56 3 0 $$args{'verbose'} || ''
59 3 0 $DB::args[0] || ''
63 3 3 $$args{'max_args'} ||= 5
67 0 0 $$args{'max_arg_len'} || 20

or 3 conditions

line l !l&&r !l&&!r condition
24 0 3 3 $trace or $$args{'trace'}
3 0 3 $trace or $$args{'trace'} or @_ > 2
31 0 0 0 $trace or $$args{'trace'}
0 0 0 $trace or $$args{'trace'} or @_ > 2
47 0 0 0 $jp ||= 'JSON'->new->allow_unknown->allow_blessed->utf8->convert_blessed->canonical->pretty
1 1 0 $p ? $jp ||= 'JSON'->new->allow_unknown->allow_blessed->utf8->convert_blessed->canonical->pretty : $js ||= 'JSON'->new->allow_unknown->allow_blessed->utf8->convert_blessed->canonical
62 0 0 6 $file eq '/.cpan/build/Throw-0.11-huhPQw/blib/lib/Throw.pm' or $$args{'skip'}{$file}
0 0 6 $file eq '/.cpan/build/Throw-0.11-huhPQw/blib/lib/Throw.pm' or $$args{'skip'}{$file} or $$args{'skip'}{$pkg}
0 0 6 $file eq '/.cpan/build/Throw-0.11-huhPQw/blib/lib/Throw.pm' or $$args{'skip'}{$file} or $$args{'skip'}{$pkg} or $$args{'skip'}{$sub}
66 5 0 1 !@$sargs || $i == 2 && $sub eq 'throw'
0 0 0 ref $_ || !/\D/