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
433 0 0 0 $row->{'version'} and $prefs->{'version'}
0 0 0 $row->{'version'} and $prefs->{'version'} and $prefs->{'version'} ne 'ALL'
438 0 0 0 @vers and $vers[0][0] ne $row->{'version'}
448 0 0 0 $row->{'platform'} and $prefs->{'platform'}
0 0 0 $row->{'platform'} and $prefs->{'platform'} and $prefs->{'platform'} ne 'ALL'
453 0 0 0 $1 and $1 eq 'NOT'
463 0 0 0 $row->{'perl'} and $prefs->{'perl'}
0 0 0 $row->{'perl'} and $prefs->{'perl'} and $prefs->{'perl'} ne 'ALL'
473 0 0 0 $1 and $1 eq 'NOT'
475 0 0 0 $perlv =~ /$prefs->{'perl'}/ and $v =~ /$prefs->{'perl'}/
484 0 0 0 not $prefs->{'patches'} and $row->{'perl'} =~ /(RC\d+|patch)/
698 0 0 0 $date[4] == 2 and $date[5] % 4
727 0 0 0 $author and $dist
831 0 0 0 $encoding and $encoding eq 'base64'
958 0 0 0 $file and -f $file
993 0 0 0 $creator and $self->{'testers'}{$creator}
1007 0 0 0 $dist and $vers
1014 0 0 0 $dist and $vers
1016 0 0 0 $AUTHORS{$dist} and $AUTHORS{$dist}{$vers}

or 2 conditions

line l !l condition
393 0 0 $author || ''
401 0 0 $row->{'version'} ||= ''
402 0 0 $row->{'platform'} ||= ''
403 0 0 $row->{'perl'} ||= ''
406 0 0 $self->_get_prefs($author) || (next)
419 0 0 $prefs->{'ignored'} || 0
423 0 0 $prefs->{'grades'}{$row->{'state'}} || 'undef'
424 0 0 $prefs->{'grades'}{'ALL'} || 'undef'
597 0 0 $self->{'counts'}{$_} ||= 0
716 0 0 $report[0][0] || 0
749 0 0 $auth[0]{'active'} || 0
754 0 0 $rows[0]{'active'} || 0
765 0 0 $dist ||= '-'
787 0 0 $row->{'grade'} ||= 'FAIL'
898 0 0 $parms->{'subject'} || 'CPAN Testers Daily Reports'

or 3 conditions

line l !l&&r !l&&!r condition
281 0 1 0 $options{$_} ||= $hash{$_}
342 0 0 0 $self->{'testers'}{$tester->{'creator'}}{'name'} ||= $tester->{'fullname'}
343 0 0 0 $self->{'testers'}{$tester->{'creator'}}{'email'} ||= $tester->{'email'}
425 0 0 0 $prefs->{'grades'}{$row->{'state'}} or $prefs->{'grades'}{'ALL'}
478 0 0 0 $perlv =~ /$prefs->{'perl'}/ or $v =~ /$prefs->{'perl'}/
500 0 0 0 $row->{'guid'} || $row->{'id'}
528 0 0 0 not $prefs->{'active'} or $prefs->{'active'} == 0
687 0 0 0 $mode eq 'daily' or $mode eq 'reports'
698 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
897 0 0 0 $parms->{'from'} || $FROM
917 0 0 0 $parms->{'name'} ||= $parms->{'author'}
985 0 0 0 $self->{'testers'}{$row->{'resource'}}{'name'} ||= $row->{'fullname'}
986 0 0 0 $self->{'testers'}{$row->{'resource'}}{'email'} ||= $row->{'email'}
1032 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content