Branch Coverage

blib/lib/Net/IANA/Services.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
144 4 4 if (defined $protocol) { }
146 4 0 if (defined $port_ref) { }
147 2 2 $$port_ref{$protocol} ? :
154 3 1 $$IANA_HASH_SERVICES_FOR_PORT{$port} ? :
163 4 4 if (defined $protocol) { }
165 4 0 if (defined $serv_ref) { }
166 2 2 $$serv_ref{$protocol} ? :
173 3 1 $$IANA_HASH_PORTS_FOR_SERVICE{$service} ? :
183 4 4 if (defined $protocol) { }
185 4 0 if (defined $port_ref)
192 6 2 if (defined $ret) { }
193 0 6 wantarray ? :
207 7 1 if (defined $serv_ref)
208 4 3 defined $protocol ? :
210 6 2 if (defined $ret) { }
211 0 6 wantarray ? :