Branch Coverage

blib/lib/App/XML/DocBook/Docmake.pm
Criterion Covered Total %
branch 39 58 67.2


line true false branch
117 0 13 unless ($ret)
121 0 13 if ($help)
125 0 13 if ($man)
133 7 0 if ($param =~ /\A([^=]+)=(.*)\z/msu) { }
143 9 4 $self->_output_path($output_path) ? :
157 13 0 if ($mode_struct) { }
176 0 13 if (not defined $input_path || $mode_struct->{'standalone'}) { }
195 0 0 if ($self->_verbose)
209 0 0 unless (defined $exit_code and not $exit_code)
211 0 0 if ($stderr =~ /Attempt to load network entity/u)
213 0 0 if ($args->{'xsltproc'})
297 0 0 if ($self->_trailing_slash)
312 6 1 if ($self->_trailing_slash)
327 1 9 $self->_use_xsl_ns ? :
346 6 12 if (defined $args->{'output_path'})
351 0 18 unless (defined $output_path)
358 12 6 if ($self->_is_xhtml)
360 10 2 if ($self->_trailing_slash)
362 10 0 unless ($output_path =~ m[/\z]u)
380 6 3 if ($self->_is_xhtml)
406 11 0 $_->is_input ? :
10 11 $_->is_output ? :
62 21 ref $_ eq '' ? :
420 11 2 if (not $self->_make_like or $self->_should_update_output({"input", $input_fn, "output", $make_output_fn}))
438 18 2 $self->_has_output ? :
472 1 9 if (defined $self->_stylesheet)
479 1 9 if (defined $self->_base_path)
509 1 3 unless (defined $xslt_output_path)
515 1 2 if (not $xslt_output_path =~ /\./msu) { }