Condition Coverage

blib/lib/WWW/Analytics/MultiTouch.pm
Criterion Covered Total %
condition 28 77 36.3


and 3 conditions

line !l l&&!r l&&r condition
128 0 0 0 $start_date <= $t and $t < $end_date
153 0 0 0 defined $remaining_items && $remaining_items < $max_items_per_page
234 0 0 0 $$_[0] eq 'organic' and $$_[1] ne 'organic'
271 0 0 25 $$order[0] eq '__ORD' and 'TID' . $$order[1] eq $tid
0 0 25 $$order[0] eq '__ORD' and 'TID' . $$order[1] eq $tid and $$order[3] =~ /^\d+$/
308 41 0 0 $first_touch_channels{$channel} and not $seen_first_touch{$channel}
324 0 25 1 defined $firstchannel and $firstchannel =~ /^ORDER\(/
332 0 25 0 defined $lastchannel and $lastchannel =~ /^ORDER\(/
1056 0 0 0 -f $conf_file and -r $conf_file
1104 0 0 0 exists $$hash{$key} and ref $$hash{$key} ne 'ARRAY'

or 2 conditions

line l !l condition
211 2 0 shift() || 'UTC'
283 1 24 $params{'adjustments'}{$$rec[0]}{'transactions'} || 1
380 74 0 $touches_total || 1
664 76 0 $totals{$_} || 1
728 21 24 $$rec{'touches'}{$_}{'count'} || ''
21 24 $$rec{'touches'}{$_}{'transactions'} || ''
21 24 $$rec{'touches'}{$_}{'revenue'} || ''
769 3 0 max(map({2 * (@$_ - 3);} @{$$self{'summary'}{'touchlist'};})) || 0
804 2 0 $$transdistoverall{$count} || 0
824 6 2 ($channel eq 'OVERALL' ? $$transdistoverall{$_} : $$transdist{$_}{$channel}) || 0
926 12 0 $totals{$_} || 1
6 0 $$src{$row}{'touches'} || 1
1093 0 0 shift() || 'multitouchanalytics'

or 3 conditions

line l !l&&r !l&&!r condition
80 0 5 0 ref $class || $class
152 0 0 0 not defined $remaining_items or $remaining_items > 0
172 0 0 0 $page->total_results == 0 or $items_per_page < $max_results
284 1 24 0 $params{'adjustments'}{$$rec[0]}{'revenue'} || $trans_adj
1005 42 21 0 shift() || 'DateTime'->now->set_time_zone($$self{'report_timezone'})->truncate('to', 'day')
1042 0 0 0 $$self{'auth_file'} || _default_auth_file()
1074 0 0 0 $$opts{'auth_file'} ||= _default_auth_file($conf_file)