Condition Coverage

blib/lib/JavaScript/XRay.pm
Criterion Covered Total %
condition 34 57 59.6


and 3 conditions

line !l l&&!r l&&r condition
103 14 0 0 $ref_type eq 'ARRAY' && $SWITCHES{$switch}{'ref_type'} eq 'ARRAY'
151 3 2 2 $switch->{'anon'} and not $switch->{'only'}
213 23 3 3 $name eq 'ANON' and not $switch->{'anon'}
242 27 4 3 $name eq 'ANON' and not $switch->{'anon'}
18 1 12 $switch->{'only'} and not $only_function{$name}
14 5 0 $switch->{'skip'} and $skip_function{$name}
14 1 3 $switch->{'match'} and not $name =~ /$function_filter/x
338 6 0 0 keys %attrs and $attrs{'src'}

or 2 conditions

line l !l condition
54 3 4 $args{'alias'} || 'jsxray'
62 2 5 $args{'iframe_height'} || 200
637 11 37 $switches->{$switch} || ''

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 0 -d $method or $method eq 'HTTP_GET'
0 0 0 -d $method or $method eq 'HTTP_GET' or ref $method eq 'CODE'
213 5 0 29 $switch->{'no_exec_count'} or $name eq 'ANON' and not $switch->{'anon'}
242 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
329 0 0 0 $3 || $4
377 0 0 0 $src =~ /^http/i or $self->{'abs_uri'}