Branch Coverage

blib/lib/MooX/Role/Chatty.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
24 0 9 unless defined $message
47 3 6 unless $verbose
57 4 6 unless $self->_internal_logger
67 6 0 if ($my_adapter)
107 2 3 if ($self->_internal_logger)
127 3 6 unless $self->verbose
131 2 4 if ((&Scalar::Util::reftype($msg) || '') eq 'HASH')
132 1 1 if $self->verbose < ($$msg{'level'} // -5)
139 2 3 if ((&Scalar::Util::reftype($msg) || '') eq 'ARRAY') { }
140 1 1 if ($logger->can('noticef')) { }
143 0 1 if ($logger->can('notice')) { }
148 2 1 if ($logger->can('notice')) { }