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
440 0 0 0 $row->{'version'} and $prefs->{'version'}
0 0 0 $row->{'version'} and $prefs->{'version'} and $prefs->{'version'} ne 'ALL'
445 0 0 0 @vers and $vers[0][0] ne $row->{'version'}
455 0 0 0 $row->{'platform'} and $prefs->{'platform'}
0 0 0 $row->{'platform'} and $prefs->{'platform'} and $prefs->{'platform'} ne 'ALL'
460 0 0 0 $1 and $1 eq 'NOT'
470 0 0 0 $row->{'perl'} and $prefs->{'perl'}
0 0 0 $row->{'perl'} and $prefs->{'perl'} and $prefs->{'perl'} ne 'ALL'
480 0 0 0 $1 and $1 eq 'NOT'
482 0 0 0 $perlv =~ /$prefs->{'perl'}/ and $v =~ /$prefs->{'perl'}/
491 0 0 0 not $prefs->{'patches'} and $row->{'perl'} =~ /(RC\d+|patch)/
705 0 0 0 $date[4] == 2 and $date[5] % 4
734 0 0 0 $author and $dist
838 0 0 0 $encoding and $encoding eq 'base64'
995 0 0 0 $file and -f $file
1030 0 0 0 $creator and $self->{'testers'}{$creator}
1044 0 0 0 $dist and $vers
1051 0 0 0 $dist and $vers
1053 0 0 0 $AUTHORS{$dist} and $AUTHORS{$dist}{$vers}

or 2 conditions

line l !l condition
400 0 0 $author || ''
408 0 0 $row->{'version'} ||= ''
409 0 0 $row->{'platform'} ||= ''
410 0 0 $row->{'perl'} ||= ''
413 0 0 $self->_get_prefs($author) || (next)
426 0 0 $prefs->{'ignored'} || 0
430 0 0 $prefs->{'grades'}{$row->{'state'}} || 'undef'
431 0 0 $prefs->{'grades'}{'ALL'} || 'undef'
604 0 0 $self->{'counts'}{$_} ||= 0
723 0 0 $report[0][0] || 0
756 0 0 $auth[0]{'active'} || 0
761 0 0 $rows[0]{'active'} || 0
772 0 0 $dist ||= '-'
794 0 0 $row->{'grade'} ||= 'FAIL'
935 0 0 $parms->{'subject'} || 'CPAN Testers Daily Reports'

or 3 conditions

line l !l&&r !l&&!r condition
282 0 1 0 $options{$_} ||= $hash{$_}
343 0 0 0 $self->{'testers'}{$tester->{'creator'}}{'name'} ||= $tester->{'fullname'}
344 0 0 0 $self->{'testers'}{$tester->{'creator'}}{'email'} ||= $tester->{'email'}
432 0 0 0 $prefs->{'grades'}{$row->{'state'}} or $prefs->{'grades'}{'ALL'}
485 0 0 0 $perlv =~ /$prefs->{'perl'}/ or $v =~ /$prefs->{'perl'}/
507 0 0 0 $row->{'guid'} || $row->{'id'}
535 0 0 0 not $prefs->{'active'} or $prefs->{'active'} == 0
694 0 0 0 $mode eq 'daily' or $mode eq 'reports'
705 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
934 0 0 0 $parms->{'from'} || $FROM
954 0 0 0 $parms->{'name'} ||= $parms->{'author'}
1022 0 0 0 $self->{'testers'}{$row->{'resource'}}{'name'} ||= $row->{'fullname'}
1023 0 0 0 $self->{'testers'}{$row->{'resource'}}{'email'} ||= $row->{'email'}
1069 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content