Branch Coverage

blib/lib/App/Sqitch/Command/target.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
32 1 14 unless my $meth = $self->can($action)
45 1 2 $sqitch->options->{'verbosity'} ? :
56 2 6 unless $name and $uri
61 1 5 if $config->get("key", "$key.uri")
83 1 4 unless $target
92 2 2 unless $config->get("key", "target.$target.uri")
103 1 4 unless $name
104 1 3 if (my(@deps) = $self->_dependencies($name))
116 2 4 unless $old and $new
117 1 3 if (my(@deps) = $self->_dependencies($old))
140 3 3 $new ? :
146 0 2 unless /No such section/
153 2 2 $new ? :
159 0 2 unless /No such section/
166 1 5 unless @names
215 1 6 if (%{$vars;}) { }