blib/lib/Net/Google/Analytics/MeasurementProtocol.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 32 | 34.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
13 | 0 | 0 | 1 | $args{'tid'} and $args{'tid'} =~ /^(?:UA|MO|YT)-\d+-\d+$/ |
17 | 1 | 0 | 0 | exists $args{'aip'} and not $args{'aip'} |
67 | 1 | 0 | 0 | $hit_type eq 'pageview' and not $args{'dl'} || $args{'dh'} && $args{'dp'} |
line | l | !l | condition |
---|---|---|---|
22 | 0 | 1 | $args{'v'} ||= 1 |
23 | 0 | 1 | $args{'cd'} ||= '/' |
24 | 0 | 1 | $args{'an'} ||= 'My App' |
25 | 0 | 1 | $args{'ds'} ||= 'app' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 0 | 1 | 0 | $args{'ua'} ||= 'Net::Google::Analytics::MeasurementProtocol' . "/$VERSION" |
21 | 0 | 1 | 0 | $args{'cid'} ||= _gen_uuid_v4() |
27 | 1 | 0 | 0 | delete $args{'ua_object'} || _build_user_agent($args{'ua'}) |
28 | 1 | 0 | 0 | $ua_object->isa('Furl') or $ua_object->isa('LWP::UserAgent') |
67 | 0 | 0 | 0 | $args{'dl'} || $args{'dh'} && $args{'dp'} |