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 61 if $self->care_child(\%args)
66 39 22 if ($value) { }
85 62 0 if $$ eq $self->pid
93 0 0 if $self->care_child(\%args)
105 0 195 if (exists $$opts{'default'} and not exists $$args{$key})
109 171 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 58 0 if ($$ == $self->pid)