Branch Coverage

lib/Mojolicious/Command/sql.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
20 0 0 unless defined $id
23 0 0 if ref $e
32 0 0 if ($sql =~ /^CREATE\s+TABLE\sIF\sNOT\sEXISTS\s(?([\w]+))/i or $sql =~ /^CREATE\s+TABLE\s(?
([\w]+))/i)
38 0 0 if (defined $action and $action eq 'delete') { }
0 0 elsif (defined $action and $action eq 'create') { }
0 0 elsif (defined $action and $action eq 'update') { }
0 0 elsif (defined $action and $action eq 'fake' and $self->app->mode eq 'development') { }
56 0 0 if ($file_version > int $version_id) { }
58 0 0 if (defined $sql)
74 0 0 if ref $e
83 0 0 if (defined $sql)