Condition Coverage

blib/lib/Org/Parser/Tiny.pm
Criterion Covered Total %
condition 8 20 40.0


and 3 conditions

line !l l&&!r l&&r condition
122 0 0 0 blessed($arg) and $arg->isa('IO::Handle')

or 2 conditions

line l !l condition
118 0 1 $opts ||= {}
144 0 0 $opts ||= {}
161 0 9 $args{'children'} //= []
177 0 9 $args{'preamble'} //= ''

or 3 conditions

line l !l&&r !l&&!r condition
98 5 3 19 $i == 0 or $nodes[$i]{'level'} < $level
122 0 0 0 $r eq 'GLOB' or blessed($arg) and $arg->isa('IO::Handle')
237 1 1 0 $_[0]{'_str'} // join('', '*' x $_[0]{'level'}, ' ', length $_[0]{'todo_state'} ? "$_[0]{'todo_state'} " : '', "$_[0]{'title'}", defined $_[0]{'tags'} ? ' :' . join(':', @{$_[0]{'tags'};}) . ':' : '', "\n")