Branch Coverage

lib/MySQL/Admin.pm
Criterion Covered Total %
branch 3 76 3.9


line true false branch
154 2 0 $p[0] ? :
179 0 0 param('include') ? :
0 0 $p[0] ? :
180 0 0 if (defined $qstring)
182 0 0 if (defined $MySQL::Admin::m_hrParams->{'file'} and defined $MySQL::Admin::m_hrParams->{'sub'})
183 0 0 if (-e $MySQL::Admin::m_hrParams->{'file'}) { }
185 0 0 if $MySQL::Admin::m_hrParams->{'sub'} ne 'main'
186 0 0 if $@
190 0 0 if $$MySQL::Admin::m_hrActions{$MySQL::Admin::m_hrSettings->{'defaultAction'}}{'sub'} ne 'main'
191 0 0 if $@
207 0 0 $p[0] ? :
0 0 param('action') ? :
208 0 0 if (defined $MySQL::Admin::m_hrActions->{$m_hrAction})
209 0 0 if (defined $MySQL::Admin::m_hrActions->{$m_hrAction}{'file'} and defined $MySQL::Admin::m_hrActions->{$m_hrAction}{'sub'})
210 0 0 if (-e $MySQL::Admin::m_hrParams->{'file'}) { }
213 0 0 if $MySQL::Admin::m_hrActions->{$m_hrAction}{'sub'} ne 'main'
214 0 0 if $@
219 0 0 if $$MySQL::Admin::m_hrActions{$MySQL::Admin::m_hrSettings->{'defaultAction'}}{'sub'} ne 'main'
220 0 0 if $@
245 0 0 $par->{'user'} ? :
248 0 0 $par->{'action'} ? :
262 0 0 defined $par->{'validity'} ? :
285 0 0 if (ref $p[0] eq 'HASH') { }
288 0 0 param('include') ? :
289 0 0 $p[0] ? :
309 0 0 $MySQL::Admin::m_qy->{$ua}{$entry}{'timestamp'} ? :
313 0 0 defined $MySQL::Admin::m_qy->{$ua}{$entry}{'validity'} ? :
314 0 0 if $t > $hold
334 0 0 if (defined $p[0] and $p[0] =~ /(\d+)/) { }
355 0 0 defined $ENV{'HTTP_ACCEPT_LANGUAGE'} ? :
360 0 0 $a[$i] =~ s/(\w\w).*/$1/ ? :
361 0 0 if (defined $MySQL::Admin::m_hrLng->{$lng}{$key})
367 0 0 unless defined $MySQL::Admin::m_hrLng->{'en'}{$key}
368 0 0 unless defined $MySQL::Admin::m_hrLng->{'de'}{$key}
371 0 0 if $MySQL::Admin::m_hrSettings->{'saveTranslate'}
396 0 0 if ($MySQL::Admin::m_nUplod_bytes <= $MySQL::Admin::m_hrSettings->{'uploads'}{'maxlength'}) { }
413 0 2 if defined $_[0] and not ref $_[0] and $_[0] eq 'MySQL::Admin'
414 0 2 defined $_[0] && (ref $_[0] eq 'MySQL::Admin' || UNIVERSAL::isa($_[0], 'MySQL::Admin')) ? :