Branch Coverage

blib/lib/Venus/Role/Serializable.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
15 3 8 if (&Scalar::Util::blessed($self) and $self->isa("Venus::Core") and $self->can("DOES") and $self->DOES("Venus::Role::Valuable"))
23 1 7 if (UNIVERSAL::isa($self, "ARRAY"))
27 1 6 if (UNIVERSAL::isa($self, "CODE"))
31 2 4 if (UNIVERSAL::isa($self, "HASH"))
35 1 3 if (UNIVERSAL::isa($self, "REF"))
39 1 2 if (UNIVERSAL::isa($self, "REGEXP"))
43 1 1 if (UNIVERSAL::isa($self, "SCALAR"))
60 0 0 if (&Scalar::Util::blessed($value) and $value->isa("Venus::Core") and $value->can("DOES") and $value->DOES("Venus::Role::Serializable"))
68 0 19 if (UNIVERSAL::isa($value, "CODE"))
72 0 19 if (UNIVERSAL::isa($value, "REF"))
76 0 19 if (UNIVERSAL::isa($value, "REGEXP"))
80 1 18 if (UNIVERSAL::isa($value, "SCALAR"))
84 2 16 if (UNIVERSAL::isa($value, "HASH"))
92 2 14 if (UNIVERSAL::isa($value, "ARRAY"))
100 1 13 if (&Scalar::Util::blessed($value))