blib/lib/Data/Tubes/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 34 | 70.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
44 | 1 | 55 | 55 | @_ and ref $_[-1] eq "HASH" |
50 | 0 | 0 | 24 | @_ && ref $_[0] |
136 | 6 | 0 | 23 | not $closed and pos $text < length $text |
238 | 128 | 0 | 56 | scalar(@_) % 2 and ref $_[0] ne "HASH" |
244 | 42 | 173 | 10 | @_ && ref $_[0] eq 'HASH' |
438 | 0 | 6 | 12 | @_ and ref $_[0] eq "HASH" |
445 | 0 | 0 | 24 | @_ && ref $_[0] |
line | l | !l | condition |
---|---|---|---|
127 | 0 | 9 | $args->{'pos'} || 0 |
336 | 41 | 10 | $prefix //= "Data::Tubes::Plugin" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 3 | 2 | 32 | $first eq "'" or $first eq "\"" |
122 | 3 | 9 | 0 | $h{'capture'} ||= _compile_capture(%h) |
197 | 12 | 6 | 0 | $module->can($sub) // _load_module($module)->can($sub) |