Condition Coverage

blib/lib/Log/Funlog.pm
Criterion Covered Total %
condition 19 39 48.7


and 3 conditions

line !l l&&!r l&&r condition
99 9 1 3 defined $args{'daemon'} and $args{'daemon'}
120 0 0 10 $verbose =~ /\d+/ && $levelmax =~ /\d+/
151 7 0 3 exists $args{'colors'} and $args{'colors'}
223 1 0 0 not defined $args{'caller'} and $Log::Funlog::metaheader =~ /\%s.*s/
267 0 25 0 defined $_[0] and $_[0] eq $args{'-n'}
273 1 0 24 $Log::Funlog::metaheader and not $hadnocr
341 25 0 0 $args{'fun'} and rand 100 < $args{'fun'}
25 0 0 $args{'fun'} and rand 100 < $args{'fun'} and $count > 10

or 3 conditions

line l !l&&r !l&&!r condition
92 0 13 0 ref $this || $this
103 9 1 1 $args{'verbose'} =~ m[^\d+/\d+$] or $args{'verbose'} =~ m[^[mM][aA][xX]/\d+$]
137 0 0 0 $args{'fun'} > 100 or $args{'fun'} <= 0
258 1 0 25 $level > $args{'verbose'} or $level == 0
277 0 0 24 $args{'caller'} =~ /^last$/ or $args{'caller'} =~ /^1$/