blib/lib/Git/PurePerl/Object/Commit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 10 | 80.0 |
line | l | !l | condition |
---|---|---|---|
40 | 0 | 154 | $self->git->config->get('key', 'i18n.commitEncoding') || 'utf-8' |
1 | 154 | $header{'encoding'} ||= [$self->git->config->get('key', 'i18n.commitEncoding') || 'utf-8'] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
45 | 155 | 155 | 448 | $key eq 'committer' or $key eq 'author' |
58 | 291 | 157 | 0 | $method_map{$key} || $key |