| blib/lib/Ado/Command/generate/crud.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 15 | 40.0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 76 | 0 | 2 | 0 | $args->{'controller_namespace'} //= $app->routes->namespaces->[0] |
| 79 | 0 | 2 | 0 | $args->{'model_namespace'} //= &first(sub { $_->{'name'} eq 'DSC' if ref $_ eq 'HASH'; } , @{$app->config('plugins');})->{'config'}{'namespace'} |
| 80 | 2 | 0 | 0 | $args->{'home_dir'} //= $app->home |
| 81 | 1 | 1 | 0 | $args->{'lib'} //= catdir($args->{'home_dir'}, 'lib') |
| 82 | 2 | 0 | 0 | $args->{'templates_root'} //= $app->renderer->paths->[0] |