Condition Coverage

blib/lib/App/Sqitch/Plan.pm
Criterion Covered Total %
condition 57 68 83.8


and 3 conditions

line !l l&&!r l&&r condition
199 0 42 343 @lines and not $line->note
323 1355 2 1 not $params{'yr'} and $line =~ /$ts_re/
916 44 39 12 $type eq "change" and not $name =~ /\A$name_re\z/
39 44 0 $type eq "tag" and !($name =~ /\A$name_re\z/) || $name =~ /$dir_sep_re/
944 22 4 11 $line->isa("App::Sqitch::Plan::Blank") and not length $line->note

or 2 conditions

line l !l condition
246 4 3 $+{'value'} // 1
643 5 13 delete $p{'operation'} || ''
650 4 13 delete $p{'offset'} || 0
651 3 14 delete $p{'limit'} || 0
860 14 3 $p{'requires'} ||= []
953 9 0 $from // "\@ROOT"
962 6 0 $to // "\@HEAD"

or 3 conditions

line l !l&&r !l&&!r condition
130 8 275 0 shift() || do {
323 24 17 1341 not $params{'name'} or not $params{'yr'} and $line =~ /$ts_re/
326 1355 1 1 $params{'yr'} or $params{'planner_name'}
528 106 69 11 exists $seen->{$key} or $position{$key}
601 5 1 0 $file->open('<:utf8_strict') || hurl('io', &__x('Cannot open {file}: {error}', 'file', $file, 'error', $!))
779 8 1 1 "App::Sqitch::Plan::Depend"->parse($_) // hurl("plan", &__x("\"{dep}\" is not a valid dependency specification", "dep", $_))
791 5 0 2 "App::Sqitch::Plan::Depend"->parse("!$_") // hurl("plan", &__x("\"{dep}\" is not a valid dependency specification", "dep", $_))
847 21 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))
855 1 1 19 not defined $tag_idx or $tag_idx < $idx
916 24 1 19 !($name =~ /\A$name_re\z/) || $name =~ /$dir_sep_re/
937 9 2 41 defined $from or defined $to
953 9 0 0 $self->find($from // "\@ROOT") // hurl("plan", &__x("Cannot find change {change}", "change", $from))
962 6 0 0 $self->find($to // "\@HEAD") // hurl("plan", &__x("Cannot find change {change}", "change", $to))