Branch Coverage

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


line true false branch
16 2 0 ref {} eq ref $args[0] ? :
19 0 2 if exists $params->{'log_stamps'}
105 0 2 unless defined $category and defined $level
108 0 2 ref $self->log_flags eq ref [] ? :
112 0 2 unless exists $code_for{$level}
113 2 0 unless exists $flags->{$category}
119 2 0 unless $self->would_log($category, $level)
121 0 0 unless scalar @msgs
124 0 0 if $self->log_stamp
126 0 0 if $self->log_category
130 0 0 unless $msgs[-1] =~ /\n$/