Branch Coverage

blib/lib/Statocles/Test.pm
Criterion Covered Total %
branch 16 48 33.3


line true false branch
34 18 51 $site_args{'build_store'} ? :
39 19 50 $site_args{'deploy'} ? :
77 10 8 unless ($site_args{'apps'})
113 1 0 $args{'required'} ? :
114 0 1 $args{'default'} ? :
127 1 0 eval { do { $got->isa($want) } } ? :
0 1 !&Scalar::Util::blessed($got) ? :
0 1 !ref($got) ? :
0 1 !defined($got) ? :
132 1 0 if ($args{'required'})
145 0 1 if ($args{'default'})
149 0 0 if (ref $defaults{$key} eq 'CODE') { }
170 1 0 if (ref $_[0] eq 'HASH')
196 0 0 eval { do { $date->isa($want) } } ? :
0 0 !&Scalar::Util::blessed($date) ? :
0 0 !ref($date) ? :
0 0 !defined($date) ? :
201 0 0 unless ($page_tests{$page->path})
209 0 0 if (ref $output eq 'GLOB') { }
0 0 elsif (&Scalar::Util::blessed($output) and $output->isa('Path::Tiny')) { }
217 0 0 if ($page->path =~ /[.](?:html|rss|atom)$/) { }
0 0 elsif ($page_tests{$page->path}) { }
219 0 0 unless $dom
231 0 1 unless $tb->ok(!@warnings, 'no warnings!')