Branch Coverage

blib/lib/Ark/Test.pm
Criterion Covered Total %
branch 32 36 88.8


line true false branch
18 0 76 unless $app_class
20 9 67 unless Mouse::is_class_loaded($app_class)
31 229 59 unless ($persist_app)
34 30 199 unless $option{'components'}
38 54 175 if ($option{'minimal_setup'}) { }
44 14 40 if ($child == 0) { }
0 40 elsif (not defined $child) { }
62 68 206 if ($option{'reuse_connection'})
63 59 9 if ($persist_app) { }
72 8 266 ref $_[0] eq 'HTTP::Request' ? :
73 68 206 if ($cookie)
74 68 0 unless ($req->uri->can('host') and $req->uri->host)
78 67 1 unless $req->header('Cookie')
90 68 206 if ($cookie)
92 68 0 if $cookie
95 40 234 if $option{'minimal_setup'}
110 9 53 unless ('Ark::Context'->meta->does_role('Ark::Test::Context'))
130 74 62 if ($_[0])