Condition Coverage

lib/Wireguard/WGmeta/Wrapper/Config.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
223 25 14 0 exists $self->{'parsed_config'}{$interface}{$identifier}{$attribute} and $self->{'parsed_config'}{$interface}{$identifier}{$attribute} eq $value
517 5 1 1 -e $safe_path and $is_hot_config
851 1 0 2 defined $interface and $self->is_valid_interface($interface)
914 53 1 0 exists $self->{'parsed_config'}{$interface}{'int_is_hot_config'} && $self->{'parsed_config'}{$interface}{'int_is_hot_config'} == 0 && $self->{'parsed_config'}{$interface}{'int_mtime'} > $on_disk_mtime

or 3 conditions

line l !l&&r !l&&!r condition
219 1 0 34 $attr_type == 13 or $attr_type == 12
916 1 0 53 $force or $unexpected_delete
1 10 43 $force or $unexpected_delete or $self->{'parsed_config'}{$interface}{'int_mtime'} < $on_disk_mtime