Condition Coverage

blib/lib/Auth/GoogleAuth.pm
Criterion Covered Total %
condition 17 26 65.3


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 5 $range =~ /^\d+$/ and $range >= 0
88 4 4 1 not $_ and $code eq $self->code($secret32, $timestamp, $interval)

or 2 conditions

line l !l condition
63 22 3 $interval ||= 30
80 5 0 $code ||= ""
81 3 2 $range ||= 0
83 0 5 $interval ||= 30

or 3 conditions

line l !l&&r !l&&!r condition
62 25 0 0 $timestamp ||= time
82 5 0 0 $timestamp ||= time
88 1 0 8 not $_ and $code eq $self->code($secret32, $timestamp, $interval) or $code eq $self->code($secret32, $timestamp + $interval * $_, $interval)
1 2 6 not $_ and $code eq $self->code($secret32, $timestamp, $interval) or $code eq $self->code($secret32, $timestamp + $interval * $_, $interval) or $code eq $self->code($secret32, $timestamp - $interval * $_, $interval)