Branch Coverage

blib/lib/Metabrik/System/Libvirt.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
63 0 0 if ($line =~ /can be used/)
77 0 0 unless $self->brik_help_run_undef_arg("command", $command)
78 0 0 unless $self->brik_help_run_undef_arg("command", $driver)
81 0 0 if ($driver eq "vbox")
95 0 0 unless $self->brik_help_run_undef_arg("list", $driver)
99 0 0 unless my $lines = $self->command("list", $driver)
105 0 0 if ($toks[0] =~ /^\d+$/)
109 0 0 if (defined $id and defined $state and defined $name) { }
126 0 0 unless $self->brik_help_run_undef_arg("reboot", $name)
127 0 0 unless $self->brik_help_run_undef_arg("reboot", $driver)
143 0 0 unless $self->brik_help_run_undef_arg("start", $name)
144 0 0 unless $self->brik_help_run_undef_arg("start", $driver)
154 0 0 unless $self->brik_help_run_undef_arg("shutdown", $name)
155 0 0 unless $self->brik_help_run_undef_arg("shutdown", $driver)
171 0 0 unless $self->brik_help_run_undef_arg("save", $name)
172 0 0 unless $self->brik_help_run_undef_arg("save", $file)
173 0 0 unless $self->brik_help_run_undef_arg("save", $driver)
183 0 0 unless $self->brik_help_run_undef_arg("restore", $name)
184 0 0 unless $self->brik_help_run_undef_arg("restore", $file)
185 0 0 unless $self->brik_help_run_undef_arg("restore", $driver)