Condition Coverage

blib/lib/App/Sqitch/Role/TargetConfigCommand.pm
Criterion Covered Total %
condition 25 36 69.4


and 3 conditions

line !l l&&!r l&&r condition
274 8 4 2 $project and $uri

or 3 conditions

line l !l&&r !l&&!r condition
151 9 3 24 $p{'name'} || $props->{'target'}
2 8 14 $p{'engine'} || $props->{'engine'}
157 4 2 5 $name =~ /:/ or $config->get("key", "target.$name.uri")
160 5 0 0 $p{'engine'} || $props->{'engine'} || $config->get('key', 'core.engine') || hurl($self->command, &__('No engine specified; specify via target or core.engine'))
169 1 9 0 $config->get('key', "engine.$engine.target") || $config->get('key', 'core.target') || "db:${engine}:"
223 10 3 6 $props->{'reworked_dir'} || $props->{'top_dir'}
271 9 5 0 $p{'target'} || $self->config_target
279 3 7 0 $project ||= $def_plan->project
280 0 0 10 $uri ||= $def_plan->uri
282 0 1 0 $project ||= $conf_plan->project
283 0 0 1 $uri ||= $conf_plan->uri