Branch Coverage

blib/lib/Test/Kantan/Reporter/Spec.pm
Criterion Covered Total %
branch 9 36 25.0


line true false branch
31 0 3 $encoding =~ /utf-?8/i && !$ENV{'KANTAN_ASCII'} ? :
43 0 0 $self->color ? :
54 3 3 if (length $title > 0)
55 2 1 if $$self{'level'} <= 2
68 0 5 if ($orig_fail_cnt != $self->state->fail_cnt and @$messages)
85 0 0 if (length $title > 0)
133 0 2 if (not $self->state->is_passing or $ENV{'KANTAN_VERBOSE'})
134 0 0 if (@{$$self{'message_groups'};})
144 0 0 $i == @titles ? :
161 0 2 if ('Test::Builder'->can('new'))
162 0 0 unless ('Test::Builder'->new->is_passing)
168 0 2 $self->state->fail_cnt ? :
233 0 0 $Test::Kantan::Reporter::Spec::UTF8 ? :
256 0 0 $Test::Kantan::Reporter::Spec::UTF8 ? :
261 0 0 if (defined $self->description)
264 0 0 if (defined $self->diag)
288 0 0 $Test::Kantan::Reporter::Spec::UTF8 ? :
309 0 0 $Test::Kantan::Reporter::Spec::UTF8 ? :