Branch Coverage

blib/lib/MySQL/Util/CLI.pm
Criterion Covered Total %
branch 0 168 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
191 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'})
205 0 0 if ($aref)
217 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'} ? :
236 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'} ? :
239 0 0 unless ($self->userExists('userName', $userName, 'host', $host))
251 0 0 @_ ? :
263 0 0 @_ ? :
269 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'} ? :
278 0 0 if (not $self->dryRun)
283 0 0 @_ ? :
288 0 0 @_ ? :
293 0 0 @_ ? :
300 0 0 @_ ? :
302 0 0 if $ENV{'MYSQL_USER'}
303 0 0 if $ENV{'DBI_USER'}
304 0 0 if $ENV{'USER'}
308 0 0 @_ ? :
310 0 0 if $ENV{'MYSQL_PASS'}
311 0 0 if $ENV{'MYSQL_PWD'}
315 0 0 @_ ? :
317 0 0 if $ENV{'MYSQL_HOST'}
321 0 0 @_ ? :
323 0 0 if $ENV{'MYSQL_PORT'}
324 0 0 if $ENV{'MYSQL_TCP_PORT'}
328 0 0 @_ ? :
330 0 0 if $ENV{'MYSQL_DBNAME'}
331 0 0 if $ENV{'MYSQL_SCHEMA'}
335 0 0 @_ ? :
357 0 0 @_ ? :
365 0 0 @_ ? :