Branch Coverage

blib/lib/Mojolicious/Command/scaffold.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
73 0 0 $self->piling->{'package_path'} ? :
92 0 0 $self->piling->{'package_path'} ? :
104 0 0 if $base
108 0 0 if ($self->options->{'tests'})
110 0 0 $self->piling->{'package_path'} ? :
119 0 0 if $self->options->{'routes'}
120 0 0 if $self->options->{'template'}
129 0 0 $self->options->{'create'} ? :
138 0 0 if (&any(sub { $_ eq $column->{'type'}; } , 'bigint', 'int', 'varchar'))
142 0 0 if (&any(sub { $_ eq $column->{'type'}; } , 'bigint', 'int'))
143 0 0 unless $column->{'length'}
147 0 0 unless $column->{'autoincrement'}
148 0 0 unless $column->{'autoincrement'} or $column->{'default'}
149 0 0 unless $self->options->{'create'}
167 0 0 $self->options->{'create'} ? :
0 0 $column->{'length'} ? :
0 0 $column->{'unsigned'} ? :
0 0 $column->{'nullable'} ? :
0 0 $column->{'nullable'} ? :
0 0 length $column->{'default'} ? :
0 0 $column->{'autoincrement'} ? :
0 0 $column->{'after'} ? :
170 0 0 unless ($self->options->{'create'})
175 0 0 if ($self->options->{'create'})
184 0 0 $self->options->{'create'} ? :
186 0 0 $self->options->{'create'} ? :
190 0 0 if ($self->options->{'rollback'})
195 0 0 $self->options->{'create'} ? :
202 0 0 $self->options->{'create'} ? :
212 0 0 if ($self->options->{'pretend'} or $self->options->{'preview'})
218 0 0 if ($self->options->{'preview'})
222 0 0 if ($save)
237 0 0 $self->piling->{'package_path'} ? :
245 0 0 if ($self->options->{'tests'})
247 0 0 $self->piling->{'package_path'} ? :
259 0 0 if $choice eq '--pretend' or $choice eq '--preview'
262 0 0 if ($self->can($choice))
278 0 0 if (-e $file) { }
286 0 0 if $replace
300 0 0 $self->piling->{'package_path'} ? :
307 0 0 if ($self->options->{'tests'})
309 0 0 $self->piling->{'package_path'} ? :