Condition Coverage

blib/lib/WWW/ClickSource.pm
Criterion Covered Total %
condition 28 43 65.1


and 3 conditions

line !l l&&!r l&&r condition
259 1 13 1 $click_info{'source'} and $click_info{'source'} =~ /l\.facebook\.com/
1 11 2 $click_info{'source'} and $click_info{'source'} =~ /(?:(?:m|www)\.)?(facebook|twitter|linkedin|plus\.google)\.(?:com?\.)?\w{2,3}/
269 1 11 12 $click_info{'source'} and $click_info{'category'} eq "referer"
12 8 4 $click_info{'source'} and $click_info{'category'} eq "referer" and $click_info{'source'} =~ /(?:www|search\.)?(google|yahoo|bing|yandex|baidu|aol|ask|duckduckgo)\.(?:com?\.)?\w{2,3}$/ || $click_info{'source'} =~ /webcache\.(google)usercontent\.com/

or 2 conditions

line l !l condition
136 5 0 $params->{'utm_source'} // ""
5 0 $params->{'utm_campaign'} // ""
5 0 $params->{'utm_medium'} // ""
280 23 1 $click_info{'source'} //= ""
281 5 19 $click_info{'campaign'} //= ""
282 21 3 $click_info{'medium'} //= ""
283 24 0 $click_info{'category'} //= ""
352 0 0 $self->{'source'} // ""
0 0 $self->{'campaign'} // ""
0 0 $self->{'category'} // ""
0 0 $self->{'medium'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
132 5 0 14 $params->{'utm_source'} or $params->{'utm_campaign'}
0 0 14 $params->{'utm_source'} or $params->{'utm_campaign'} or $params->{'utm_medium'}
269 6 1 5 $click_info{'source'} =~ /(?:www|search\.)?(google|yahoo|bing|yandex|baidu|aol|ask|duckduckgo)\.(?:com?\.)?\w{2,3}$/ || $click_info{'source'} =~ /webcache\.(google)usercontent\.com/