Condition Coverage

blib/lib/Metabrik/System/Route.pm
Criterion Covered Total %
condition 0 37 0.0


and 3 conditions

line !l l&&!r l&&r condition
118 0 0 0 length $device and $_->{'interface'} eq $device
119 0 0 0 $_->{'family'} eq 'inet4' and $_->{'default'}
142 0 0 0 length $device and $_->{'interface'} eq $device
143 0 0 0 $_->{'family'} eq 'inet6' and $_->{'default'}

or 2 conditions

line l !l condition
46 0 0 defined $self->global && $self->global->device || 'eth0'
83 0 0 $nr4->get || []
93 0 0 $nr6->get || []
114 0 0 $device ||= ''
138 0 0 $device ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
118 0 0 0 length $device and $_->{'interface'} eq $device or not length $device
142 0 0 0 length $device and $_->{'interface'} eq $device or not length $device
162 0 0 0 $device ||= $self->device
189 0 0 0 $device ||= $self->device
216 0 0 0 $device ||= $self->device