blib/lib/Rose/DB/Object/Metadata/Relationship/ManyToMany.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 43 | 27.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
146 | 0 | 0 | 0 | ref $arg && UNIVERSAL::isa($arg, $map_class) |
291 | 0 | 14 | 14 | $item->can('class') and $item->class eq $target_class |
295 | 14 | 0 | 0 | $map_from and $item->name ne $map_from |
331 | 14 | 0 | 0 | $map_to and $item->name ne $map_to |
415 | 0 | 0 | 0 | $item->isa('Rose::DB::Object::Metadata::ForeignKey') || $item->type eq 'many to one' and $item->class eq $target_class |
0 | 0 | 0 | $item->isa('Rose::DB::Object::Metadata::ForeignKey') || $item->type eq 'many to one' and $item->class eq $target_class and $item->name ne $local_rel |
line | l | !l | condition |
---|---|---|---|
380 | 14 | 0 | $item->method_name('get_set') || $item->method_name('get_set_now') || $item->method_name('get_set_on_save') || die('Rose::DB::Object::Exception::ClassNotReady'->new(q[No 'get_*' method found for ] . $item->name)) |
431 | 0 | 0 | $item->method_name('get_set') || $item->method_name('get_set_now') || $item->method_name('get_set_on_save') || die('Rose::DB::Object::Exception::ClassNotReady'->new(q[No 'get_*' method found for ] . $item->name)) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 0 | 0 | 42 | $type eq 'get_set' or $type eq 'get_set_now' |
0 | 14 | 28 | $type eq 'get_set' or $type eq 'get_set_now' or $type eq 'get_set_on_save' | |
0 | 14 | 14 | $type eq 'add_now' or $type eq 'add_on_save' | |
326 | 14 | 0 | 0 | $item->isa('Rose::DB::Object::Metadata::ForeignKey') or $item->type eq 'many to one' |
397 | 0 | 0 | 0 | $map_to_class || $map_to |
415 | 0 | 0 | 0 | $item->isa('Rose::DB::Object::Metadata::ForeignKey') || $item->type eq 'many to one' |
458 | 0 | 0 | 7 | $Debug or $Rose::DB::Object::Metadata::Debug |