Branch Coverage

blib/lib/Text/Continuation/Parser.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
22 1 18 if ($line and not defined $new)
26 1 17 unless defined $new
30 1 16 if ($new =~ /^\s*#/) { }
1 15 elsif ($new =~ /^\\$/) { }
3 12 elsif ($new =~ /\s+\\\s*$/) { }
5 7 elsif ($new =~ /\S+\\\s*$/) { }
0 7 elsif ($new =~ /^\s+/) { }
31 1 0 if (length($line // ""))
42 2 1 if (length($line // ""))
43 2 0 if (length $new)
48 1 0 length $new ? :
53 2 3 if (length($line // ""))
54 2 0 if (length $new)
59 3 0 length $new ? :
63 0 0 if (not length $new and length($line // ""))
67 0 0 if (length($line // ""))
68 0 0 length $new ? :
74 1 6 if (not length $new and length($line // ""))
78 3 3 length($line // '') ? :