| blib/lib/CatalystX/CRUD/ControllerRole.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 18 | 28 | 64.2 | 
| line | true | false | branch | 
|---|---|---|---|
| 47 | 0 | 35 | unless defined $id and length $id | 
| 50 | 1 | 34 | if (ref $pk) { } | 
| 82 | 1 | 17 | if (ref $pk) { } | 
| 86 | 0 | 2 | unless defined $v | 
| 92 | 0 | 1 | unless (grep {length $_;} @vals) | 
| 102 | 0 | 18 | unless defined $id | 
| 122 | 0 | 26 | unless my $app_class = shift() | 
| 125 | 12 | 14 | if ($self->model_adapter) | 
| 147 | 0 | 95 | unless my $c = shift() | 
| 148 | 0 | 95 | unless my $method = shift() | 
| 149 | 18 | 77 | if ($self->model_adapter) { } | 
| 165 | 0 | 13 | unless my $c = shift() | 
| 166 | 0 | 13 | unless my $method = shift() | 
| 167 | 0 | 13 | if ($self->model_adapter) { } |