Condition Coverage

blib/lib/OTRS/SphinxSearch.pm
Criterion Covered Total %
condition 21 50 42.0


and 3 conditions

line !l l&&!r l&&r condition
174 6 1 1 $param{'SortBy'} and $$self{'sort_map'}{$param{'SortBy'}}
178 6 1 1 $param{'OrderBy'} and $$self{'order_map'}{$param{'OrderBy'}}
241 0 0 0 defined $$self{'time_start'} and defined $$self{'time_stop'}

or 2 conditions

line l !l condition
48 0 17 $$self{'config'}{'SourceHost'} || 'localhost'
66 0 17 $$self{'Config'}{'FieldWeights'} || {}
205 1 1 $param{$key . 'Exclude'} ||= 0
223 0 0 $param{$value . 'TimePointBase'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
50 0 17 0 $$self{'config'}{'SourcePort'} || $SOURCE_PORT
52 0 17 0 $$self{'config'}{'ConnectTimeOut'} || $CONNECT_TIME_OUT
54 0 17 0 $$self{'config'}{'ConnectRetries'} || $CONNECT_RETRIES
56 0 17 0 $$self{'config'}{'SearchLimit'} || $SEARCH_LIMIT
58 0 0 17 $$self{'config'}{'MaxQueryTime'} || $MAX_QUERY_TIME
60 0 17 0 $$self{'config'}{'MatchMode'} || $MATCH_MODE
62 0 17 0 $$self{'config'}{'SortMode'} || $SORT_MODE
64 0 0 17 $$self{'config'}{'RankMode'} || $RANK_MODE
69 0 17 0 $$self{'config'}{'SortBy'} || $DEFAULT_SORT_BY
71 0 17 0 $$self{'config'}{'OrderMode'} || $DEFAULT_ORDER_BY
73 0 17 0 $$self{'config'}{'SelectedField'} || $SELECTED_FIELD