Branch Coverage

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


line true false branch
22 1 16 if ($line and not defined $new)
26 1 15 unless defined $new
30 1 14 if ($new =~ /^\s*#/) { }
1 13 elsif ($new =~ /^\\$/) { }
3 10 elsif ($new =~ /\s+\\\s*$/) { }
5 5 elsif ($new =~ /\S+\\\s*$/) { }
0 5 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 4 if (not length $new and length($line // ''))
78 3 1 length($line // '') ? :