| line |
true |
false |
branch |
|
42
|
0 |
24 |
unless blessed $attr and $attr->isa('mop::attribute') |
|
52
|
10 |
26 |
if @_ |
|
62
|
0 |
53 |
unless blessed $attr and $attr->isa('mop::attribute') |
|
72
|
2 |
118 |
if @_ |
|
82
|
0 |
6 |
unless blessed $attr and $attr->isa('mop::attribute') |
|
85
|
1 |
5 |
if $attr->has_default |
|
98
|
0 |
14 |
unless blessed $class and $class->isa('mop::class') |
|
107
|
0 |
11 |
unless blessed $method and $method->isa('mop::method') |
|
133
|
0 |
5 |
unless blessed $attr and $attr->isa('mop::attribute') |
|
146
|
0 |
9 |
unless blessed $attr and $attr->isa('mop::attribute') |
|
153
|
18 |
14 |
if (not $weak_attr->has_data_in_slot_for($instance)) |
|
156
|
17 |
1 |
ref $default ? : |
|
165
|
0 |
5 |
unless blessed $class and $class->isa('mop::class') |
|
180
|
4 |
4 |
if (my $m = mop::meta($_)) { } |
|
203
|
0 |
9 |
unless blessed $class and $class->isa('mop::class') |
|
207
|
1 |
8 |
if (ref $instance and ref $instance eq 'CODE') { } |
|
|
7 |
1 |
elsif (not ref $instance) { } |
|
211
|
1 |
6 |
if ($instance eq 'SCALAR') { } |
|
|
1 |
5 |
elsif ($instance eq 'ARRAY') { } |
|
|
3 |
2 |
elsif ($instance eq 'HASH') { } |
|
|
1 |
1 |
elsif ($instance eq 'GLOB') { } |