Branch Coverage

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


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