blib/lib/Git/FastExport/Stitch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 12 | 58.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
51 | 45 | 0 | 21 | &blessed($repo) && $repo->isa('Git::Repository') |
146 | 32 | 202 | 30 | $self->{'last'} and not $commit->{'from'} |
233 | 0 | 0 | 0 | defined $dir and $dir ne '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
289 | 45 | 138 | 0 | $self->{'cache'}{"$from $node->{'name'}"} ||= $self->{'select'} eq 'last' ? $valid[-1] : ($self->{'select'} eq 'first' ? $valid[0] : $valid[rand @valid]) |