Condition Coverage

blib/lib/Data/Tubes/Plugin/Plumbing.pm
Criterion Covered Total %
condition 18 30 60.0


and 3 conditions

line !l l&&!r l&&r condition
46 2 0 12 not defined $selector and defined $args->{'key'}
82 8 0 0 not defined $selector and defined $args{'output'}
86 5 0 3 defined $cleaner and not ref $cleaner
90 7 1 0 defined $merger and not ref $merger
295 51 11 7 $gate and not &$gate($record)

or 2 conditions

line l !l condition
69 8 0 $args{'cache'} // {}
249 15 0 $args{'tubes'} || []
264 1 14 $args{'gate'} // undef

or 3 conditions

line l !l&&r !l&&!r condition
55 14 0 0 defined $selector or $args->{'missing_ok'}
165 24 0 0 &$selector($record) // $default
173 10 14 0 $handler_for{$key} //= exists $predefined_for{$key} ? (tubify($predefined_for{$key}))[0] : (tubify(\%args, &$factory($key, $record)))[0]