Condition Coverage

blib/lib/Mojolicious/Command/Author/generate/role.pm
Criterion Covered Total %
condition 12 13 92.3


and 3 conditions

line !l l&&!r l&&r condition
18 1 1 1 $consumer && !$full
19 2 1 0 not $consumer and $class =~ /^(.*)::Role::(.*)/
21 1 1 1 $consumer && $class =~ /^$consumer::Role::(.*)/

or 2 conditions

line l !l condition
16 2 1 pop @args // 'MyRole'
22 2 1 $consumer //= 'Mojo::Base'