Condition Coverage

blib/lib/HTML/SocialMedia.pm
Criterion Covered Total %
condition 30 54 55.5


and 2 conditions

line l !l condition
99 15 0 not defined $lingua and scalar $args{'supported'}

and 3 conditions

line !l l&&!r l&&r condition
180 7 2 1 not defined $salpha2 and defined $locale
197 1 1 0 scalar @l and defined $l[0]->code_alpha2
201 1 1 0 scalar @l and defined $l[0]->code_alpha2
251 0 0 9 defined $response and $response->is_success

or 2 conditions

line l !l condition
296 0 0 $self->{'_info'}->protocol || 'http'
299 0 55 'CGI::Info'->protocol || 'http'

or 3 conditions

line l !l&&r !l&&!r condition
66 1 14 1 ref $proto || $proto
98 0 15 0 $params{'lingua'} || 'CGI::Lingua'->new(%args)
215 24 0 31 $params{'facebook_like_button'} or $params{'facebook_share_button'}
305 5 4 1 $language eq 'English' or $language eq 'Unknown'
348 1 0 23 $params{'twitter_tweet_button'} or $params{'twitter_follow_button'}
362 1 0 23 $params{'google_plusone'} or $params{'linkedin_share_button'}
0 0 23 $params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'}
6 0 17 $params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'} or $params{'facebook_share_button'}
367 0 0 5 $params{'twitter_tweet_button'} or $params{'twitter_follow_button'}
381 0 0 5 $params{'google_plusone'} or $params{'linkedin_share_button'}
0 0 5 $params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'}
391 0 0 1 $params{'google_plusone'} or $params{'reddit_button'}