blib/lib/DBIx/Migration/Directories/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 22 | 59.0 |
line | true | false | branch |
---|---|---|---|
17 | 9 | 11 | if (ref $class) |
20 | 20 | 0 | if (my $self = $class->driver_new(%args)) { } |
52 | 40 | 0 | if (open my $fh, '<', $file) { } |
73 | 38 | 116 | if ($string =~ /^($number)$/) { } |
100 | 16 | elsif ($string =~ /^($number)-($number)$/) { } | |
92 | 36 | 95 | if (ref $query) { } |
99 | 0 | 95 | if ($@) { } |
5 | 90 | elsif (not $good) { } | |
119 | 0 | 0 | unless $$schemas{$schema} |
121 | 0 | 0 | if ($version) |
122 | 0 | 0 | unless $$schemas{$schema}{'version'} == $version |