Branch Coverage

blib/lib/Catmandu/Fix/vacuum.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
16 4 6 unless is_hash_ref($v) and %$v
21 19 6 unless not defined $v or is_value($v) and not $v =~ /\S/ or is_hash_ref($v) and not %$v
30 0 1 unless $self->_visit($data)
39 8 8 if ($seen{$id}) { }
40 6 2 if (is_hash_ref($d)) { }
2 0 elsif (is_array_ref($d)) { }
42 4 3 if $self->_empty($d->{$k})
54 6 2 if (is_hash_ref($d)) { }
2 0 elsif (is_array_ref($d)) { }
57 8 7 if ($self->_empty($v)) { }
6 1 elsif ($self->_visit($v)) { }
68 1 2 if $self->_empty($v)
70 1 1 if $self->_visit($v)