Branch Coverage

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


line true false branch
131 1 0 if (my $e = 'Facebook::InstantArticle::Figure::Image'->new(@_))
132 1 0 if ($e->is_valid)
154 0 0 if (my $e = 'Facebook::InstantArticle::Figure::Video'->new(@_))
155 0 0 if ($e->is_valid)
176 1 0 if (my $e = 'Facebook::InstantArticle::Author'->new(@_))
177 1 0 if ($e->is_valid)
196 3 0 if (my $e = 'Facebook::InstantArticle::Paragraph'->new(@_))
197 2 1 if ($e->is_valid)
219 0 0 if (my $e = 'Facebook::InstantArticle::Figure::Image'->new(@_))
220 0 0 if ($e->is_valid)
242 1 0 if (my $e = 'Facebook::InstantArticle::Figure::Video'->new(@_))
243 1 0 if ($e->is_valid)
275 1 0 if (defined $slideshow and $slideshow->is_valid)
293 1 0 if (my $e = 'Facebook::InstantArticle::Paragraph'->new(@_))
294 1 0 if ($e->is_valid)
313 1 0 if (my $e = 'Facebook::InstantArticle::Copyright'->new(@_))
314 1 0 if ($e->is_valid)
336 1 0 if (my $e = 'Facebook::InstantArticle::List'->new(@_))
337 1 0 if ($e->is_valid)
356 1 0 if (my $e = 'Facebook::InstantArticle::Blockquote'->new(@_))
357 1 0 if ($e->is_valid)
376 1 0 if (my $e = 'Facebook::InstantArticle::Embed'->new(@_))
377 1 0 if ($e->is_valid)
399 0 0 if (my $e = 'Facebook::InstantArticle::Heading'->new(@_))
400 0 0 if ($e->is_valid)
422 1 0 if (my $e = 'Facebook::InstantArticle::Map'->new(@_))
423 1 0 if ($e->is_valid)
440 0 0 if (my $e = 'Facebook::InstantArticle::Analytics'->new(@_))
441 0 0 if ($e->is_valid)
487 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;} ? :