Branch Coverage

blib/lib/Inky.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
24 9 24 if ($element->attr('class'))
39 35 5 if exists $skipped{$attr}
136 1 3 if $element->attr('target')
141 4 0 if $element->attr('href')
147 2 1 unless $_ eq 'expand'
1 3 if (scalar grep({$_ eq 'expanded' unless $_ eq 'expand';} @el_classes))
161 4 1 if ($element->children->size > 0)
185 53 0 if exists $COMPONENTS{$tag}
201 3 13 exists $attributes->{'no-expander'} ? :
205 1 15 if exists $attributes->{'no-expander'} and not defined $attributes->{'no-expander'}
206 1 15 if $attr_no_expander eq 'false'
215 1 15 if ($col->attr('class'))
233 11 5 unless $col->preceding('columns, .columns')->size
235 11 5 unless $col->following('columns, .columns')->size
241 4 3 if ($large_size == $self->column_count and $col->find('.row, row')->size == 0 and not $attr_no_expander)
294 42 462 $_ eq 'center' ? :