Condition Coverage

blib/lib/CPAN/Changes.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
76 0 22 12 @lines and not $lines[0] =~ /$version_line_re/
183 112 21 0 $l =~ /^\s/ and not @{$releases[-1]->changes($ingroup);}

or 2 conditions

line l !l condition
237 0 0 $a->date || ''
0 0 $b->date || ''
160 0 eval { do { (my $v = $a->version) =~ s/-TRIAL$//; 'version'->parse($v) } } || 0
160 0 eval { do { (my $v = $b->version) =~ s/-TRIAL$//; 'version'->parse($v) } } || 0

or 3 conditions

line l !l&&r !l&&!r condition
140 2 1 59 length $d == 16 or length $d == 19
3 1 58 length $d == 16 or length $d == 19 or $d =~ /\.\d+$/