Condition Coverage

blib/lib/App/Codeowners/Options.pm
Criterion Covered Total %
condition 4 35 11.4


and 3 conditions

line !l l&&!r l&&r condition
19 0 0 0 @_ == 1 && $_[0] =~ /^\d+$/ && $_[0]
0 0 0 @_ % 2 == 0 && {@_}->{'-exitval'}
166 12 0 0 @_ == 1 && ref $_[0] eq 'HASH'

or 2 conditions

line l !l condition
19 0 0 (@_ == 1 && $_[0] =~ /^\d+$/ && $_[0] // @_ % 2 == 0 && {@_}->{'-exitval'}) // 2
102 0 0 $args[0] || ''
104 0 0 $ENV{'CUR'} || ''
107 0 0 $args_copy[$cword] || ''
131 5 0 $command or ""
185 7 5 $args->{'config'} || 'default'
194 0 0 shift() || 'bash'
240 0 0 $words[$cword] || ''
241 0 0 $words[$cword - 1] || ''
268 0 0 shift() || [$self->_options]

or 3 conditions

line l !l&&r !l&&!r condition
19 0 0 0 @_ == 1 && $_[0] =~ /^\d+$/ && $_[0] // @_ % 2 == 0 && {@_}->{'-exitval'}
245 0 0 0 $prev eq "--format" or $prev eq "-f"