lib/ActiveRecord/Simple/Migration.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 1 | unless open my $fh_up, '>', "$num-UP.sql" |
17 | 0 | 1 | unless open my $fh_dn, '>', "$num-DN.sql" |
27 | 0 | 1 | unless $dbh and $num |
28 | 0 | 1 | unless my $sql = _slurp_file("$num-DN.sql") |
36 | 0 | 1 | unless $dbh and $num |
37 | 0 | 1 | unless my $sql = _slurp_file("$num-UP.sql") |
45 | 0 | 2 | unless -e $file_path |