Branch Coverage

blib/lib/App/Test/DWG/LibreDWG/JSON.pm
Criterion Covered Total %
branch 1 22 4.5


line true false branch
64 1 0 if (not &getopts("d:hv:", $self->{'_opts'}) or @ARGV < 1 or $self->{'_opts'}{'h'})
78 0 0 if (defined $tmp_dir and not -d $tmp_dir)
81 0 0 unless (defined $tmp_dir and -d $tmp_dir)
92 0 0 unless (exists $REL{$magic})
104 0 0 if ($self->_exec($dwg_to_json_first, "dwg_to_json"))
111 0 0 if ($self->_exec($json_to_dwg_first, "json_to_dwg"))
118 0 0 if ($self->_exec($dwg_to_json_second, "dwg_to_json_second"))
136 0 0 if (defined $log_prefix)
137 0 0 if ($stdout)
142 0 0 if ($stderr)
149 0 0 if ($exit_code)