blib/lib/Git/Archive.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 12 | 83.3 |
line | l | !l | condition |
---|---|---|---|
22 | 16 | 0 | $$args{'error'} || sub { my($args, $error) = @_; print STDERR "[ERROR] $error\n"; return 1; } |
54 | 10 | 1 | $self->_commit($args, $repo) || [] |
82 | 14 | 0 | $$args{'git_dir'} ||= './' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
28 | 12 | 1 | 2 | $$args{'files'} or $$args{'all_tracked'} |
13 | 1 | 1 | $$args{'files'} or $$args{'all_tracked'} or $$args{'all_dirty'} |