Condition Coverage

blib/lib/Cogit/Object/Commit.pm
Criterion Covered Total %
condition 8 10 80.0


or 2 conditions

line l !l condition
81 0 47 $self->git->config->get('key', 'i18n.commitEncoding') || 'utf-8'
1 47 $header{'encoding'} ||= [$self->git->config->get('key', 'i18n.commitEncoding') || 'utf-8']

or 3 conditions

line l !l&&r !l&&!r condition
86 48 48 119 $key eq 'committer' or $key eq 'author'
99 71 48 0 $method_map{$key} || $key