line |
true |
false |
branch |
67
|
1 |
15 |
unless defined $class
|
69
|
0 |
15 |
ref $_[0] eq 'HASH' ? :
|
72
|
15 |
0 |
unless (defined $lingua)
|
74
|
4 |
11 |
if ($params{'twitter'}) { }
|
86
|
7 |
4 |
if (@l) { }
|
92
|
0 |
15 |
if ($params{'cache'})
|
95
|
2 |
13 |
if ($params{'logger'})
|
99
|
0 |
0 |
if (not defined $lingua and scalar $args{'supported'})
|
170
|
11 |
44 |
ref $_[0] eq 'HASH' ? :
|
174
|
14 |
41 |
unless ($self->{'_alpha2'})
|
178
|
10 |
4 |
if ($alpha2)
|
180
|
1 |
9 |
if (not defined $salpha2 and defined $locale)
|
183
|
8 |
2 |
if ($salpha2) { }
|
|
0 |
2 |
elsif ($locale) { }
|
194
|
6 |
8 |
unless ($alpha2)
|
195
|
2 |
4 |
if ($locale)
|
197
|
0 |
2 |
if (scalar @l and defined $l[0]->code_alpha2) { }
|
201
|
0 |
2 |
if (scalar @l and defined $l[0]->code_alpha2)
|
206
|
6 |
0 |
unless ($alpha2)
|
215
|
26 |
29 |
if ($params{'facebook_like_button'} or $params{'facebook_share_button'})
|
216
|
9 |
17 |
unless (defined $self->{'_country'})
|
225
|
0 |
9 |
if ($self->{'_cache'})
|
229
|
0 |
9 |
if (defined $res) { }
|
230
|
0 |
0 |
unless ($res)
|
245
|
0 |
9 |
if ($@)
|
246
|
0 |
0 |
if ($self->{'_logger'})
|
251
|
9 |
0 |
if (defined $response and $response->is_success) { }
|
255
|
0 |
9 |
if ($response->decoded_content =~ /is not a valid locale/) { }
|
|
0 |
9 |
elsif ($self->{'_cache'}) { }
|
258
|
0 |
0 |
if ($self->{'_cache'})
|
266
|
0 |
0 |
if ($self->{'_cache'})
|
288
|
3 |
52 |
if ($params{'align'}) { }
|
295
|
0 |
55 |
if ($self->{'_info'}) { }
|
302
|
20 |
35 |
if ($self->{'_twitter'})
|
303
|
10 |
10 |
if ($params{'twitter_follow_button'})
|
305
|
9 |
1 |
if ($language eq 'English' or $language eq 'Unknown') { }
|
311
|
1 |
9 |
if ($params{'twitter_tweet_button'})
|
315
|
8 |
12 |
if ($params{'twitter_tweet_button'})
|
339
|
6 |
2 |
if ($self->{'_twitter_related'})
|
347
|
24 |
31 |
if ($params{'facebook_like_button'})
|
348
|
1 |
23 |
if ($params{'twitter_tweet_button'} or $params{'twitter_follow_button'})
|
353
|
9 |
15 |
unless ($self->{'info'})
|
362
|
9 |
14 |
if ($params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'} or $params{'facebook_share_button'})
|
366
|
5 |
50 |
if ($params{'facebook_share_button'})
|
367
|
0 |
5 |
if ($params{'twitter_tweet_button'} or $params{'twitter_follow_button'})
|
372
|
0 |
5 |
unless ($self->{'info'})
|
381
|
0 |
5 |
if ($params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'})
|
386
|
1 |
54 |
if ($params{'linkedin_share_button'})
|
391
|
0 |
1 |
if ($params{'google_plusone'} or $params{'reddit_button'})
|
395
|
3 |
52 |
if ($params{'google_plusone'})
|
411
|
3 |
0 |
if (defined $alpha2)
|
424
|
0 |
3 |
if ($params{'reddit_button'})
|
428
|
10 |
45 |
if ($params{'reddit_button'})
|