Condition Coverage

blib/lib/Org/Element/Headline.pm
Criterion Covered Total %
condition 40 51 78.4


and 3 conditions

line !l l&&!r l&&r condition
45 1 0 0 $self->tags && @{$self->tags;}
83 14 2 3 $el->isa("Org::Element::Timestamp") and $el->is_active
139 6 0 5 $s and $s->isa("Org::Element::Headline")
6 2 3 $s and $s->isa("Org::Element::Headline") and $s->level > $l
148 4 2 2 $parent->isa("Org::Element::Headline") and $parent->level == $l
174 6 0 2 $ps and $ps->isa("Org::Element::Headline")
6 1 1 $ps and $ps->isa("Org::Element::Headline") and $ps->level < $l
213 14 1 13 $d->isa("Org::Element::Drawer") and $d->name eq $wanted_drawer_name
15 0 13 $d->isa("Org::Element::Drawer") and $d->name eq $wanted_drawer_name and $d->properties
227 0 7 5 $propd and defined $propd->properties->{$name}
229 0 5 2 $parent and $search_parent

or 2 conditions

line l !l condition
56 5 1 $self->tags // []
111 2 0 $res //= 1
117 1 7 $num_levels //= 1
160 1 5 $num_levels //= 1
186 0 1 $num_levels //= 1
198 0 1 $num_levels //= 1
209 13 0 shift() || 'PROPERTIES'
239 1 4 $search_docprop // 1
257 2 2 $self->children // []