Condition Coverage

blib/lib/Text/Trac2GFM.pm
Criterion Covered Total %
condition 24 37 64.8


and 3 conditions

line !l l&&!r l&&r condition
152 35 0 3 defined $opts and ref $opts eq 'HASH'
157 37 0 1 exists $opts->{'commits'} and ref $opts->{'commits'} eq 'HASH'
205 1 0 1 defined $2 && length $2 > 0
214 2 0 1 defined $2 && length $2 > 0
273 38 39 2 $i > 0 and $lines[$i - 1] =~ /^>/
288 35 0 3 @table and @table > 0
297 2 3 33 $end_with_nl and not $trac =~ /\n$/s
357 0 0 13 defined $title and length $title > 0
364 7 0 6 defined $opts and ref $opts eq 'HASH'
387 0 0 13 exists $defaults->{'terms'} and ref $defaults->{'terms'} eq 'HASH'
421 0 2 6 defined $widths[$j] and $widths[$j] > length $rows[$i][$j]

or 2 conditions

line l !l condition
439 8 0 $headers[$i] // ''
459 8 0 $row->[$i] // ''