blib/lib/Org/Parser/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 20 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
122 | 0 | 0 | 0 | blessed($arg) and $arg->isa('IO::Handle') |
line | l | !l | condition |
---|---|---|---|
118 | 0 | 1 | $opts ||= {} |
144 | 0 | 0 | $opts ||= {} |
161 | 0 | 12 | $args{'children'} //= [] |
190 | 0 | 12 | $args{'preamble'} //= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
98 | 5 | 6 | 33 | $i == 0 or $nodes[$i]{'level'} < $level |
122 | 0 | 0 | 0 | $r eq 'GLOB' or blessed($arg) and $arg->isa('IO::Handle') |
247 | 7 | 1 | 0 | $_[0]{'_str'} // join('', '*' x $_[0]{'level'}, ' ', length $_[0]{'todo_state'} ? "$_[0]{'todo_state'} " : '', "$_[0]{'title'}", defined $_[0]{'tags'} ? ' :' . join(':', @{$_[0]{'tags'};}) . ':' : '', "\n") |