line |
true |
false |
branch |
61
|
1 |
11 |
unless (defined $class)
|
67
|
1 |
10 |
if (ref $_[0] eq 'HASH') { }
|
|
1 |
9 |
elsif (ref $_[0]) { }
|
|
8 |
1 |
elsif (@_ % 2 == 0) { }
|
76
|
7 |
3 |
unless (defined $args{'object'})
|
80
|
5 |
5 |
if ($args{'cache'} and ref $args{'cache'})
|
91
|
0 |
0 |
if (ref $self->{'object'} eq 'Class::Simple')
|
105
|
5 |
33 |
if ($param eq 'DESTROY')
|
106
|
2 |
3 |
if (ref $cache eq 'HASH')
|
112
|
3 |
0 |
if (defined $^V and $^V ge 'v5.14.0')
|
113
|
0 |
3 |
if ${^GLOBAL_PHASE} eq 'DESTRUCT'
|
128
|
28 |
5 |
if (scalar @_ == 0)
|
131
|
12 |
16 |
if (ref $cache eq 'HASH') { }
|
136
|
15 |
13 |
if ($rc)
|
137
|
0 |
15 |
if $rc eq 'never'
|
138
|
4 |
11 |
if (ref $rc eq 'ARRAY')
|
140
|
0 |
4 |
if $foo[0] eq 'Class::Simple::Cached>UNDEF<'
|
141
|
0 |
4 |
if $foo[0] eq 'never'
|
144
|
1 |
10 |
if ($rc eq 'Class::Simple::Cached>UNDEF<')
|
149
|
8 |
5 |
if (wantarray)
|
151
|
3 |
5 |
if (scalar @rc == 0)
|
154
|
2 |
3 |
if (ref $cache eq 'HASH') { }
|
161
|
4 |
1 |
if (defined(my $rc = $object->$func))
|
162
|
2 |
2 |
if (ref $cache eq 'HASH')
|
167
|
0 |
1 |
if (ref $cache eq 'HASH')
|
176
|
2 |
3 |
if ($_[1])
|
179
|
1 |
1 |
if (defined(my $val = $object->$func(\@_)))
|
180
|
0 |
1 |
if (ref $cache eq 'HASH') { }
|
187
|
0 |
1 |
if (ref $cache eq 'HASH')
|
194
|
1 |
2 |
if (ref $cache eq 'HASH')
|