Condition Coverage

blib/lib/Rose/HTML/Object/Exporter.pm
Criterion Covered Total %
condition 11 32 34.3


and 3 conditions

line !l l&&!r l&&r condition
83 0 0 2831 defined prototype $code && !length(prototype $code)
92 2532 0 299 $existing_code and not $force
2532 299 0 $existing_code and not $force and $is_constant && $existing_code eq \&{"${target_class}::$import_as";} || !$is_constant && $existing_code
151 232 0 0 @_ and @_ > 1 || (ref $_[0] || '') ne 'ARRAY'
188 2532 0 0 @_ and @_ > 1 || ref $_[0] && !((ref $_[0] || '') =~ /\A(?:ARRAY|CODE)\z/)

or 2 conditions

line l !l condition
203 0 2532 $class->_pre_import_hook($symbol, @_) || []

or 3 conditions

line l !l&&r !l&&!r condition
47 332 0 0 $Target_Class || (caller)[0]
85 0 2831 0 $import_as{$symbol} || $symbol
92 299 0 0 $is_constant && $existing_code eq \&{"${target_class}::$import_as";} || !$is_constant && $existing_code
151 0 0 0 @_ > 1 || (ref $_[0] || '') ne 'ARRAY'
188 0 0 0 @_ > 1 || ref $_[0] && !((ref $_[0] || '') =~ /\A(?:ARRAY|CODE)\z/)