Branch Coverage

blib/lib/Net/Cisco/AccessList/Extended.pm
Criterion Covered Total %
branch 58 64 90.6


line true false branch
25 1 3 unless defined $name
40 2 29 unless defined $$arg_ref{'access'}
41 1 0 unless defined $$arg_ref{'proto'} or defined $$arg_ref{'proto_og'}
44 1 27 if defined $$arg_ref{'proto'} and defined $$arg_ref{'proto_og'}
47 1 26 if defined $$arg_ref{'src_mask'} and not defined $$arg_ref{'src_ip'}
49 1 25 if defined $$arg_ref{'dst_mask'} and not defined $$arg_ref{'dst_ip'}
52 1 24 if defined $$arg_ref{'src_ip'} and defined $$arg_ref{'src_og'}
54 1 23 if defined $$arg_ref{'dst_ip'} and defined $$arg_ref{'dst_og'}
57 1 22 if defined $$arg_ref{'src_svc_hi'} and not defined $$arg_ref{'src_svc'}
59 1 21 if defined $$arg_ref{'src_svc'} and not defined $$arg_ref{'src_svc_op'}
61 1 20 if defined $$arg_ref{'src_svc_op'} and defined $$arg_ref{'src_svc_og'}
64 1 19 if defined $$arg_ref{'dst_svc_hi'} and not defined $$arg_ref{'dst_svc'}
66 1 18 if defined $$arg_ref{'dst_svc'} and not defined $$arg_ref{'dst_svc_op'}
68 1 17 if defined $$arg_ref{'dst_svc_op'} and defined $$arg_ref{'dst_svc_og'}
71 1 16 if defined $$arg_ref{'icmp'} and defined $$arg_ref{'icmp_og'}
73 4 2 if defined $$arg_ref{'icmp'} || defined $$arg_ref{'icmp_og'} and defined $$arg_ref{'src_svc_op'} || defined $$arg_ref{'src_svc_og'} || defined $$arg_ref{'dst_svc_op'} || defined $$arg_ref{'dst_svc_og'}
87 5 3 $$arg_ref{'access'} =~ /^(?:[Pp]ermit|1)$/ ? :
90 8 0 defined $$arg_ref{'proto'} ? :
93 0 7 defined $$arg_ref{'src_ip'} ? :
0 7 defined $$arg_ref{'src_mask'} ? :
1 7 defined $$arg_ref{'src_og'} ? :
99 0 7 defined $$arg_ref{'dst_ip'} ? :
0 7 defined $$arg_ref{'dst_mask'} ? :
1 7 defined $$arg_ref{'dst_og'} ? :
105 1 7 if defined $$arg_ref{'src_svc_og'}
107 1 7 if defined $$arg_ref{'src_svc_op'}
109 1 7 if defined $$arg_ref{'src_svc_hi'}
111 1 7 if defined $$arg_ref{'dst_svc_og'}
113 1 7 if defined $$arg_ref{'dst_svc_op'}
115 1 7 if defined $$arg_ref{'dst_svc_hi'}
117 1 7 if defined $$arg_ref{'icmp_og'}
119 1 7 if defined $$arg_ref{'icmp'}