Condition Coverage

blib/lib/PlackX/Framework/Router.pm
Criterion Covered Total %
condition 18 30 60.0


and 3 conditions

line !l l&&!r l&&r condition
81 0 28 0 ref $action and ref $action eq 'CODE' || ref $action eq 'HASH'
150 0 1 48 defined $subnames and Sub::Util::subname($action) =~ /__ANON__/u
160 24 0 0 ref $val eq "ARRAY" and @$val > 0

or 2 conditions

line l !l condition
68 2 4 $local_filters->{$package}{$when} ||= []
122 3 2 shift @args // undef
151 38 10 $subnames->{$package} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
52 1 2 0 $when eq "before" or $when eq "after"
65 3 3 0 $when eq "before" or $when eq "after"
81 28 0 0 ref $action eq 'CODE' || ref $action eq 'HASH'
108 0 0 12 $options{'filter'} //= $options{'filters'}
109 9 3 0 $engines->{$class} ||= $class->engine