Branch Coverage

blib/lib/Perl/Tidy/Debugger.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
34 0 2 unless ($fh)
47 2 0 if ($self->{'_debug_file_opened'})
50 0 0 if ($fh and $fh->can("close") and $debug_file ne "-" and not ref $debug_file)
55 0 0 unless $fh->close
85 2 5 unless ($self->{'_debug_file_opened'})
93 2 18 if ($rtoken_type->[$j] eq 'k') { }
106 0 20 if ($type_str eq " ")
112 19 1 if (length $type_str == 1)