Branch Coverage

lib/Wireguard/WGmeta/Cli/Commands/Show.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
70 0 0 if ($len > 0)
72 0 0 if $first_arg eq "help"
73 0 0 if $self->_retrieve_or_die($self->{'input_args'}, -1) eq "dump"
75 0 0 if ($len > 1)
86 0 0 unless ($interface eq "all" or $self->wg_meta->is_valid_interface($interface))
90 0 0 if (defined $ENV{'IS_TESTING'}) { }
101 0 0 if (not $interface eq 'all') { }
108 0 0 defined $ref_attr_list ? :
113 0 0 $interface_is_active ? :
116 0 0 if ($use_default)
118 0 0 $type eq 'Interface' ? :
119 0 0 if ($is_dump) { }
127 0 0 if exists $config_section{'alias'}
130 0 0 $interface_is_active && keys %wg_show_section > 1 ? :
131 0 0 $state == 1 ? :
145 0 0 if $printed_attribute eq "alias" or $printed_attribute eq "disabled"
149 0 0 if (exists $self->{'wg_show_lookup'}{$printed_attribute}) { }
150 0 0 if exists $ref_show_section->{$printed_attribute}
154 0 0 if (exists $ref_config_section->{$printed_attribute}) { }
159 0 0 if exists $ref_show_section->{$printed_attribute}
163 0 0 if exists $self->{'attr_converters'}{$printed_attribute}
174 0 0 if (exists $self->{'wg_show_lookup'}{$printed_attribute}) { }
175 0 0 if exists $ref_show_section->{$printed_attribute}
180 0 0 if (exists $ref_config_section->{$printed_attribute}) { }
185 0 0 if exists $ref_show_section->{$printed_attribute}