blib/lib/File/TypeCategories.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 23 | 86.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
68 | 0 | 0 | 30 | $config_dir and -d $config_dir |
133 | 1 | 3 | 1 | $match and $match != 2 |
176 | 220 | 3 | 6 | $types->{$type}{'bang'} and -r $file |
223 | 1 | 5 | $types->{$type}{'bang'} and -r $file and -f $file | |
4 | 1 | 4 | $types->{$type}{'bang'} and -r $file and -f $file and -s $file | |
185 | 224 | 1 | 1 | $types->{$type}{'none'} and not $file =~ m[ [^/] [.] [^/]+ $]msx |
line | l | !l | condition |
---|---|---|---|
76 | 451 | 452 | $self->type_suffixes->{$file_type} ||= {'definite', [], 'possible', [], 'other_types', [], 'none', 0, 'bang', ''} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
155 | 11 | 0 | 1 | !$includes || $matched || $possible |