Condition Coverage

blib/lib/Text/Flowed.pm
Criterion Covered Total %
condition 15 33 45.4


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 1 $$args{'fixed'} == 1 and $num_quotes
53 3 0 1 _flowed($line) and @input
3 0 1 _flowed($line) and @input and _num_quotes($input[0]) == $num_quotes

or 3 conditions

line l !l&&r !l&&!r condition
36 0 3 0 $$args{'max_length'} ||= $Text::Flowed::MAX_LENGTH
37 0 3 0 $$args{'opt_length'} ||= $Text::Flowed::OPT_LENGTH
48 2 0 1 not $$args{'fixed'} or $$args{'fixed'} == 1 and $num_quotes
81 0 0 0 $line =~ /^(.{$min,$opt1}) (.*)/ or $line =~ /^(.{$min,$max1}) (.*)/
0 0 0 $line =~ /^(.{$min,$opt1}) (.*)/ or $line =~ /^(.{$min,$max1}) (.*)/ or $line =~ /^(.{$min,})? (.*)/
156 0 0 6 $text =~ /^ / or $text =~ /^>/
0 1 5 $text =~ /^ / or $text =~ /^>/ or $text =~ /^From /
1 2 3 $text =~ /^ / or $text =~ /^>/ or $text =~ /^From / or $num_quotes > 0