Branch Coverage

blib/lib/App/XML/DocBook/Docmake.pm
Criterion Covered Total %
branch 37 56 66.0


line true false branch
114 0 12 unless ($ret)
118 0 12 if ($help)
122 0 12 if ($man)
130 6 0 if ($param =~ /\A([^=]+)=(.*)\z/msu) { }
140 8 4 $self->_output_path($output_path) ? :
153 12 0 if ($mode_struct) { }
172 0 12 if (not defined $input_path || $mode_struct->{'standalone'}) { }
191 0 0 if ($self->_verbose)
205 0 0 unless (defined $exit_code and not $exit_code)
207 0 0 if ($stderr =~ /Attempt to load network entity/u)
209 0 0 if ($args->{'xsltproc'})
293 0 0 if ($self->_trailing_slash)
308 5 1 if ($self->_trailing_slash)
340 6 10 if (defined $args->{'output_path'})
345 0 16 unless (defined $output_path)
352 10 6 if ($self->_is_xhtml)
354 8 2 if ($self->_trailing_slash)
356 8 0 unless ($output_path =~ m[/\z]u)
374 5 3 if ($self->_is_xhtml)
400 10 0 $_->is_input ? :
9 10 $_->is_output ? :
55 19 ref $_ eq '' ? :
414 10 2 if (not $self->_make_like or $self->_should_update_output({"input", $input_fn, "output", $make_output_fn}))
432 16 2 $self->_has_output ? :
466 1 8 if (defined $self->_stylesheet)
473 1 8 if (defined $self->_base_path)
503 1 3 unless (defined $xslt_output_path)
509 1 2 if (not $xslt_output_path =~ /\./msu) { }