blib/lib/Class/ReluctantORM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 136 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
653 | 0 | 0 | 0 | $refreshes and ref $refreshes ne 'ARRAY' |
1268 | 0 | 0 | 0 | $existing and $existing->is_fetched($rel_field) |
1789 | 0 | 0 | 0 | ref $related and $related->isa('Class::ReluctantORM::Collection') |
1790 | 0 | 0 | 0 | ref $related and $related->isa('Class::ReluctantORM') |
1933 | 0 | 0 | 0 | $self and $self->registry |
2087 | 0 | 0 | 0 | defined $field and not defined $value |
2586 | 0 | 0 | 0 | $table_name eq $cc_table and !$schema_name || $schema_name eq $cc_schema |
line | l | !l | condition |
---|---|---|---|
652 | 0 | 0 | $$args{'refresh_on_update'} || [] |
1001 | 0 | 0 | $class->__metadata->{'columns'} ||= [map({$class->column_name($_);} $class->field_names)] |
1985 | 0 | 0 | $$self{'_dirty_fields'}{$field} || 0 |
2398 | 0 | 0 | $class->__metadata->{'relations'} || {} |
2606 | 0 | 0 | $RELATIONSHIP_CACHE{'by_local'}{'by_schema'}{$lt->schema}{$lt->table} ||= [] |
2608 | 0 | 0 | $RELATIONSHIP_CACHE{'by_local'}{'by_table'}{$lt->table} ||= [] |
2614 | 0 | 0 | $RELATIONSHIP_CACHE{'by_join'}{'by_schema'}{$jt->schema}{$jt->table} ||= [] |
2616 | 0 | 0 | $RELATIONSHIP_CACHE{'by_join'}{'by_table'}{$jt->table} ||= [] |
2622 | 0 | 0 | $RELATIONSHIP_CACHE{'by_remote'}{'by_schema'}{$rt->schema}{$rt->table} ||= [] |
2624 | 0 | 0 | $RELATIONSHIP_CACHE{'by_remote'}{'by_table'}{$rt->table} ||= [] |
2857 | 0 | 0 | $$meta{'triggers'} ||= {} |
2858 | 0 | 0 | $$meta{'triggers'}{$event} ||= [] |
2883 | 0 | 0 | $$meta{'triggers'} ||= {} |
2884 | 0 | 0 | $$meta{'triggers'}{$event} ||= [] |
2906 | 0 | 0 | $$meta{'triggers'} ||= {} |
2935 | 0 | 0 | $$meta{'triggers'} ||= {} |
2936 | 0 | 0 | $$meta{'triggers'}{$event} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
436 | 0 | 0 | 0 | exists $CLASS_METADATA{$cro_class} || $cro_class eq 'SCALAR' |
609 | 0 | 0 | 0 | ref $fields eq 'ARRAY' or ref $fields eq 'HASH' |
719 | 0 | 0 | 0 | shift() || 'Class::ReluctantORM::Registry'->default_registry_class |
826 | 0 | 0 | 0 | ref $inv || $inv |
838 | 0 | 0 | 0 | ref $inv || $inv |
851 | 0 | 0 | 0 | ref $inv || $inv |
867 | 0 | 0 | 0 | ref $inv || $inv |
885 | 0 | 0 | 0 | ref $inv || $inv |
906 | 0 | 0 | 0 | ref $inv || $inv |
935 | 0 | 0 | 0 | ref $inv || $inv |
975 | 0 | 0 | 0 | ref $inv || $inv |
1000 | 0 | 0 | 0 | ref $inv || $inv |
1016 | 0 | 0 | 0 | ref $inv || $inv |
1070 | 0 | 0 | 0 | ref $inv || $inv |
1075 | 0 | 0 | 0 | ref $inv || $inv |
1090 | 0 | 0 | 0 | ref $inv || $inv |
1111 | 0 | 0 | 0 | ref $inv || $inv |
1112 | 0 | 0 | 0 | shift() || Class::ReluctantORM::SQL::Table()->new($class) |
1143 | 0 | 0 | 0 | ref $inv || $inv |
1155 | 0 | 0 | 0 | ref $inv || $inv |
1167 | 0 | 0 | 0 | ref $inv || $inv |
1899 | 0 | 0 | 0 | ref $class || $class |
1956 | 0 | 0 | 0 | $dirty_fields || !$self->is_inserted |
2396 | 0 | 0 | 0 | ref $inv || $inv |
2459 | 0 | 0 | 0 | ref $inv || $inv |
2481 | 0 | 0 | 0 | ref $inv || $inv |
2586 | 0 | 0 | 0 | !$schema_name || $schema_name eq $cc_schema |