ITSEC_Lib_IP_Tools B

Total Complexity 80
Dependencies 1
Dependents 9
Total lines 636
Lines of code 267
Logical lines of code 168
Comment lines 288
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
intersect()
A
52 12 23
_ipv6_cidr_to_ip_regex()
A
42 10 49
validate()
S
58 7 15
in_range()
S
53 6 22
ip_wild_to_ip_cidr()
S
59 6 13
ip_cidr_to_ip_regex()
S
59 5 14
_ipv4_cidr_to_ip_regex()
S
54 4 19
is_range()
S
63 5 10
_is_valid_cidr()
S
64 5 9
get_ip_range()
S
56 3 18
_ipv4_wild_to_ip_cidr()
S
59 3 13
_ipv6_wild_to_ip_cidr()
S
59 3 13
get_mask()
S
65 2 8
_bin2mask_v4()
S
67 2 7
_bin2mask_v6()
S
67 2 7
_ip_cidr()
S
65 2 9
_clean_wildcards()
S
64 1 11
clean_wildcards_preg_replace_callback()
S
78 1 3
ipv6_regex_preg_replace_callback()
S
74 1 4