Branch Coverage

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


line true false branch
19 0 77 unless $app_class
21 9 68 unless Mouse::is_class_loaded($app_class)
32 230 59 unless ($persist_app)
36 30 200 unless $option{'components'}
39 54 176 if ($option{'minimal_setup'}) { }
45 14 40 if ($child == 0) { }
0 40 elsif (not defined $child) { }
63 69 206 if ($option{'reuse_connection'})
64 59 10 if ($persist_app) { }
73 8 267 ref $_[0] eq 'HTTP::Request' ? :
74 69 206 if ($cookie)
75 69 0 unless ($req->uri->can('host') and $req->uri->host)
79 68 1 unless $req->header('Cookie')
91 69 206 if ($cookie)
93 69 0 if $cookie
96 40 235 if $option{'minimal_setup'}
111 9 53 unless ('Ark::Context'->meta->does_role('Ark::Test::Context'))
131 74 62 if ($_[0])