Branch Coverage

blib/lib/App/Sqitch/Command/show.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
45 1 21 unless $type and $key
48 1 20 $self->target ? :
55 7 14 if ($type eq "tag")
57 1 3 $key =~ /^@/ ? :
3 4 $is_id ? :
61 4 3 $change ? :
62 2 2 if ($is_id) { }
71 3 4 unless ($tag)
72 1 2 if $self->exists_only
75 3 1 unless $self->exists_only
83 1 13 unless &first(sub {
86 2 11 unless (my $change = $plan->get($key))
87 1 1 if $self->exists_only
94 6 5 if ($type eq "change")
96 5 1 unless $self->exists_only
102 2 3 unless (-e $path)
103 1 1 if $self->exists_only
106 0 3 if $path->is_dir
109 1 2 if $self->exists_only