Condition Coverage

blib/lib/Perl/Tidy/Logger.pm
Criterion Covered Total %
condition 8 23 34.7


and 2 conditions

line l !l condition
511 0 0 not $ok and 0

and 3 conditions

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 0 2 0 $log_file ne "-" and not ref $log_file

or 3 conditions

line l !l&&r !l&&!r condition
71 3 536 15 $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 2930 0 4228 $self->{'_at_end_of_file'} or not $self->{'_use_prefix'}
494 0 0 0 $self->{'_logfile_gap'} > 1 || !$save_logfile