| line |
true |
false |
branch |
|
37
|
1 |
0 |
if (eval {
do {
require Class::XSAccessor;
'Class::XSAccessor'->VERSION(1.19);
1
}
}) { } |
|
56
|
1 |
0 |
$] >= 5.01 && require mro ? : |
|
81
|
2 |
0 |
if not $My::Prefix::HashBase::VERSION{$into} or $My::Prefix::HashBase::VERSION{$into} > $ver |
|
92
|
1 |
1 |
if (my $have_new = $into->can("new")) |
|
94
|
0 |
1 |
unless $new_lookup->{$have_new} |
|
99
|
2 |
0 |
$add_new ? : |
|
|
0 |
1 |
unless $My::Prefix::HashBase::ATTR_SUBS{$_} |
|
105
|
13 |
4 |
if (ref $v eq 'CODE') { } |
|
128
|
0 |
2 |
if $spec->{'strip'} |
|
137
|
2 |
0 |
if ($spec->{'reader'}) |
|
138
|
0 |
2 |
if ($use_gen) { } |
|
|
2 |
0 |
elsif (not $spec->{'no_xs'}) { } |
|
149
|
2 |
0 |
if ($spec->{'writer'}) { } |
|
|
0 |
0 |
elsif ($spec->{'read_only'}) { } |
|
|
0 |
0 |
elsif ($spec->{'dep_writer'}) { } |
|
150
|
0 |
2 |
if ($use_gen) { } |
|
|
2 |
0 |
elsif (not $spec->{'no_xs'}) { } |
|
161
|
0 |
0 |
$use_gen ? : |
|
164
|
0 |
0 |
$use_gen ? : |
|
167
|
0 |
2 |
if ($spec->{'custom'}) |
|
185
|
0 |
0 |
if (0.004 > ($My::Prefix::HashBase::VERSION{$_} || 0)) { } |
|
190
|
0 |
0 |
$list ? : |
|
207
|
1 |
1 |
$__pre_init ? : |
|
210
|
1 |
1 |
$__post_init ? : |
|
217
|
0 |
0 |
if (@_ == 1) { } |
|
221
|
0 |
0 |
if ($type eq 'HASH') { } |
|
225
|
0 |
0 |
unless $type eq "ARRAY" |
|
232
|
0 |
0 |
unless my $key = shift @attributes |
|
244
|
0 |
0 |
unless exists $My::Prefix::HashBase::CAN_CACHE{$class} |
|
247
|
0 |
0 |
if $My::Prefix::HashBase::CAN_CACHE{$class} |
|
260
|
2 |
0 |
unless defined &{"${into}::new";} |
|
261
|
2 |
0 |
unless defined &{"${into}::add_pre_init";} |
|
262
|
2 |
0 |
unless defined &{"${into}::add_post_init";} |
|
263
|
2 |
0 |
unless defined &{"${into}::_pre_init";} |
|
264
|
2 |
0 |
unless defined &{"${into}::_post_init";} |