Condition Coverage

blib/lib/Git/Mailmap.pm
Criterion Covered Total %
condition 32 50 64.0


and 3 conditions

line !l l&&!r l&&r condition
83 0 1 1 defined $params{'name'} and $params{'name'} eq $$for_alias{'commit-name'}
132 12 0 2 $$for_alias{'commit-email'} eq ($params{'commit-email'} // '') and defined $$for_alias{'commit-name'}
12 0 2 $$for_alias{'commit-email'} eq ($params{'commit-email'} // '') and defined $$for_alias{'commit-name'} and defined $params{'commit-name'}
0 2 0 $$for_alias{'commit-email'} eq ($params{'commit-email'} // '') and defined $$for_alias{'commit-name'} and defined $params{'commit-name'} and $$for_alias{'commit-name'} eq $params{'commit-name'}
12 0 2 $$for_alias{'commit-email'} eq ($params{'commit-email'} // '') and $$for_alias{'commit-name'} ne $params{'commit-name'}
149 0 2 9 not defined $alias and defined $params{'commit-email'}
210 198 65 97 defined $$committer{$_} and defined $params{$_}
263 82 15 defined $$committer{$_} and defined $params{$_} and $$committer{$_} eq $params{$_}
217 342 140 94 defined $$alias{$_} and defined $params{$_}
482 73 21 defined $$alias{$_} and defined $params{$_} and $$alias{$_} eq $params{$_}
223 6 0 11 $found{$PROPER_EMAIL} != 0 && $found{$PROPER_NAME} != 0 && $found{$COMMIT_EMAIL} != 0 && $found{$COMMIT_NAME} != 0
261 0 0 0 defined $params{'all'} and $params{'all'} eq '1'

or 2 conditions

line l !l condition
77 20 7 $$for_committer{'proper-name'} // ''
82 27 0 $params{'email'} // ''
132 8 6 $params{'commit-email'} // ''
8 6 $params{'commit-email'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
244 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'})
268 0 0 0 $$for_committer{'proper-email'} eq $params{'proper-email'} or not defined $params{'commit-email'}