Condition Coverage

blib/lib/HTML/SocialMedia.pm
Criterion Covered Total %
condition 12 56 21.4


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
199 0 0 0 not defined $salpha2 and defined $locale
220 0 0 2 scalar @l and defined $l[0]->code_alpha2
224 0 0 0 scalar @l and defined $l[0]->code_alpha2
279 0 0 2 defined $response and $response->is_success

or 2 conditions

line l !l condition
252 2 0 $self->{'_alpha2'} || 'en_US'
438 0 0 $self->{'_info'}->protocol || 'http'
441 0 0 'CGI::Info'->protocol || 'http'

or 3 conditions

line l !l&&r !l&&!r condition
67 0 3 1 ref $proto || $proto
99 0 3 0 $params{'lingua'} || 'CGI::Lingua'->new(%args)
244 2 0 0 $params{'facebook_like_button'} or $params{'facebook_share_button'}
325 0 0 0 $language eq 'English' or $language eq 'Unknown'
368 0 0 2 $params{'twitter_tweet_button'} or $params{'twitter_follow_button'}
382 0 0 2 $params{'google_plusone'} or $params{'linkedin_share_button'}
0 0 2 $params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'}
0 0 2 $params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'} or $params{'facebook_share_button'}
387 0 0 0 $params{'twitter_tweet_button'} or $params{'twitter_follow_button'}
401 0 0 0 $params{'google_plusone'} or $params{'linkedin_share_button'}
0 0 0 $params{'google_plusone'} or $params{'linkedin_share_button'} or $params{'reddit_button'}
411 0 0 0 $params{'google_plusone'} or $params{'reddit_button'}