Condition Coverage

blib/lib/Git/Mailmap.pm
Criterion Covered Total %
condition 16 27 59.2


and 3 conditions

line !l l&&!r l&&r condition
79 0 1 1 defined $params{'name'} and $params{'name'} eq $$for_alias{'commit-name'}
194 81 26 37 defined $$committer{$_} and defined $params{$_}
107 30 7 defined $$committer{$_} and defined $params{$_} and $$committer{$_} eq $params{$_}
201 117 53 10 defined $$alias{$_} and defined $params{$_}
170 9 1 defined $$alias{$_} and defined $params{$_} and $$alias{$_} eq $params{$_}
207 3 0 5 $found{$PROPER_EMAIL} != 0 && $found{$PROPER_NAME} != 0 && $found{$COMMIT_EMAIL} != 0 && $found{$COMMIT_NAME} != 0
245 0 0 0 defined $params{'all'} and $params{'all'} eq '1'

or 3 conditions

line l !l&&r !l&&!r condition
228 0 0 0 defined $params{'all'} && !defined($params{'proper-email'}) && !defined($params{'proper-name'}) && !defined($params{'commit-email'}) && !defined($params{'commit-name'}) || !defined($params{'all'}) && (defined $params{'proper-email'} || defined $params{'proper-name'} || defined $params{'commit-email'} || defined $params{'commit-name'})
252 0 0 0 $$for_committer{'proper-email'} eq $params{'proper-email'} or not defined $params{'commit-email'}