Branch Coverage

lib/CatalystX/Eta/Controller/AutoObject.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
17 1 6 !defined($config->{'object_verify_type'}) ? :
19 7 0 unless ($config->{'object_verify_type'} eq 'none')
21 7 0 if ($config->{'object_verify_type'} eq 'int') { }
0 0 elsif ($config->{'object_verify_type'} eq 'uuid4') { }
22 0 7 $self->config->{'id_can_de_negative'} ? :
23 0 7 unless $id =~ /^${id_can_de_negative}[0-9]+$/
27 0 0 unless $id =~ /[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}/i
40 1 6 unless defined $c->stash->{$config->{'object_key'}}