Branch Coverage

blib/lib/Net/Connection/Match/Username.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
75 1 1 if (defined $_[1])
80 1 1 unless (defined $args{'usernames'})
83 0 1 if (ref \$args{'usernames'} eq 'ARRAY')
86 0 1 unless (defined $args{'usernames'}[0])
116 1 3 unless (defined $object)
120 1 2 if (ref $object ne 'Net::Connection')
125 0 2 unless (defined $object->username)
131 1 2 if ($username eq $object->username)