Condition Coverage

blib/lib/App/Sqitch/Command.pm
Criterion Covered Total %
condition 23 29 79.3


and 3 conditions

line !l l&&!r l&&r condition
151 29 4 18 $args and @{$args;}
248 56 2 136 not $p{'no_changes'} and $target
58 3 133 not $p{'no_changes'} and $target and -e $target->plan_file
5 84 49 not $p{'no_changes'} and $target and -e $target->plan_file and $target->plan->contains($arg)

or 2 conditions

line l !l condition
209 0 3 Pod::Find::pod_where({'-inc', 1}, $upod) || undef

or 3 conditions

line l !l&&r !l&&!r condition
84 115 151 0 ref $_[0] || shift()
181 6 0 0 &$find_pod("$bn-$command") || &$find_pod("sqitch-$command") || &$find_pod($bn) || &$find_pod('sqitch') || &$find_pod(ref $self || $self) || &$find_pod(__PACKAGE__)
1 7 0 $params{'-input'} ||= &$find_pod("$bn-$command") || &$find_pod("sqitch-$command") || &$find_pod($bn) || &$find_pod('sqitch') || &$find_pod(ref $self || $self) || &$find_pod(__PACKAGE__)
248 14 25 106 $config->get("key", "target.$arg.uri") or "URI"->new($arg)->isa("URI::db")
257 4 17 0 $config->get('key', "engine.$arg.target") || "db:${arg}:"