Condition Coverage

blib/lib/CPAN/Testers/WWW/Reports/Mailer.pm
Criterion Covered Total %
condition 1 138 0.7


and 3 conditions

line !l l&&!r l&&r condition
431 0 0 0 $row->{'version'} and $prefs->{'version'}
0 0 0 $row->{'version'} and $prefs->{'version'} and $prefs->{'version'} ne 'ALL'
436 0 0 0 @vers and $vers[0][0] ne $row->{'version'}
446 0 0 0 $row->{'platform'} and $prefs->{'platform'}
0 0 0 $row->{'platform'} and $prefs->{'platform'} and $prefs->{'platform'} ne 'ALL'
451 0 0 0 $1 and $1 eq 'NOT'
461 0 0 0 $row->{'perl'} and $prefs->{'perl'}
0 0 0 $row->{'perl'} and $prefs->{'perl'} and $prefs->{'perl'} ne 'ALL'
471 0 0 0 $1 and $1 eq 'NOT'
473 0 0 0 $perlv =~ /$prefs->{'perl'}/ and $v =~ /$prefs->{'perl'}/
482 0 0 0 not $prefs->{'patches'} and $row->{'perl'} =~ /(RC\d+|patch)/
696 0 0 0 $date[4] == 2 and $date[5] % 4
725 0 0 0 $author and $dist
829 0 0 0 $encoding and $encoding eq 'base64'
956 0 0 0 $file and -f $file
991 0 0 0 $creator and $self->{'testers'}{$creator}
1005 0 0 0 $dist and $vers
1012 0 0 0 $dist and $vers
1014 0 0 0 $AUTHORS{$dist} and $AUTHORS{$dist}{$vers}

or 2 conditions

line l !l condition
391 0 0 $author || ''
399 0 0 $row->{'version'} ||= ''
400 0 0 $row->{'platform'} ||= ''
401 0 0 $row->{'perl'} ||= ''
404 0 0 $self->_get_prefs($author) || (next)
417 0 0 $prefs->{'ignored'} || 0
421 0 0 $prefs->{'grades'}{$row->{'state'}} || 'undef'
422 0 0 $prefs->{'grades'}{'ALL'} || 'undef'
595 0 0 $self->{'counts'}{$_} ||= 0
714 0 0 $report[0][0] || 0
747 0 0 $auth[0]{'active'} || 0
752 0 0 $rows[0]{'active'} || 0
763 0 0 $dist ||= '-'
785 0 0 $row->{'grade'} ||= 'FAIL'
896 0 0 $parms->{'subject'} || 'CPAN Testers Daily Reports'

or 3 conditions

line l !l&&r !l&&!r condition
279 0 1 0 $options{$_} ||= $hash{$_}
340 0 0 0 $self->{'testers'}{$tester->{'creator'}}{'name'} ||= $tester->{'fullname'}
341 0 0 0 $self->{'testers'}{$tester->{'creator'}}{'email'} ||= $tester->{'email'}
423 0 0 0 $prefs->{'grades'}{$row->{'state'}} or $prefs->{'grades'}{'ALL'}
476 0 0 0 $perlv =~ /$prefs->{'perl'}/ or $v =~ /$prefs->{'perl'}/
498 0 0 0 $row->{'guid'} || $row->{'id'}
526 0 0 0 not $prefs->{'active'} or $prefs->{'active'} == 0
685 0 0 0 $mode eq 'daily' or $mode eq 'reports'
696 0 0 0 $date[3] == 4 or $date[3] == 6
0 0 0 $date[3] == 4 or $date[3] == 6 or $date[3] == 9
0 0 0 $date[3] == 4 or $date[3] == 6 or $date[3] == 9 or $date[3] == 11
895 0 0 0 $parms->{'from'} || $FROM
915 0 0 0 $parms->{'name'} ||= $parms->{'author'}
983 0 0 0 $self->{'testers'}{$row->{'resource'}}{'name'} ||= $row->{'fullname'}
984 0 0 0 $self->{'testers'}{$row->{'resource'}}{'email'} ||= $row->{'email'}
1027 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content