Branch Coverage

blib/lib/Metabrik/Forensic/Scalpel.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
57 0 0 unless $self->brik_help_run_undef_arg("generate_conf", $extensions)
58 0 0 unless $self->brik_help_run_invalid_arg("generate_conf", $extensions, "ARRAY")
59 0 0 unless $self->brik_help_run_undef_arg("generate_conf", $file)
61 0 0 unless my $sf = "Metabrik::System::File"->new_from_brik_init($self)
62 0 0 unless $sf->remove($file)
132 0 0 unless exists $wanted->{$ext}
141 0 0 unless my $ft = "Metabrik::File::Text"->new_from_brik_init($self)
142 0 0 unless $ft->write(\@lines, $file)
152 0 0 unless $self->brik_help_run_undef_arg("scan", $file)
159 0 0 unless $self->brik_help_run_file_not_found("scan", $file)
160 0 0 unless $self->brik_help_run_file_not_found("scan", $conf)
162 0 0 if (not -d $output) { }
165 0 0 unless $self->system($cmd)
171 0 0 unless my $ff = "Metabrik::File::Find"->new_from_brik_init($self)
172 0 0 unless my $files = $ff->files($output)
184 0 0 unless my $ft = "Metabrik::File::Type"->new_from_brik_init($self)
191 0 0 if (exists $ext->{$this}) { }
192 0 0 unless my $check = $ft->get_mime_type($file)
193 0 0 if ($check eq $ext->{$this}) { }