Condition Coverage

blib/lib/App/Sqitch/Plan.pm
Criterion Covered Total %
condition 49 59 83.0


and 3 conditions

line !l l&&!r l&&r condition
197 0 42 334 @lines and not $line->note
321 1318 2 1 not $params{'yr'} and $line =~ /$ts_re/
934 22 4 11 $line->isa("App::Sqitch::Plan::Blank") and not length $line->note

or 2 conditions

line l !l condition
244 4 3 $+{'value'} // 1
632 5 13 delete $p{'operation'} || ''
639 4 13 delete $p{'offset'} || 0
640 3 14 delete $p{'limit'} || 0
849 13 3 $p{'requires'} ||= []
943 9 0 $from // "\@ROOT"
952 6 0 $to // "\@HEAD"

or 3 conditions

line l !l&&r !l&&!r condition
128 8 269 0 shift() || do {
321 22 17 1304 not $params{'name'} or not $params{'yr'} and $line =~ /$ts_re/
324 1318 1 1 $params{'yr'} or $params{'planner_name'}
517 103 60 11 exists $seen->{$key} or $position{$key}
590 5 1 0 $file->open('<:utf8_strict') || hurl('io', &__x('Cannot open {file}: {error}', 'file', $file, 'error', $!))
768 8 1 1 "App::Sqitch::Plan::Depend"->parse($_) // hurl("plan", &__x("\"{dep}\" is not a valid dependency specification", "dep", $_))
780 5 0 2 "App::Sqitch::Plan::Depend"->parse("!$_") // hurl("plan", &__x("\"{dep}\" is not a valid dependency specification", "dep", $_))
836 20 1 1 $changes->index_of($p{'name'} . "\@HEAD") // hurl("plan", &__x("Change \"{change}\" does not exist in {file}.\nUse \"sqitch add {change}\" to add it to the plan", "change", $p{'name'}, "file", $self->file))
844 1 1 18 not defined $tag_idx or $tag_idx < $idx
927 9 2 40 defined $from or defined $to
943 9 0 0 $self->find($from // "\@ROOT") // hurl("plan", &__x("Cannot find change {change}", "change", $from))
952 6 0 0 $self->find($to // "\@HEAD") // hurl("plan", &__x("Cannot find change {change}", "change", $to))