Condition Coverage

blib/lib/JavaScript/XRay.pm
Criterion Covered Total %
condition 37 59 62.7


and 3 conditions

line !l l&&!r l&&r condition
104 14 0 0 $ref_type eq 'ARRAY' && $SWITCHES{$switch}{'ref_type'} eq 'ARRAY'
154 3 2 2 $$switch{'anon'} and not $$switch{'only'}
218 23 3 3 $name eq 'ANON' and not $$switch{'anon'}
250 27 4 3 $name eq 'ANON' and not $$switch{'anon'}
18 1 12 $$switch{'only'} and not $only_function{$name}
14 4 1 $$switch{'skip'} and $skip_function{$name}
14 1 3 $$switch{'match'} and not $name =~ /$function_filter/x
346 6 0 0 keys %attrs and $attrs{'src'}

or 2 conditions

line l !l condition
55 3 4 $args{'alias'} || 'jsxray'
56 2 5 $args{'iframe_height'} || 200
773 11 37 $$switches{$switch} || ''
801 11 31 $$switches{$switch} || ''

or 3 conditions

line l !l&&r !l&&!r condition
125 0 0 0 -d $method || $method eq 'HTTP_GET' || ref $method eq 'CODE'
218 5 0 29 $$switch{'no_exec_count'} or $name eq 'ANON' and not $$switch{'anon'}
250 0 0 34 $$switch{'none'} or $name eq 'ANON' and not $$switch{'anon'}
3 0 31 $$switch{'none'} or $name eq 'ANON' and not $$switch{'anon'} or $$switch{'only'} and not $only_function{$name}
12 0 19 $$switch{'none'} or $name eq 'ANON' and not $$switch{'anon'} or $$switch{'only'} and not $only_function{$name} or $$switch{'skip'} and $skip_function{$name}
1 0 18 $$switch{'none'} or $name eq 'ANON' and not $$switch{'anon'} or $$switch{'only'} and not $only_function{$name} or $$switch{'skip'} and $skip_function{$name} or $$switch{'match'} and not $name =~ /$function_filter/x
337 0 0 0 $3 || $4
385 0 0 0 $src =~ /^http/i or $$self{'abs_uri'}
392 0 0 0 $src =~ /^http/ || $src =~ m[^/] && $$self{'abs_uri'} =~ m[^/]