Condition Coverage

blib/lib/Moose/Exporter.pm
Criterion Covered Total %
condition 43 61 70.4


and 3 conditions

line !l l&&!r l&&r condition
89 1063 0 2148 $methods{$to_install} and not $package->has_package_symbol($symbol)
123 1 37077 1023 not ref $as and $meta->has_package_symbol("&" . $as)
37078 568 455 not ref $as and $meta->has_package_symbol("&" . $as) and $meta->get_package_symbol("&" . $as) == $cv
191 1088 0 45 @$also_list and @$existing_stack
453 3621 0 9 defined $metaclass and length $metaclass
503 811 2779 39 $did_init_meta and @{$traits;}
571 1360 1563 2 $meta->isa("Class::MOP::Class") and $base_class_roles
2923 0 2 $meta->isa("Class::MOP::Class") and $base_class_roles and @$base_class_roles
683 4249 0 0 ref $_[1] && defined $_[1]{'into'}
4249 0 0 ref $_[1] && defined $_[1]{'into_level'}

or 2 conditions

line l !l condition
39 1 1074 $args{'meta_lookup'} || sub {
251 4 1106 $current_meta_lookup || sub {
520 2591 1035 $extra ||= {}
522 0 3626 $extra->{'into_level'} ||= 0
534 187 0 $_[$i] || ''
602 0 11 $class_metaroles{$type} ||= []
609 0 4 $role_metaroles{$type} ||= []
620 0 0 $old_style_roles{$type} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
22 1 1072 0 $args{'exporting_package'} ||= caller()
37 1073 2 0 $args{'exporting_package'} ||= caller()
247 3 1 1106 $meta_lookup_override || $args->{'meta_lookup'}
768 8 0 1063 %new_style_roles or %old_style_roles
8 0 1063 %new_style_roles or %old_style_roles or %base_class_roles