blib/lib/Moose/Exporter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 47 | 61 | 77.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
89 | 1108 | 0 | 2244 | $methods{$to_install} and not $package->has_package_symbol($symbol) |
123 | 1 | 37716 | 1023 | not ref $as and $meta->has_package_symbol("&" . $as) |
37717 | 568 | 455 | not ref $as and $meta->has_package_symbol("&" . $as) and $meta->get_package_symbol("&" . $as) == $cv | |
191 | 1137 | 0 | 70 | @$also_list and @$existing_stack |
453 | 3694 | 0 | 9 | defined $metaclass and length $metaclass |
503 | 827 | 2834 | 39 | $did_init_meta and @{$traits;} |
571 | 1366 | 1611 | 3 | $meta->isa("Class::MOP::Class") and $base_class_roles |
2977 | 0 | 3 | $meta->isa("Class::MOP::Class") and $base_class_roles and @$base_class_roles | |
683 | 4329 | 2 | 0 | ref $_[1] && defined $_[1]{'into'} |
4329 | 0 | 2 | ref $_[1] && defined $_[1]{'into_level'} |
line | l | !l | condition |
---|---|---|---|
39 | 1 | 1124 | $args{'meta_lookup'} || sub { |
251 | 4 | 1176 | $current_meta_lookup || sub { |
520 | 2619 | 1078 | $extra ||= {} |
522 | 1 | 3696 | $extra->{'into_level'} ||= 0 |
534 | 190 | 0 | $_[$i] || '' |
602 | 0 | 11 | $class_metaroles{$type} ||= [] |
609 | 0 | 4 | $role_metaroles{$type} ||= [] |
620 | 0 | 0 | $old_style_roles{$type} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 1 | 1122 | 0 | $args{'exporting_package'} ||= caller() |
37 | 1123 | 2 | 0 | $args{'exporting_package'} ||= caller() |
247 | 3 | 1 | 1176 | $meta_lookup_override || $args->{'meta_lookup'} |
768 | 9 | 0 | 1109 | %new_style_roles or %old_style_roles |
9 | 1 | 1108 | %new_style_roles or %old_style_roles or %base_class_roles |