Condition Coverage

blib/lib/Mojolicious/Plugin/Util/RandomString.pm
Criterion Covered Total %
condition 14 15 93.3


and 3 conditions

line !l l&&!r l&&r condition
45 3 3 14 ref $param{$_} and ref $param{$_} eq 'HASH'
91 42 163 2 $gen and not exists $generator{$gen}

or 2 conditions

line l !l condition
97 163 42 $gen or 'default'
106 2 1 $overwrite{'length'} //= undef
109 0 9 $overwrite{'entropy'} //= undef

or 3 conditions

line l !l&&r !l&&!r condition
85 8 216 3 'Mojo::IOLoop'->is_running or $ok > 0