Branch Coverage

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


line true false branch
65 1 0 if (not &getopts("d:hiv:", $self->{'_opts'}) or @ARGV < 1 or $self->{'_opts'}{'h'})
80 0 0 if (defined $tmp_dir and not -d $tmp_dir)
83 0 0 unless (defined $tmp_dir and -d $tmp_dir)
94 0 0 unless (exists $REL{$magic})
109 0 0 if ($self->_exec($dwg_to_json_first, "dwg_to_json"))
116 0 0 if ($self->_exec($json_to_dwg_first, "json_to_dwg"))
123 0 0 if ($self->_exec($dwg_to_json_second, "dwg_to_json_second"))
141 0 0 if (defined $log_prefix)
142 0 0 if ($stdout)
147 0 0 if ($stderr)
153 0 0 unless ($self->{'_opts'}{'i'})
154 0 0 if (my(@num) = $stderr =~ /ERROR/gms)
161 0 0 if ($exit_code)