blib/lib/Model/Envoy/Storage/DBIC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 33 | 54.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
145 | 0 | 0 | 28 | $db_result and &blessed($db_result) |
0 | 0 | 28 | $db_result and &blessed($db_result) and $db_result->isa($model_class->dbic) | |
247 | 77 | 24 | 13 | $no_rel and exists $relationships{$attr} |
249 | 79 | 5 | 17 | &blessed(scalar $db_result->$attr) and $db_result->$attr->isa('DBIx::Class::ResultSet') |
404 | 32 | 0 | 5 | &blessed($value) and $value->can('does') |
32 | 0 | 5 | &blessed($value) and $value->can('does') and $value->does('Model::Envoy') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
254 | 17 | 0 | 0 | $factory ||= ($attribute->type_constraint->name =~ / (?:ArrayRef|Maybe) \[ (.+?) \] /x)[0] |
338 | 41 | 0 | 0 | $model //= $self->model |
341 | 0 | 41 | 0 | $model_class ||= $model |
358 | 0 | 14 | 0 | $model //= $self->model |
369 | 41 | 23 | 0 | $model //= $self->model |