Branch Coverage

blib/lib/DBIx/Migration/CLI.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
32 1 11 if defined $exitval
34 1 10 if ($opts->{'V'}) { }
1 9 elsif ($opts->{'h'}) { }
40 1 8 unless @ARGV
44 0 8 if exists $opts->{'v'}
50 7 0 unless can_load("modules", {$class, undef})
64 3 4 if (@ARGV) { }
67 2 1 @ARGV ? :
2 1 $m->migrate(@ARGV ? shift @ARGV : ()) ? :
70 2 1 defined $version ? :
78 0 8 if defined $log_any_adapter_entry
101 4 2 exists $args{'-message'} ? :
2 4 $args{'-exitval'} == 0 ? :