Branch Coverage

blib/lib/HTTP/MobileAgent/DoCoMo.pm
Criterion Covered Total %
branch 35 40 87.5


line true false branch
43 4 170 if ($foma_or_comment and $foma_or_comment =~ s/^\((.*)\)$/$1/) { }
17 153 elsif ($foma_or_comment) { }
64 1 156 if $$self{'model'} eq 'SH505i2'
66 105 52 if ($cache)
67 0 105 unless $cache =~ s/^c//
72 5 33 if (/^ser(\w{11})$/)
73 19 14 if (/^(T[CDBJ])$/)
74 5 9 if (/^s(\d+)$/)
75 3 6 if (/^W(\d+)H(\d+)$/)
82 0 17 unless $foma =~ s/^([^\(]+)//
84 1 16 if $1 eq 'MST_v_SH2101V'
86 16 1 if ($foma =~ s/^\((.*?)\)$//)
89 16 5 if /^c(\d+)$/
90 2 3 if /^ser(\w{15})$/
91 2 1 if /^icc(\w{20})$/
92 1 0 if /^(T[CDBJ])$/
93 0 0 if /^W(\d+)H(\d+)$/
104 32 79 if $self->model =~ /$re/
118 9 23 if ($self->is_foma and $model =~ /\d{4}/)
136 1 3 if ($$self{'display_bytes'})