Condition Coverage

blib/lib/Yahoo/Search.pm
Criterion Covered Total %
condition 7 30 23.3


and 3 conditions

line !l l&&!r l&&r condition
659 4 27 0 not $global and $key eq 'AutoCarp'
832 0 3 0 defined $SearchSpace and $Config{$SearchSpace}
844 0 0 0 defined $Args{$arg} and length $Args{$arg}
861 0 0 0 $Args{'Context'} and $Config{$SearchSpace}{'QueryOptional'}
951 3 0 0 $Param{'context'} and $Config{$SearchSpace}{'ContextUrl'}
976 3 0 0 $SearchSpace eq 'Local' and not $Param{'location'} || $Param{'zip'} || $Param{'state'} && $Param{'city'} || defined $Param{'latitude'} && defined $Param{'longitude'}
1088 0 0 0 $Config{$SearchSpace} and $Config{$SearchSpace}{'MaxCount'}

or 3 conditions

line l !l&&r !l&&!r condition
725 0 3 0 $global or not exists $$class_or_obj{$key}
859 0 0 3 not defined $QueryText or length $QueryText == 0
976 0 0 0 $Param{'location'} || $Param{'zip'} || $Param{'state'} && $Param{'city'} || defined $Param{'latitude'} && defined $Param{'longitude'}