| blib/lib/Rose/DB/Object/Metadata/MethodMaker.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 24 | 60 | 40.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 71 | 0 | 319 | 0 | @_ and $Method_Maker_Info{$class} | 
| 88 | 0 | 1 | 0 | @_ and $Method_Maker_Info{$class} | 
| 112 | 64 | 0 | 1411 | $info and %$info | 
| 162 | 0 | 0 | 817 | defined $type and ref $info | 
| 0 | 0 | 817 | defined $type and ref $info and ref $info eq 'HASH' | |
| 188 | 0 | 0 | 0 | defined $type and ref $new_names | 
| 0 | 0 | 0 | defined $type and ref $new_names and ref $new_names eq 'ARRAY' | |
| 212 | 0 | 0 | 0 | @_ == 1 and ref $_[0] | 
| 0 | 0 | 0 | @_ == 1 and ref $_[0] and ref $_[0] eq 'ARRAY' | |
| 271 | 55 | 1 | 50 | $Method_Maker_Info{$class} and %{$Method_Maker_Info{$class};} | 
| line | l | !l | condition | 
|---|---|---|---|
| 127 | 0 | 32 | $Method_Maker_Info{$class} ||= {} | 
| 165 | 0 | 817 | $Method_Maker_Info{$class}{$type} ||= {} | 
| 208 | 374 | 0 | $Method_Maker_Info{$class}{$type} ||= {} | 
| 224 | 15 | 0 | $class->common_method_maker_argument_names || [] | 
| 273 | 50 | 0 | $Method_Maker_Info{$class} ||= {} | 
| 355 | 0 | 0 | $self->{'method_name'} ||= {} | 
| 373 | 374 | 0 | $Method_Maker_Info{$class}{$type} ||= {} | 
| 384 | 0 | 271 | $args{'options'} || {} | 
| 405 | 0 | 271 | $args{'types'} || [$self->auto_method_types] | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 127 | 51 | 32 | 0 | $info ||= ($Method_Maker_Info{$class} ||= {}) | 
| 136 | 148 | 114 | 194 | not $subclass_info->{$type}{$attr} or defined $info->{$type}{$attr} | 
| 403 | 271 | 0 | 0 | $args{'target_class'} || (caller)[0] | 
| 0 | 271 | 0 | $options->{'target_class'} ||= $args{'target_class'} || (caller)[0] |