Condition Coverage

blib/lib/App/Sqitch/Command/add.pm
Criterion Covered Total %
condition 15 20 75.0


and 3 conditions

line !l l&&!r l&&r condition
132 5 38 23 $dir and -d $dir
147 57 6 0 not $tmpl->{$script} and $with->{$script} || !exists $with->{$script}

or 2 conditions

line l !l condition
297 1 13 $added{$file} ||= {"scripts", [], "seen", {}}

or 3 conditions

line l !l&&r !l&&!r condition
147 3 0 3 $with->{$script} || !exists $with->{$script}
268 12 2 2 @_ or $self->change_name
295 0 14 0 $self->template_name || $target->engine_key
312 3 10 0 $first_change ||= $change