Branch Coverage

blib/lib/Dancer/Session/DBIC.pm
Criterion Covered Total %
branch 12 30 40.0


line true false branch
158 2 17 unless (defined $session_object)
173 17 0 if $session
186 0 2 unless (defined $self->id)
203 0 43 if $INC{'threads.pm'}
208 42 1 if ($$handle{'schema'})
215 1 0 if (my $schema = $$settings{'schema'}) { }
0 0 elsif (not defined $$settings{'schema_class'}) { }
216 0 1 if (blessed $schema) { }
1 0 elsif (ref $schema) { }
223 0 0 unless $Dancer::Plugin::DBIC::VERSION
263 0 0 if ($schema_class) { }
266 0 0 if $@
271 0 0 if $@
285 0 11 if (defined $$settings{'serializer'})
300 0 17 if (defined $$settings{'deserializer'})