Condition Coverage

blib/lib/Stacktrace/Configurable.pm
Criterion Covered Total %
condition 47 60 78.3


and 3 conditions

line !l l&&!r l&&r condition
55 155 53 75 not @trace and $skip_re
208 15 60 not @trace and $skip_re and $l[0] =~ /$skip_re/
99 27 6 2 length $ENV{$1} and $nr == $ENV{$1}
147 0 1 45 s/^skip_package// and $s =~ s/^.*:://
192 11 2 3 s/^skip_prefix=// and $fn =~ s/^\Q$_\E//
193 2 1 10 s/^basename$// and $fn =~ s[^.*/][]
195 53 0 2 $width > 0 and length $fn > $width
196 51 0 2 $width < 0 and length $fn > -$width
218 0 1 1 s/^skip_prefix=// and $pn =~ s/^\Q$_\E//
220 6 0 2 $width > 0 and length $pn > $width
221 4 0 2 $width < 0 and length $pn > -$width
237 2 1 1 $fmt =~ /^env=(\w+)(,|$)/ and exists $seen{$1}

or 2 conditions

line l !l condition
92 76 293 $width //= 1
103 6 6 $2 // 0
165 4 1 $1 || 4
1 4 $2 || 4
168 2 0 $p{'deparse'} || 0
177 4 25 $p{'deparse'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
66 0 34 0 ref $class || $class
74 12 22 0 $$I{'format'} ||= $I->default_format
82 16 0 39 $$p{'dump'} || $$p{'pkg_dump'}{ref $_} || do { my $arg = $_; not !map({ref($arg) =~ /$_/;} @{$$p{'pkg_dump_re'};}) }
236 4 0 0 $ENV{$var} || $I->default_format