Branch Coverage

blib/lib/App/Sqitch/Command/engine.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
27 1 10 unless &first(sub {
39 1 20 unless my $meth = $self->can($action)
54 1 2 $sqitch->options->{'verbosity'} ? :
67 7 1 if ($target =~ /:/)
70 3 4 if $uri->canonical_engine ne $engine
79 0 1 if $self->sqitch->config->get("key", "target.$target.uri")
88 1 5 unless $engine
94 1 4 if $config->get("key", "$key.target")
118 1 6 unless $engine
128 2 3 unless $config->get("key", "engine.$engine.target")
131 2 1 if (my $targ = $props->{'target'})
132 0 1 unless $props->{'target'} = $self->_target($engine, $targ)
145 1 3 unless $engine
154 0 1 unless /No such section/
166 0 1 unless /No such section/
173 1 2 unless @names
224 1 3 if (%{$vars;}) { }