blib/lib/Iterator/Files.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 15 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
165 | 0 | 2 | 1 | defined $$self{'_edit'} and $$self{'_edit'} eq '' |
245 | 31 | 2 | 2 | defined $$self{'_edit'} and defined $$self{'_rewrite_fh'} |
260 | 14 | 1 | 3 | $$self{'_magic'} eq 'stdin' and $self->current_file eq '-' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
237 | 1 | 0 | 0 | 'stdin' eq $magic || 'all' eq $magic |
260 | 0 | 0 | 18 | $$self{'_magic'} eq 'all' or $$self{'_magic'} eq 'stdin' and $self->current_file eq '-' |