Branch Coverage

blib/lib/HTTP/Session/State/MobileAttributeID.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
16 0 5 ref $_[0] ? :
19 0 5 unless $args{$_}
22 4 1 exists $args{'check_ip'} ? :
23 0 5 exists $args{'permissive'} ? :
31 4 1 if ($ma->can('user_id')) { }
32 3 1 if (my $user_id = $ma->user_id) { }
33 1 2 if ($self->check_ip)
35 1 0 unless ($ma->isa_cidr($ip))