Branch Coverage

blib/lib/WWW/Google/Contacts/Roles/HasTypeAndLabel.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
51 4 2 any(@{$valid_types;}) eq $self->type->name ? :
63 0 4 if ($type->name eq '')
66 3 1 if defined $self->label and $self->label eq $type->name
72 0 3 if ($label eq '')
75 1 2 if defined $self->type and $self->type->name eq $label