Branch Coverage

blib/lib/Metabrik/Server/Tor.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
82 0 0 unless ($conf =~ m[^/])
86 0 0 unless $self->brik_help_run_undef_arg("generate_conf", $conf)
96 0 0 unless my $sf = "Metabrik::System::File"->new_from_brik_init($self)
125 0 0 unless my $ft = "Metabrik::File::Text"->new_from_brik_init($self)
126 0 0 unless $ft->write($data, $conf)
129 0 0 unless $sf->chmod($datadir, "0700")
139 0 0 unless $self->brik_help_run_undef_arg("start", $conf)
144 0 0 unless ($conf =~ m[^/])
159 0 0 unless ($pidfile =~ m[^/])
163 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
164 0 0 unless $sp->kill_from_pidfile($pidfile)
175 0 0 unless ($pidfile =~ m[^/])
179 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
194 0 0 unless my $cw = "Metabrik::Client::Www"->new_from_brik_init($self)
195 0 0 unless my $get = $cw->get("http://torstatus.blutmagie.de/ip_list_exit.php/Tor_ip_list_EXIT.csv")