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 114 22 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 || ''
174 0 eval { do { (my $v = $a->version) =~ s/-TRIAL$//; 'version'->parse($v) } } || 0
174 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 60 length $d == 16 or length $d == 19
3 1 59 length $d == 16 or length $d == 19 or $d =~ /\.\d+$/