Branch Coverage

blib/lib/Test/Kantan/Builder.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
28 3 0 unless $ENV{'KANTAN_COLOR'}
46 0 3 $s =~ s/\A\+// ? :
60 0 28 if $self->care_child(\%args)
66 16 12 if ($value) { }
85 29 0 if $$ eq $self->pid
93 0 0 if $self->care_child(\%args)
105 0 96 if (exists $$opts{'default'} and not exists $$args{$key})
109 72 24 if (exists $$args{$key}) { }
112 24 0 if ($$opts{'optional'}) { }
122 0 1 if $self->care_child(\%args)
149 0 3 if (-d $self->message_dir)
152 0 0 unless open my $fh, '<', $fname
169 0 2 if $$self{'finished'}++
174 0 2 if ('Test::Pretty'->can('_subtest'))
189 0 0 unless open my $fh, '>>', $fname
197 25 0 if ($$ == $self->pid)