Branch Coverage

blib/lib/Gruntmaster/Data.pm
Criterion Covered Total %
branch 0 62 3.2


line true false branch
64 0 0 if (time - $name_cache_time{$table} > 5)
76 0 0 unless defined $el
77 0 0 if (ref $el eq 'ARRAY') { }
81 0 0 $object eq 'owner' ? :
82 0 0 if defined $el->{$object}
103 0 0 if $args{'solution'}
105 0 0 unless $args{'contest'} or $args{'private'}
106 0 0 if $args{'contest'}
107 0 0 if $args{'owner'}
109 0 0 $args{'contest'} ? :
115 0 0 if $contest
118 0 0 if @$limits
120 0 0 if ($contest)
144 0 0 unless $args{'private'}
154 0 0 $args{'page'} - 1 ? :
0 0 $args{'page'} < $pages ? :
156 0 0 wantarray ? :
161 0 0 if $ret->{'results'}
175 0 0 if $time > $totaltime
178 0 0 if $score < $mxscore * 3 / 10
199 0 0 if $time < 0
201 0 0 $job->{'result'} ? :
202 0 0 if $job->{'result_text'} =~ /^(\d+ )/su
206 0 0 unless $Gruntmaster::Data::b->{'score'} <=> $Gruntmaster::Data::a->{'score'}
216 0 0 if @st
227 0 0 $result ? :
255 0 0 unless $id
266 0 0 if $private
271 0 0 $args{'result'} ? :
275 0 0 unless eval { do { &db()->insert('problem_status', $status) } }
282 0 0 unless $ct->{'id'} and $time >= $ct->{'start'} and $time < $ct->{'stop'}