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
150 29 4 16 $args and @{$args;}
247 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
208 0 3 Pod::Find::pod_where({'-inc', 1}, $upod) || undef

or 3 conditions

line l !l&&r !l&&!r condition
83 115 149 0 ref $_[0] || shift()
180 6 0 0 &$find_pod("$bn-$command") || &$find_pod("sqitch-$command") || &$find_pod($bn) || &$find_pod('sqitch') || &$find_pod(ref $self || $self) || &$find_pod('App::Sqitch::Command')
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('App::Sqitch::Command')
247 14 25 106 $config->get("key", "target.$arg.uri") or "URI"->new($arg)->isa("URI::db")
256 4 17 0 $config->get('key', "engine.$arg.target") || "db:${arg}:"