Branch Coverage

blib/lib/API/Instagram/User.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
19 1 1 if shift()
25 1 1 if shift()
31 1 1 if shift()
38 2 1 unless my(@list) = $self->_self_requests('feed', '/users/self/feed', @_)
45 2 1 unless my(@list) = $self->_self_requests('liked-media', '/users/self/media/liked', @_)
52 2 1 unless my(@list) = $self->_self_requests('requested-by', '/users/self/requested-by', @_)
70 0 1 @_ % 2 ? :
80 3 2 if ($action)
81 2 1 if ($action ~~ \@actions)
102 6 3 if ($self->id ne $self->_api->user->id)
115 3 26 if exists $$opts{'profile_pic_url'}