File Coverage

blib/lib/HTTP/MobileAgent/Plugin/CIDR/RegEx.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package HTTP::MobileAgent::Plugin::CIDR::RegEx;
2              
3 2     2   12 use strict;
  2         3  
  2         67  
4 2     2   43 use warnings;
  2         6  
  2         2449  
5              
6             package # hide from PAUSE
7             HTTP::MobileAgent::DoCoMo;
8              
9 128     128   1222 sub __network_regex { qr(^(?:110100101001100101010100[01]{8}|110100101000100010100001[01]{8}|110100101001100101010110[01]{8}|110100101001100101010111[01]{8}|110010111000101010110100[01]{8}|110010111000101010110101[01]{8}|110010111000101011001011[01]{8})$) }
10              
11             package # hide from PAUSE
12             HTTP::MobileAgent::EZweb;
13              
14 128     128   1461 sub __network_regex { qr(^(?:110100101010100100101000[01]{8}|11010010110001000000001111[01]{6}|11010010110001000000010111[01]{6}|110100101110011010000000[01]{8}|11010010111001101000110111[01]{6}|11010010111010100110100100100[01]{3}|11010010111010100110110001[01]{6}|11010010111110110000000111[01]{6}|110100101111101100000010000[01]{5}|110100110000010100000001[01]{8}|1101001100000101000000101[01]{7}|110100110000010100000111[01]{8}|110110101101111000000001[01]{8}|001111010111010100000000[01]{8}|001111010111010100000001[01]{8}|00111101011101010000001000[01]{6}|001111011100101000000011[01]{8}|11011011011011001001111000[01]{6}|110110110111110110010100[01]{8}|110111100000010100111111[01]{8}|110111100000011100111000[01]{8}|1101111000000101001111101[01]{7}|110111100000011100111001[01]{8}|0011101110000111001001101[01]{7}|1101101101101100100111010[01]{7}|1101101101111101100101111[01]{7}|1101101101111101100100010[01]{7}|0111100101101111111001110[01]{7}|011110010110111111100111101[01]{5}|0111100101101111111000110[01]{7})$) }
15              
16             package # hide from PAUSE
17             HTTP::MobileAgent::Vodafone;
18              
19 128     128   1280 sub __network_regex { qr(^(?:011110110110110011101100[01]{8}|011110110110110011101101000[01]{5}|110010101011001111001100[01]{8}|110010101111110101100000111[01]{5}|11010010100100100000011111[01]{6}|11010010100100100011110011[01]{6}|11010010100101110000100110[01]{6}|1101001010101001100000100111[01]{4}|1101001010101111000000011[01]{7}|110100101110010010111101[01]{8}|1101001100001000100111111[01]{7})$) }
20              
21             package # hide from PAUSE
22             HTTP::MobileAgent::AirHPhone;
23              
24 128     128   1701 sub __network_regex { qr(^(?:001111011100011010001110[01]{8}|110110110110110000001110[01]{8}|001111011100011010100001[01]{8}|110110110110110000000000[01]{8}|001111011100011011111001[01]{8}|110110110110110000000001[01]{8}|001111011100011011111010[01]{8}|110110110110110000000010[01]{8}|001111011100011011111101[01]{8}|110110110110110000000011[01]{8}|001111011100011011111110[01]{8}|110110110110110000000100[01]{8}|001111011100011011111111[01]{8}|110110110110110000000101[01]{8}|0011110111001100000000110[01]{7}|110110110110110000000110[01]{8}|001111011100110000000100[01]{8}|110111010111011100000000[01]{8}|0011110111001100000001100[01]{7}|110111010111011100000001[01]{8}|011111010001110000000100[01]{8}|110111010111011100000010[01]{8}|011111010001110000000101[01]{8}|110111010111011100000011[01]{8}|011111010001110000000110[01]{8}|110111010111011100000100[01]{8}|011111010001110000000111[01]{8}|110111010111011100000101[01]{8}|011111010001110000001000[01]{8}|110111010111011100000110[01]{8}|110100110001001011101011[01]{8}|110111010111011100000111[01]{8}|110100110001001011101110[01]{8}|110111010111011100001000[01]{8}|110100110001001011101111[01]{8}|110111010111011100001001[01]{8}|011111010001110000001011[01]{8}|011111010001110000001101[01]{8}|011111010001110000001100[01]{8}|011111010001110000001110[01]{8}|011111010001110000000010[01]{8}|011111010001110000000011[01]{8}|110100110001001011101000[01]{8}|110100110001001011101001[01]{8}|110100110001001011101100[01]{8}|110100110001001011101101[01]{8}|011111010001110000000000[01]{8}|011111010001110000000001[01]{8}|001111011100110000000000[01]{8}|110100101010100011110110[01]{8}|110100101010100011110111[01]{8}|110110110110110000000111[01]{8}|001111011100110000000010[01]{8}|001111011100110000000101[01]{8}|001111011100011010000001[01]{8}|001111011100011010001100[01]{8}|001111011100011010001101[01]{8}|011111010001110000001111[01]{8}|001111011100011010100101[01]{8}|001111011100011010100110[01]{8}|001111011100011010101000[01]{8}|001111011100011010101001[01]{8}|001111011100011010101010[01]{8}|001111011100011011111000[01]{8}|011111010001110000010000[01]{8}|011111010001110000010001[01]{8}|110100110001001011101010[01]{8}|110110110110110000001000[01]{8}|110110110110110000001001[01]{8}|110110110110110000001010[01]{8}|00111101110001101000101001100100|00111101110001101000101001100101|00111101110001101000101001100110|0011110111000110100010111010[01]{4}|001111011100011010001011100[01]{5}|00111101110001101000101001100111|00111101110001101000101100000[01]{3}|110110110110110000001111[01]{8}|001111011100011010000010[01]{8}|001111011100011010100011[01]{8})$) }
25              
26             1;
27              
28             __END__