Branch Coverage

blib/lib/Farly/Remove/Address.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
13 0 1 unless defined $container
16 0 1 unless $container->isa('Farly::Object::List')
35 0 2 unless defined $ip
37 0 2 unless defined $ip->isa('Farly::IPv4::Address')
46 2 0 if ($objects_for_cleanup->size != 0)
69 125 4 unless ($object->has_defined('REMOVE'))
123 1 3 if ($object->get('ENTRY')->equals($GROUP)) { }
2 1 elsif ($object->get('ENTRY')->equals($OBJECT)) { }
1 0 elsif ($object->get('ENTRY')->equals($RULE)) { }
0 0 elsif ($object->get('ENTRY')->equals($NAME)) { }
0 0 elsif ($object->get('ENTRY')->equals($INTERFACE)) { }
0 0 elsif ($object->get('ENTRY')->equals($ROUTE)) { }
131 0 1 unless (defined $actual)
137 0 1 if ($actual->size == 1) { }
229 1 768 if ($object->get($property)->equals($search))
246 3 1 unless ($object->matches($remove))
261 1 3 if $$remove[$i]->has_defined('LINE')