Branch Coverage

blib/lib/GSM/ARFCN.pm
Criterion Covered Total %
branch 38 40 95.0


line true false branch
60 1 5 if (scalar @_ == 1) { }
65 5 1 unless $self->bpi
66 4 2 if defined $self->channel
73 1 29 if ($n == 0) { }
8 21 elsif ($n >= 1 and $n <= 124) { }
2 19 elsif ($n >= 128 and $n <= 251) { }
2 17 elsif ($n >= 259 and $n <= 293) { }
2 15 elsif ($n >= 306 and $n <= 340) { }
0 15 elsif ($n >= 350 and $n <= 425) { }
2 13 elsif ($n >= 438 and $n <= 511) { }
4 9 elsif ($n >= 512 and $n <= 810) { }
2 7 elsif ($n >= 811 and $n <= 885) { }
2 5 elsif ($n >= 955 and $n <= 974) { }
3 2 elsif ($n >= 975 and $n <= 1023) { }
109 2 2 if ($self->bpi eq 'GSM-1800') { }
138 28 2 if $self->band
151 22 46 if (@_)
153 22 0 if defined $$self{'channel'}
169 6 17 if (@_)
171 4 2 if defined $self->channel