Branch Coverage

blib/lib/Mojar/Google/Analytics.pm
Criterion Covered Total %
branch 3 20 15.0


line true false branch
26 2 1 unless @_
27 0 1 if (@_ == 1) { }
62 0 0 unless my $req = $self->req
65 0 0 unless $self->has_valid_token
76 0 0 $res->parse($tx->res) ? :
81 0 0 unless my $token = $self->token
82 0 0 unless my $jwt = $self->jwt
83 0 0 unless time < $jwt->exp - $self->validity_margin
107 0 0 if ($res->is_success) { }
109 0 0 unless ref $j eq 'HASH' and $j->{'expires_in'}