Branch Coverage

blib/lib/Net/CLI/Interact/Logger.pm
Criterion Covered Total %
branch 7 22 31.8


line true false branch
17 2 0 ref {} eq ref $args[0] ? :
20 0 2 if exists $params->{'log_stamps'}
104 0 2 unless defined $category and defined $level
107 0 2 ref $self->log_flags eq ref [] ? :
111 0 2 unless exists $code_for{$level}
112 2 0 unless exists $flags->{$category}
118 2 0 unless $self->would_log($category, $level)
120 0 0 unless scalar @msgs
123 0 0 if $self->log_stamp
125 0 0 if $self->log_category
129 0 0 unless $msgs[-1] =~ /\n$/