Condition Coverage

blib/lib/CGI/Application/MailPage.pm
Criterion Covered Total %
condition 33 51 64.7


and 3 conditions

line !l l&&!r l&&r condition
108 1 0 4 $err_msgs and ref $err_msgs eq 'HASH'
133 21 1 1 $self->param('max_emails_per_request') and scalar @emails > $self->param('max_emails_per_request')
227 18 0 2 $self->param('acceptable_domains') and ref $self->param('acceptable_domains') eq 'ARRAY'
18 0 2 $self->param('acceptable_domains') and ref $self->param('acceptable_domains') eq 'ARRAY' and $page =~ m[^https?://([^/:]+)]
284 10 0 7 $self->param('remote_fetch') && $page =~ m[^https?://]
286 3 0 7 -e $filename and -r _
3 0 7 -e $filename and -r _ and -s _
294 0 7 0 defined $file and length $file
349 2 0 3 $self->param('remote_fetch') and $page =~ m[^https?://]
412 1 0 1 $self->param('remote_fetch') and $page =~ m[^https?://]
447 0 0 0 defined $smtp and UNIVERSAL::isa($smtp, 'Net::SMTP')
719 3 0 3 $self->param('remote_fetch') and $page =~ m[^https?://]
746 156 498 6 ref $node and $node->tag eq 'head'

or 2 conditions

line l !l condition
252 3 1 $last_time ||= 0
253 3 1 $count ||= 0
327 14 0 $ENV{'HTTP_X_FORWARDED_FOR'} || $ENV{'REMOTE_ADDR'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
31 25 0 0 defined $self->param('document_root') or $self->param('remote_fetch')
184 4 0 20 $results->has_invalid or $results->has_missing