Branch Coverage

blib/lib/Pod/Perldoc/ToMan.pm
Criterion Covered Total %
branch 12 78 15.3


line true false branch
51 0 0 if ($self->__nroffer) { }
66 0 0 if ($self->is_openbsd or $self->is_freebsd or $self->is_bitrig) { }
78 0 0 wantarray ? :
101 10 12 if ($output =~ /\bcolumns\s+(\d+)/) { }
6 6 elsif ($output =~ /;\s*(\d+)\s+columns;/) { }
109 14 10 unless defined $ENV{'MANWIDTH'}
111 6 4 unless ($ENV{'MANWIDTH'} =~ /\A\d+\z/)
116 0 4 if ($ENV{'MANWIDTH'} == 0)
121 4 0 if ($ENV{'MANWIDTH'} =~ /\A(\d+)\z/)
131 3 9 unless $_[0]->_get_columns_from_manwidth or $_[0]->_get_columns_from_stty
168 0 0 unless length $self->{'_text_ref'}
170 0 0 if $self->debugging
178 0 0 unless $fh
191 0 0 unless $self->_is_groff
201 0 0 if ($version lt $minimum_groff_version)
215 0 0 if $self->_is_mandoc
224 0 0 if ($self->_is_roff and -t STDOUT and my($cols) = $self->_get_columns)
226 0 0 $c > $cols - 2 ? :
227 0 0 if $cols > 80
234 0 0 if $self->_is_roff and $self->is_cygwin
242 0 0 if ($self->_is_nroff) { }
0 0 elsif ($self->_have_groff_with_utf8) { }
0 0 elsif ($self->_is_ebcdic) { }
0 0 elsif ($self->_have_mandoc_with_utf8) { }
0 0 elsif ($self->_is_mandoc) { }
253 0 0 unless $self->_is_nroff
289 0 0 unless $render
292 0 0 if ($switches)
336 0 0 unless syswrite $writer, ${$self->{'_text_ref'};}, $chunk_size, $offset
341 0 0 unless $selector->can_read(0.01)
361 0 0 if ($?)
368 0 0 if (my $err = $?)
380 0 0 length ${$self->{'_text_ref'};} ? :
393 0 0 unless $result == 1
397 0 0 unless print {$outfh;} $output
424 0 0 if ($self->is_hpux)
430 0 0 if ($self->{'__filter_nroff'}) { }
472 0 0 unless $self->_have_groff_with_utf8
482 0 0 if $self->_unicode_already_handled