Condition Coverage

blib/lib/ProgressMonitor/Stringify/AbstractMonitor.pm
Criterion Covered Total %
condition 11 37 29.7


and 3 conditions

line !l l&&!r l&&r condition
81 0 11 0 $remainingWidth and @dynFields
203 0 0 0 $msg && $msg =~ /\n$/
212 411 0 0 $forceNewline && $considerMessage && $msg
227 182 0 40 $msg and $ms ne 'none'
260 20 0 0 $start_ovrpos and $end_ovrpos
268 0 0 0 $ms eq 'overlay_honor_newline' and not $forceNewline
381 0 0 11 blessed $_ and $_->isa('ProgressMonitor::Stringify::Fields::AbstractField')

or 2 conditions

line l !l condition
124 0 200 shift() || 0
134 0 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
268 20 0 0 $ms eq 'overlay' or $ms eq 'overlay_honor_newline' and not $forceNewline
397 0 0 2 $start < 1 or $start > $maxFieldNum
398 0 0 2 $end < 1 or $end > $maxFieldNum
0 0 2 $end < 1 or $end > $maxFieldNum or $end < $start