Branch Coverage

blib/lib/Datastar/SSE/Types.pm
Criterion Covered Total %
branch 4 42 9.5


line true false branch
39 0 0 if &$_(@_)
52 0 0 defined $_[1] ? :
56 0 0 $_[0]{'check'}->($_[1]) ? :
62 0 0 $_[0]{'check'}->($_[1]) ? :
68 0 0 $_[0]{'check'}->($_[1]) ? :
74 0 0 if ($_[0]{'union'})
81 0 0 if (my $library = $_[0]{'library'})
83 0 0 unless eval "require $library; 1"
85 0 0 if $type
98 0 0 if $_[1] eq "Type::API::Constraint"
99 0 0 if $_[1] eq "Type::Library::Compiler::TypeConstraint"
116 0 0 ref $_[0] eq 'ARRAY' ? :
135 30 0 if defined $_[0] and not ref $_[0]
139 0 0 if defined $_[0] and not ref $_[0]
0 0 do { $_[0] =~ /\A(?:datastar\-(?:execute\-script|merge\-(?:fragments|signals)|remove\-(?:fragments|signals)))\z/ if defined $_[0] and not ref $_[0] } ? :
162 0 0 ref $_[0] eq 'HASH' ? :
181 3 0 if defined $_[0] and not ref $_[0]
185 0 0 if defined $_[0] and not ref $_[0]
0 0 do { $_[0] =~ /\A(?:(?:a(?:fter|ppend)|before|inner|morph|outer|prepend|upsertAttributes))\z/ if defined $_[0] and not ref $_[0] } ? :
204 28 2 unless ref $_[0] eq "SCALAR"
208 0 0 ref $_[0] eq 'SCALAR' || ref $_[0] eq 'REF' ? :