| blib/lib/App/Codeowners/Formatter/String.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 20 | 55.0 |
| line | true | false | branch |
|---|---|---|---|
| 39 | 0 | 0 | unless my $filter = $filters[$i] |
| 40 | 0 | 0 | if ($filter =~ /^(?:nocolor|color:([0-9a-fA-F]{3,6}))$/) |
| 54 | 11 | 4 | unless my $rgb = shift() |
| 56 | 4 | 0 | if $ENV{'NO_COLOR'} or defined $ENV{'COLOR_DEPTH'} and not $ENV{'COLOR_DEPTH'} |
| 59 | 0 | 0 | unless ($rgb =~ /^[0-9a-fA-F]{6}$/) |
| 78 | 6 | 18 | ref $color eq 'CODE' ? : |
| 82 | 4 | 11 | if (ref $value eq 'ARRAY') { } |
| 89 | 0 | 0 | if (my $filter = $filter{$key}) { } |
| 96 | 4 | 11 | unless $value |
| 116 | 2 | 4 | unless my $owner = shift() |