Branch Coverage

blib/lib/Facebook/InstantArticle/Figure.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
66 1 2 if $self->enable_comments
67 1 2 if $self->enable_likes
71 1 2 if (@comments_likes)
75 1 2 if (length $self->presentation)
79 2 1 if ($self->isa('Facebook::InstantArticle::Figure::Image')) { }
1 0 elsif ($self->isa('Facebook::InstantArticle::Figure::Video')) { }
80 0 2 keys %attrs ? :
2 0 length $self->caption ? :
87 1 0 keys %attrs ? :
0 1 length $self->caption ? :