blib/lib/Git/FastExport/Stitch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 12 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
51 | 42 | 0 | 20 | &blessed($repo) && $repo->isa('Git::Repository') |
142 | 30 | 192 | 28 | $self->{'last'} and not $commit->{'from'} |
229 | 0 | 0 | 212 | defined $dir and $dir ne '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
285 | 45 | 130 | 0 | $self->{'cache'}{"$from $node->{'name'}"} ||= $self->{'select'} eq 'last' ? $valid[-1] : ($self->{'select'} eq 'first' ? $valid[0] : $valid[rand @valid]) |