| line |
l |
!l&&r |
!l&&!r |
condition |
|
69
|
0 |
0 |
0 |
$self->options->{'name'} ||= $self->required->ask('What is the name of the command?') |
|
84
|
0 |
0 |
0 |
$self->options->{'name'} ||= $self->ask('What is the name of the controller?') |
|
85
|
0 |
0 |
0 |
$self->options->{'action'} ||= $self->ask('What is the name of the action?', 'action') |
|
86
|
0 |
0 |
0 |
$self->options->{'tests'} ||= $self->confirm(sprintf('Do you want to create tests for <%s> controller?', $self->options->{'name'}), 'yes') |
|
87
|
0 |
0 |
0 |
$self->options->{'routes'} ||= $self->confirm(sprintf('Do you want to create routes for <%s> controller?', $self->options->{'name'}), 'yes') |
|
88
|
0 |
0 |
0 |
$self->options->{'template'} ||= $self->confirm(sprintf('Do you want to create default template for <%s> controller?', $self->options->{'name'}), 'yes') |
|
128
|
0 |
0 |
0 |
$self->options->{'create'} ||= $self->confirm('Are you going to create a new table?', 'no') |
|
129
|
0 |
0 |
0 |
$self->options->{'table'} ||= $self->required->ask(sprintf(q[What's the name of the table that you are you going to %s?], $self->options->{'create'} ? 'create' : 'alter')) |
|
148
|
0 |
0 |
0 |
$column->{'autoincrement'} or $column->{'default'} |
|
188
|
0 |
0 |
0 |
$self->options->{'rollback'} ||= $self->confirm('Would you like to have UP and DOWN version for this migration?', 'no') |
|
212
|
0 |
0 |
0 |
$self->options->{'pretend'} or $self->options->{'preview'} |
|
231
|
0 |
0 |
0 |
$self->options->{'name'} ||= $self->required->ask('What is the name of the controller?') |
|
232
|
0 |
0 |
0 |
$self->options->{'action'} ||= $self->ask('What is the name of the action?', 'action') |
|
233
|
0 |
0 |
0 |
$self->options->{'tests'} ||= $self->confirm(sprintf('Do you want to create tests for <%s> routes?', $self->options->{'name'}), 'yes') |
|
259
|
0 |
0 |
0 |
$choice eq '--pretend' or $choice eq '--preview' |
|
260
|
0 |
0 |
0 |
$choice ||= $self->choice('What are you looking to scaffold?', ['command', 'controller', 'migration', 'routes', 'task', 'template'], 'controller') |
|
295
|
0 |
0 |
0 |
$self->options->{'name'} ||= $self->required->ask('What is the name of the task?') |
|
296
|
0 |
0 |
0 |
$self->options->{'tests'} ||= $self->confirm(sprintf('Do you want to create tests for <%s> task?', $self->options->{'name'}), 'yes') |
|
321
|
0 |
0 |
0 |
$self->options->{'name'} ||= $self->required->ask('What is the name of the controller?') |
|
322
|
0 |
0 |
0 |
$self->options->{'action'} ||= $self->ask('What is the name of the action?', 'action') |