Branch Coverage

blib/lib/Gruntmaster/Data.pm
Criterion Covered Total %
branch 0 64 3.1


line true false branch
66 0 0 if (time - $name_cache_time{$table} > 5)
78 0 0 unless defined $el
79 0 0 if (ref $el eq 'ARRAY') { }
83 0 0 $object eq 'owner' ? :
84 0 0 if defined $el->{$object}
105 0 0 if $args{'solution'}
107 0 0 unless $args{'contest'} or $args{'private'}
108 0 0 if $args{'contest'}
109 0 0 if $args{'owner'}
111 0 0 $args{'contest'} ? :
117 0 0 if $contest
120 0 0 if @$limits
122 0 0 if ($contest)
146 0 0 unless $args{'private'}
156 0 0 $args{'page'} - 1 ? :
0 0 $args{'page'} < $pages ? :
158 0 0 wantarray ? :
163 0 0 if $ret->{'results'}
177 0 0 if $time > $totaltime
180 0 0 if $score < $mxscore * 3 / 10
204 0 0 if $time < 0
206 0 0 $job->{'result'} ? :
207 0 0 if $job->{'result_text'} =~ /^(\d+ )/su
211 0 0 unless $Gruntmaster::Data::b->{'score'} <=> $Gruntmaster::Data::a->{'score'}
221 0 0 if @st
232 0 0 $result ? :
266 0 0 unless $id
277 0 0 if $job->{'contest'}
278 0 0 if $private
283 0 0 $args{'result'} ? :
287 0 0 unless eval { do { &db()->insert('problem_status', $status) } }
294 0 0 unless $ct->{'id'} and $time >= $ct->{'start'} and $time < $ct->{'stop'}