Condition Coverage

blib/lib/App/Sqitch/Command/bundle.pm
Criterion Covered Total %
condition 23 31 74.1


and 3 conditions

line !l l&&!r l&&r condition
97 8 3 0 @{$targets;} > 1 and $self->from || $self->to
104 9 2 0 @{$changes;} and $self->from || $self->to

or 2 conditions

line l !l condition
185 6 1 $from // "\@ROOT"
3 4 $to // "\@HEAD"
203 8 11 $from // "\@ROOT"
210 3 14 $to // "\@HEAD"
222 56 0 $plan->current // (last)

or 3 conditions

line l !l&&r !l&&!r condition
97 2 0 1 $self->from || $self->to
104 1 0 1 $self->from || $self->to
176 6 1 10 defined $from or defined $to
203 17 0 2 $plan->index_of($from // "\@ROOT") // hurl("bundle", &__x("Cannot find change {change}", "change", $from))
210 17 0 0 $plan->index_of($to // "\@HEAD") // hurl("bundle", &__x("Cannot find change {change}", "change", $to))