Branch Coverage

blib/lib/Facebook/InstantArticle.pm
Criterion Covered Total %
branch 30 74 40.5


line true false branch
132 1 0 if (my $e = 'Facebook::InstantArticle::Figure::Image'->new(@_))
133 1 0 if ($e->is_valid)
155 0 0 if (my $e = 'Facebook::InstantArticle::Figure::Video'->new(@_))
156 0 0 if ($e->is_valid)
177 1 0 if (my $e = 'Facebook::InstantArticle::Author'->new(@_))
178 1 0 if ($e->is_valid)
197 3 0 if (my $e = 'Facebook::InstantArticle::Paragraph'->new(@_))
198 2 1 if ($e->is_valid)
220 0 0 if (my $e = 'Facebook::InstantArticle::Figure::Image'->new(@_))
221 0 0 if ($e->is_valid)
243 1 0 if (my $e = 'Facebook::InstantArticle::Figure::Video'->new(@_))
244 1 0 if ($e->is_valid)
276 1 0 if (defined $slideshow and $slideshow->is_valid)
294 1 0 if (my $e = 'Facebook::InstantArticle::Paragraph'->new(@_))
295 1 0 if ($e->is_valid)
314 1 0 if (my $e = 'Facebook::InstantArticle::Copyright'->new(@_))
315 1 0 if ($e->is_valid)
337 1 0 if (my $e = 'Facebook::InstantArticle::List'->new(@_))
338 1 0 if ($e->is_valid)
357 1 0 if (my $e = 'Facebook::InstantArticle::Blockquote'->new(@_))
358 1 0 if ($e->is_valid)
377 1 0 if (my $e = 'Facebook::InstantArticle::Embed'->new(@_))
378 1 0 if ($e->is_valid)
400 0 0 if (my $e = 'Facebook::InstantArticle::Heading'->new(@_))
401 0 0 if ($e->is_valid)
423 1 0 if (my $e = 'Facebook::InstantArticle::Map'->new(@_))
424 1 0 if ($e->is_valid)
441 0 0 if (my $e = 'Facebook::InstantArticle::Analytics'->new(@_))
442 0 0 if ($e->is_valid)
488 1 0 $self->auto_ad_placement ? :
0 1 length $self->style ? :
1 0 length $self->subtitle ? :
1 0 length $self->kicker ? :
1 0 @{$self->_header_elements;} ? :
1 0 @{$self->_body_elements;} ? :
1 0 @{$self->_credit_elements;} ? :
1 0 @{$self->_footer_elements;} ? :