Condition Coverage

blib/lib/Mnet/Stanza.pm
Criterion Covered Total %
condition 26 35 74.2


and 3 conditions

line !l l&&!r l&&r condition
122 0 252 45 $line =~ /^(\s*)\S/ and length $1 < $indent
128 14 2 31 $indent and $indent < $indent_init
185 279 37 34 defined $indent and $line =~ /^($indent|\s*$)/
259 1 2 4 defined $new[0] and $new[0] eq $line
267 2 2 1 defined $new[0] and not defined $diff

or 2 conditions

line l !l condition
99 46 1 shift() // ""
229 7 2 $old // ""
7 2 $new // ""
393 12 0 shift() // ""

or 3 conditions

line l !l&&r !l&&!r condition
172 25 0 0 shift() // croak("missing match_re arg")
235 7 1 1 defined $old || defined $new
392 12 0 0 shift() // croak("missing template arg")
411 0 0 0 shift() // croak("undefined arg")