Condition Coverage

blib/lib/CPAN/Changes/Parser.pm
Criterion Covered Total %
condition 30 34 88.2


and 2 conditions

line l !l condition
380 6078 1101 defined $_ and not length $_ and undef $_

and 3 conditions

line !l l&&!r l&&r condition
187 254 514 5995 defined $indents[-1]{'text'} and not $indents[-1]{'done'}
768 5857 138 defined $indents[-1]{'text'} and not $indents[-1]{'done'} and $indent > $#indents || $indent == $#indents && (length $indents[-1]{'style'} || $indent == 1)
210 115 10138 113 not $nest and $indents[$indent]{'nested'}
115 10138 0 not $nest and $indents[$indent]{'nest'}
331 0 0 2393 defined $note and length $note
380 1978 4100 1101 defined $_ and not length $_

or 2 conditions

line l !l condition
229 9690 676 $group->{'entries'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
187 4375 106 1514 $indent > $#indents || $indent == $#indents && (length $indents[-1]{'style'} || $indent == 1)
343 507 1 0 $2 || $3
371 71 264 536 length $parsed_date == 16 or length $parsed_date == 19
335 1 535 length $parsed_date == 16 or length $parsed_date == 19 or $parsed_date =~ /\.\d+$/