Branch Coverage

blib/lib/Metabrik/Remote/Windiff.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
53 0 0 unless $self->brik_help_run_undef_arg("execute", $file)
62 0 0 unless $self->brik_help_run_undef_arg("execute", $command)
64 0 0 unless my $rw = "Metabrik::Remote::Winexe"->new_from_brik_init($self)
76 0 0 unless $self->brik_help_run_undef_arg("restart", $vm)
78 0 0 unless ($vm =~ /^[-a-z0-9]+$/)
82 0 0 unless my $sv = "Metabrik::System::Virtualbox"->new_from_brik_init($self)
84 0 0 unless $sv->restart($vm)
94 0 0 unless $self->brik_help_run_undef_arg("snapshot", $vm)
96 0 0 unless ($vm =~ /^[-a-z0-9]+$/)
100 0 0 unless my $sv = "Metabrik::System::Virtualbox"->new_from_brik_init($self)
105 0 0 unless my $elf = $sv->dumpvmcore($vm)
109 0 0 unless my $vol = $sv->extract_memdump_from_dumpguestcore($elf, $output)
120 0 0 unless $self->brik_help_run_undef_arg("process_diff", $snap1)
121 0 0 unless $self->brik_help_run_undef_arg("process_diff", $snap2)
123 0 0 unless my $fv = "Metabrik::Forensic::Volatility"->new_from_brik_init($self)
128 0 0 unless my $pslist1 = $fv->pslist($snap1)
132 0 0 unless my $pslist2 = $fv->pslist($snap2)
143 0 0 unless (exists $pid{$this->{'pid'}})
157 0 0 unless $self->brik_help_run_undef_arg("netstat_diff", $snap1)
158 0 0 unless $self->brik_help_run_undef_arg("netstat_diff", $snap2)
160 0 0 unless my $fv = "Metabrik::Forensic::Volatility"->new_from_brik_init($self)
165 0 0 unless my $netscan1 = $fv->netscan($snap1)
169 0 0 unless my $netscan2 = $fv->netscan($snap2)
178 0 0 unless my $na = "Metabrik::Network::Address"->new_from_brik_init($self)
182 0 0 unless (exists $pid{$this->{'pid'}})
184 0 0 if ($na->is_ip($address) and not $address =~ /^0\.0\.0\.0$/)