Condition Coverage

blib/lib/Biblio/Citation/Compare.pm
Criterion Covered Total %
condition 49 84 58.3


and 3 conditions

line !l l&&!r l&&r condition
111 36 0 0 defined $$e{'doi'} and length $$e{'doi'}
36 0 0 defined $$e{'doi'} and length $$e{'doi'} and defined $$c{'doi'}
0 0 0 defined $$e{'doi'} and length $$e{'doi'} and defined $$c{'doi'} and length $$c{'doi'}
124 1 7 28 defined $$e{'date'} && defined $$c{'date'} && $$e{'date'} eq $$c{'date'}
132 29 0 7 $tsame and $asame
29 0 7 $tsame and $asame and $dsame
144 19 9 1 abs length($$e{'title'}) - length($$c{'title'}) > 20 and not $$e{'title'} =~ /$TITLE_SPLIT/ || $$c{'title'} =~ /$TITLE_SPLIT/
28 1 0 abs length($$e{'title'}) - length($$c{'title'}) > 20 and not $$e{'title'} =~ /$TITLE_SPLIT/ || $$c{'title'} =~ /$TITLE_SPLIT/ and not $$e{'title'} =~ /$PARENS/ || $$c{'title'} =~ /$PARENS/
0 29 0 not $tsame and (abs length($$e{'title'}) - length($$c{'title'}) > 20 and not $$e{'title'} =~ /$TITLE_SPLIT/ || $$c{'title'} =~ /$TITLE_SPLIT/ and not $$e{'title'} =~ /$PARENS/ || $$c{'title'} =~ /$PARENS/)
163 21 0 8 not $dsame and defined $$e{'date'}
21 1 7 not $dsame and defined $$e{'date'} and defined $$c{'date'}
1 0 7 not $dsame and defined $$e{'date'} and defined $$c{'date'} and $$e{'date'} =~ /^\d\d\d\d$/
1 0 7 not $dsame and defined $$e{'date'} and defined $$c{'date'} and $$e{'date'} =~ /^\d\d\d\d$/ and $$c{'date'} =~ /^\d\d\d\d$/
168 0 0 0 $$e{'source'} and $$e{'source'} ne $$c{'source'}
0 0 0 $$e{'volume'} and $$e{'volume'} ne $$c{'volume'}
179 0 8 21 $asame and $compat_dates
200 25 3 1 $ed1 and not $ed2
24 3 1 $ed2 and not $ed1
24 1 2 $ed1 and $ed1 != $ed2
209 20 0 5 $parens1 and $parens2
20 4 1 $parens1 and $parens2 and numdiff($parens1, $parens2)

or 3 conditions

line l !l&&r !l&&!r condition
144 8 1 1 $$e{'title'} =~ /$TITLE_SPLIT/ || $$c{'title'} =~ /$TITLE_SPLIT/
1 0 0 $$e{'title'} =~ /$PARENS/ || $$c{'title'} =~ /$PARENS/
167 0 0 7 $$e{'title'} =~ /^Introduction.?$/ or $$e{'title'} =~ /^Preface.?$/
168 0 0 0 $$e{'source'} and $$e{'source'} ne $$c{'source'} or $$e{'volume'} and $$e{'volume'} ne $$c{'volume'}
200 1 0 28 $ed1 and not $ed2 or $ed2 and not $ed1
1 0 27 $ed1 and not $ed2 or $ed2 and not $ed1 or $ed1 and $ed1 != $ed2
356 0 0 0 $num < 127 || $num > 159