Branch Coverage

blib/lib/Jorge/Generator/Model.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
59 0 0 unless @ARGV
67 0 0 unless GetOptions 'model=s', \$config{'_model'}, 'plural=s', \$config{'_plural'}, 'fields=s', \$config{'_fields'}, 'help', sub { pod2usage(); }
69 0 0 unless $config{'_model'} and $config{'_fields'}
78 0 0 unless $field and $value
82 0 0 unless grep {$_ eq $value;} @types or $its_a_class
87 0 0 if ($its_a_class)
102 0 0 if defined $config{'_classes'}
112 0 0 unless $config{$_} eq 'Timestamp'
186 0 0 unless open TEMPLATE, '>', $path