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
149 29 4 16 $args and @{$args;}
246 55 2 134 not $p{'no_changes'} and $target
57 3 131 not $p{'no_changes'} and $target and -e $target->plan_file
5 84 47 not $p{'no_changes'} and $target and -e $target->plan_file and $target->plan->contains($arg)

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
82 114 142 0 ref $_[0] || shift()
179 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')
246 14 25 105 $config->get("key", "target.$arg.uri") or "URI"->new($arg)->isa("URI::db")
255 4 17 0 $config->get('key', "engine.$arg.target") || "db:${arg}:"