Condition Coverage

blib/lib/RT/Client/REST/Forms.pm
Criterion Covered Total %
condition 14 39 35.9


and 3 conditions

line !l l&&!r l&&r condition
63 110 9 0 $state == 0 and $line =~ /^#/
68 0 0 0 @lines and $lines[0] =~ /^#/
74 0 104 15 $state <= 1 and $line =~ /^($field:) ?$/s
87 0 0 104 $state <= 1 and $line =~ /^($field:) (.*)?$/s
94 8 129 183 @lines and $lines[0] eq "\n" || $lines[0] =~ /^ +/
174 10 0 0 $line and length($line) + length($v) - rindex($line, "\n") >= 70
178 0 0 0 @lines and not $lines[-1] =~ /\n\n$/
200 0 0 0 @lines and not $lines[-1] =~ /\n\n$/

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 0 $e or $c
0 0 0 $e or $c or @$o
94 33 183 96 $lines[0] eq "\n" || $lines[0] =~ /^ +/
136 0 0 9 $e or $c
0 9 0 $e or $c or @$o