blib/lib/API/Instagram.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 30 | 63.3 |
line | l | !l | condition |
---|---|---|---|
56 | 0 | 0 | carp("ERROR: $_ required for generating authorization URL") and return |
70 | 0 | 1 | carp("ERROR: $_ required for generating access token.") and return |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
177 | 2 | 1 | 0 | $$opts{'token_not_required'} and defined $self->client_id |
line | l | !l | condition |
---|---|---|---|
82 | 23 | 10 | shift() // 'self' |
133 | 0 | 5 | $$params{'count'} //= 33 |
146 | 5 | 0 | delete $$params{'url'} || (return []) |
147 | 3 | 2 | $$params{'count'} // 999999999 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
47 | 28 | 0 | 0 | $instance //= (shift())->new(@_) |
114 | 3 | 71 | 4 | $optional_code || defined $code |
4 | 8 | 66 | not $optional_code || defined $code or ref $code | |
117 | 64 | 2 | 0 | $code // $data |
120 | 0 | 66 | 0 | $self->_cache($type)->{$cache_code} //= "API::Instagram::$type"->new($data) |