Branch Coverage

blib/lib/Mojolicious/Plugin/Inertia.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
13 1 9 unless $conf->{'version'}
14 1 8 unless $conf->{'layout'}
21 1 7 ref $conf->{'layout'} ? :
25 1 7 defined $conf->{'encrypt_history'} ? :
26 1 7 defined $conf->{'clear_history'} ? :
34 1 14 defined $options->{'encrypt_history'} ? :
35 1 14 defined $options->{'clear_history'} ? :
42 1 14 if ($c->req->method eq "GET" and $inertia_version and $inertia_version ne $version)
51 4 10 if ($partial_data and $partial_component)
61 3 18 (builtin::reftype($prop) || '') eq 'CODE' ? :
81 11 3 if ($is_inertia) { }