Branch Coverage

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


line true false branch
23 0 9 unless defined $message
46 3 6 unless $verbose
56 4 6 unless $self->_internal_logger
66 6 0 if ($my_adapter)
106 2 3 if ($self->_internal_logger)
126 3 6 unless $self->verbose
130 2 4 if ((&Scalar::Util::reftype($msg) || '') eq 'HASH')
131 1 1 if $self->verbose < ($$msg{'level'} // -5)
138 2 3 if ((&Scalar::Util::reftype($msg) || '') eq 'ARRAY') { }
139 1 1 if ($logger->can('noticef')) { }
142 0 1 if ($logger->can('notice')) { }
147 2 1 if ($logger->can('notice')) { }