Condition Coverage

blib/lib/App/Codeowners.pm
Criterion Covered Total %
condition 6 22 27.2


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 4 defined $color and not $color

or 2 conditions

line l !l condition
51 1 2 $opts->{'projects'} // scalar @{$codeowners->projects;}
58 3 0 $opts->{'format'} || ' * %-50F %O'
78 0 0 $match->{'pattern'} or ''
82 0 0 $match->{'project'} or ''
109 0 0 $opts->{'format'} || '%O'
129 0 0 $opts->{'format'} || '%T'
149 0 0 $opts->{'format'} || '%P'
163 0 1 $filepath || '.'

or 3 conditions

line l !l&&r !l&&!r condition
170 0 1 0 find_codeowners_in_directory($path) || $repopath->child('CODEOWNERS')