blib/lib/Elastic/Model/TypeMap/Objects.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 21 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
96 | 2 | 25 | 2 | $attr->can('has_enabled') and $attr->has_enabled |
27 | 0 | 2 | $attr->can('has_enabled') and $attr->has_enabled and not $attr->enabled | |
116 | 8 | 0 | 23 | $meta and $meta->isa('Moose::Meta::Class') |
120 | 2 | 17 | 4 | $attr->can('include_attrs') && $attr->include_attrs |
121 | 2 | 19 | 2 | $attr->can('exclude_attrs') && $attr->exclude_attrs |
131 | 19 | 18 | 9 | $_->can('exclude') && $_->exclude |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
113 | 5 | 26 | 0 | $map->model->class_for($class) || $class |