Branch Coverage

blib/lib/App/XML/DocBook/Docmake.pm
Criterion Covered Total %
branch 39 62 62.9


line true false branch
96 0 12 unless ($ret)
100 0 12 if ($help)
104 0 12 if ($man)
112 6 0 if ($param =~ /\A([^=]+)=(.*)\z/msu) { }
122 8 4 $self->_output_path($output_path) ? :
135 12 0 if ($mode_struct) { }
154 0 12 if (not defined $input_path || $mode_struct->{'standalone'}) { }
173 0 0 if ($self->_verbose)
187 0 0 unless (defined $exit_code and not $exit_code)
189 0 0 if ($stderr =~ /Attempt to load network entity/u)
191 0 0 if ($args->{'xsltproc'})
251 0 0 if (not @stat2) { }
0 0 elsif (not @stat1) { }
291 0 0 if ($self->_trailing_slash)
306 5 1 if ($self->_trailing_slash)
339 6 10 if (defined $args->{'output_path'})
344 0 16 unless (defined $output_path)
351 10 6 if ($self->_is_xhtml)
353 8 2 if ($self->_trailing_slash)
355 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 '' ? :
415 4 8 unless (defined $make_output_file)
420 10 2 if (not $self->_make_like or $self->_should_update_output({'input', $input_file, 'output', $make_output_file}))
438 16 2 $self->_has_output ? :
473 1 8 if (defined $self->_stylesheet)
480 1 8 if (defined $self->_base_path)
511 1 3 unless (defined $xslt_output_path)
517 1 2 if (not $xslt_output_path =~ /\./msu) { }