blib/lib/Perl/Tidy/Logger.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 24 | 37.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
417 | 0 | 0 | 0 | $self->get_use_prefix > 0 and defined $msg_line_number |
494 | 0 | 0 | 0 | $self->{'_saw_brace_error'} and $self->{'_logfile_gap'} > 1 || !$save_logfile |
509 | 2 | 0 | 0 | $fh->can("close") and !ref($log_file) ne "-" |
2 | 0 | 0 | $fh->can("close") and !ref($log_file) ne "-" and $log_file ne "-" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
71 | 3 | 541 | 16 | $fh_warnings or ref $warning_file |
185 | 3 | 0 | 3 | $input_line_number - $last_input_line_written >= $self->{'_logfile_gap'} or $input_line =~ /^\s*(sub|package)\s+(\w+)/ |
297 | 2964 | 0 | 4279 | $self->{'_at_end_of_file'} or not $self->{'_use_prefix'} |
494 | 0 | 0 | 0 | $self->{'_logfile_gap'} > 1 || !$save_logfile |