Branch Coverage

blib/lib/MySQL/Util/CLI.pm
Criterion Covered Total %
branch 0 192 0.0


line true false branch
124 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'userName'} ? :
0 0 if (exists $_{'userName'})
0 0 exists $_{'hosts'} ? :
0 0 if (exists $_{'hosts'})
0 0 exists $_{'keepHosts'} ? :
0 0 if (exists $_{'keepHosts'})
130 0 0 if ($hosts) { }
0 0 elsif ($keepHosts) { }
163 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'dbName'} ? :
0 0 if (exists $_{'dbName'})
0 0 exists $_{'ifNotExists'} ? :
166 0 0 if $ifNotExists
173 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'forUser'} ? :
0 0 if (exists $_{'forUser'})
0 0 exists $_{'forHost'} ? :
0 0 if (exists $_{'forHost'})
176 0 0 if ($forUser)
179 0 0 if $forHost
190 0 0 @_ ? :
0 0 if @_ != 0
201 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'userName'} ? :
0 0 if (exists $_{'userName'})
0 0 exists $_{'host'} ? :
0 0 if (exists $_{'host'})
215 0 0 if ($aref)
227 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'userName'} ? :
0 0 if (exists $_{'userName'})
0 0 exists $_{'hosts'} ? :
0 0 exists $_{'privileges'} ? :
0 0 if (exists $_{'privileges'})
0 0 exists $_{'dbName'} ? :
0 0 exists $_{'tables'} ? :
248 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'userName'} ? :
0 0 if (exists $_{'userName'})
0 0 exists $_{'hosts'} ? :
0 0 exists $_{'privileges'} ? :
0 0 if (exists $_{'privileges'})
0 0 exists $_{'dbName'} ? :
0 0 exists $_{'tables'} ? :
267 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'userName'} ? :
0 0 if (exists $_{'userName'})
0 0 exists $_{'userPass'} ? :
0 0 if (exists $_{'userPass'})
0 0 exists $_{'hosts'} ? :
270 0 0 unless ($self->userExists('userName', $userName, 'host', $host))
282 0 0 @_ ? :
294 0 0 @_ ? :
300 0 0 @_ ? :
0 0 if ($slice_length % 2 != 0)
0 0 if ($#_ == 0 and ref $_[0] eq 'HASH') { }
0 0 exists $_{'sql'} ? :
0 0 if (exists $_{'sql'})
0 0 exists $_{'bind'} ? :
309 0 0 if (not $self->dryRun)
314 0 0 @_ ? :
319 0 0 @_ ? :
324 0 0 @_ ? :
331 0 0 @_ ? :
333 0 0 if $ENV{'MYSQL_USER'}
334 0 0 if $ENV{'DBI_USER'}
335 0 0 if $ENV{'USER'}
339 0 0 @_ ? :
341 0 0 if $ENV{'MYSQL_PASS'}
342 0 0 if $ENV{'MYSQL_PWD'}
346 0 0 @_ ? :
348 0 0 if $ENV{'MYSQL_HOST'}
352 0 0 @_ ? :
354 0 0 if $ENV{'MYSQL_PORT'}
355 0 0 if $ENV{'MYSQL_TCP_PORT'}
359 0 0 @_ ? :
361 0 0 if $ENV{'MYSQL_DBNAME'}
362 0 0 if $ENV{'MYSQL_SCHEMA'}
366 0 0 @_ ? :
388 0 0 @_ ? :
396 0 0 @_ ? :