line |
true |
false |
branch |
67
|
0 |
5 |
unless defined $class
|
70
|
1 |
4 |
if (ref $_[0] eq 'HASH') { }
|
|
0 |
4 |
elsif (ref $_[0]) { }
|
|
4 |
0 |
elsif (@_ % 2 == 0) { }
|
79
|
2 |
3 |
unless ($args{'cache'})
|
84
|
0 |
3 |
unless (defined $args{'object'})
|
108
|
0 |
0 |
if (ref $self->{'object'} eq 'Class::Simple')
|
136
|
3 |
38 |
if ($param eq 'DESTROY')
|
137
|
3 |
0 |
if ($cache)
|
138
|
2 |
1 |
if (ref $cache eq 'HASH')
|
144
|
1 |
0 |
if (defined $^V and $^V ge 'v5.14.0')
|
145
|
0 |
1 |
if ${^GLOBAL_PHASE} eq 'DESTRUCT'
|
164
|
21 |
17 |
if (ref $cache eq 'HASH') { }
|
169
|
18 |
20 |
if (defined $rc)
|
170
|
0 |
18 |
if $rc eq 'never'
|
171
|
6 |
12 |
if (ref $rc eq 'ARRAY')
|
174
|
5 |
1 |
if (wantarray)
|
175
|
4 |
1 |
if (defined $foo[0])
|
176
|
0 |
4 |
if $foo[0] eq 'Class::Simple::Readonly::Cached>UNDEF<'
|
177
|
0 |
4 |
if $foo[0] eq 'never'
|
183
|
2 |
10 |
if ($rc eq 'Class::Simple::Readonly::Cached>UNDEF<')
|
187
|
9 |
1 |
unless (wantarray)
|
194
|
8 |
13 |
if (wantarray)
|
196
|
2 |
6 |
if (scalar @rc == 0)
|
199
|
3 |
3 |
if (ref $cache eq 'HASH') { }
|
207
|
2 |
11 |
unless (defined $rc)
|
208
|
1 |
1 |
if (ref $cache eq 'HASH') { }
|
215
|
7 |
4 |
if (ref $cache eq 'HASH')
|