Branch Coverage

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


line true false branch
19 0 0 unless defined $id
21 0 0 if ref $migration_list ne 'ARRAY'
26 0 0 if ref $e
37 0 0 if ($sql =~ /^CREATE\s+TABLE\sIF\sNOT\sEXISTS\s(?([\w]+))/i or $sql =~ /^CREATE\s+TABLE\s(?
([\w]+))/i)
43 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') { }
61 0 0 if ($file_version > int $version_id) { }
63 0 0 if (defined $sql)
88 0 0 unless defined $id
92 0 0 if ref $e
101 0 0 if ($sql =~ /^CREATE\s+TABLE\sIF\sNOT\sEXISTS\s(?([\w]+))/i or $sql =~ /^CREATE\s+TABLE\s(?
([\w]+))/i)
107 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 'insert') { }
125 0 0 if ($file_version > int $version_id) { }
127 0 0 if (defined $sql)
143 0 0 if ref $e
152 0 0 if (defined $sql)