Branch Coverage

lib/Mail/Toaster/Ezmlm.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
27 0 0 if defined $p{'test_ok'}
33 0 0 if (vpopmail::vauth_user('postmaster', $domain, $password, undef))
67 0 0 unless (-d $dir and -r $dir)
111 0 0 unless (-d $dir)
117 0 0 if $verbose
119 0 0 if $verbose
122 0 0 unless -d $all
125 0 0 unless -d $second
126 0 0 if ($second =~ /subscribers$/) { }
127 0 0 if $verbose
129 0 0 if $verbose
133 0 0 if $verbose
138 0 0 if $verbose
154 0 0 if defined $p{'test_ok'}
156 0 0 unless my $logo = $conf->{'web_logo_url'}
195 0 0 unless ($list_sel)
196 0 0 unless ($action)
216 0 0 if ($domain and $password) { }
217 0 0 if $verbose
221 0 0 if ($authed)
223 0 0 unless $ezlists
227 0 0 if $key
242 0 0 if ($action and $list_sel) { }
243 0 0 unless ($authed)
249 0 0 if $verbose
255 0 0 unless $self->dir_check('dir', $list_dir, 'br', $br, 'verbose', $verbose)
258 0 0 if ($action eq 'list') { }
0 0 elsif ($action eq 'add') { }
263 0 0 if $verbose
291 0 0 if defined $Mail::Toaster::Ezmlm::opt_v
295 0 0 if $Mail::Toaster::Ezmlm::opt_d
297 0 0 if defined $p{'test_ok'}
300 0 0 unless ($list_dir)
304 0 0 unless $self->dir_check('dir', $list_dir, 'br', $br, 'verbose', $verbose)
306 0 0 if ($Mail::Toaster::Ezmlm::opt_a and $Mail::Toaster::Ezmlm::opt_a eq 'list')
312 0 0 unless ($Mail::Toaster::Ezmlm::opt_a and $Mail::Toaster::Ezmlm::opt_a eq 'add')
322 0 0 unless (-e $list_file)
327 0 0 if (-r $list_file) { }
359 0 0 unless (-d $list_dir)
360 0 0 if $verbose
368 0 0 unless ($requested and $requested->[0])
382 0 0 unless ('Email::Valid'->address($addy))
389 0 0 if ($list->issub($addy)) { }
395 0 0 if ($list->sub($addy)) { }
425 0 0 unless (-d $list_dir)
426 0 0 if $verbose
429 0 0 if $verbose
436 0 0 if $verbose