Branch Coverage

blib/lib/Message/Passing/Filter/Encoder/JSON.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
33 1 6 unless ref $message
34 4 2 if (&blessed($message))
35 3 1 if ($message->can('pack')) { }
1 0 elsif ($message->can('to_hash')) { }