Branch Coverage

blib/lib/HTTP/MobileAgent/Vodafone.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
25 3 4 if $self->is_type_3gc
26 1 3 if $self->version =~ /^3\./
27 1 2 if $self->version =~ /^2\./
32 3 4 if $self->is_type_3gc
33 1 3 if $self->version =~ /^4\./
38 3 4 if $self->is_type_3gc
39 1 3 if $self->version =~ /^5\./
50 3 69 if $self->user_agent =~ /^Vodafone/
51 2 67 if $self->user_agent =~ /^MOT-/
57 21 46 if (@rest) { }
61 20 1 if ($$self{'serial_number'})
62 0 20 unless $$self{'serial_number'} =~ s/^SN//
74 45 1 if $$self{'model'}
91 2 1 if ($$self{'serial_number'})
92 0 2 unless $$self{'serial_number'} =~ s/^SN//
129 1 0 if (my $c_str = $self->get_header('x-jphone-color'))