Branch Coverage

blib/lib/Mnet/Stanza.pm
Criterion Covered Total %
branch 25 26 96.1


line true false branch
121 5 15 if ($line =~ /^(\s*)\S/ and length $1 < $indent)
127 4 1 if $indent and $indent < $indent_init
184 5 14 if (defined $indent and $line =~ /^($indent|\s*$)/) { }
7 7 elsif ($line =~ /$match_re/) { }
188 7 0 if $line =~ /^(\s*)/
198 2 2 wantarray ? :
233 1 8 if (not defined $old || defined $new) { }
1 7 elsif (not defined $old) { }
1 6 elsif (not defined $new) { }
1 5 elsif ($old eq $new) { }
257 4 3 if (defined $new[0] and $new[0] eq $line) { }
265 1 4 if defined $new[0] and not defined $diff
266 1 4 unless defined $diff