Branch Coverage

blib/lib/Venus/Log.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
39 28 26 unless $self->handler
40 54 0 unless $self->separator
53 20 6 $req_level && $set_level && $req_level >= $set_level ? :
91 52 0 $data ? :
93 0 52 unless defined $data
101 54 24 $data ? :
103 24 54 unless defined $data
119 1 39 unless (defined $data)
126 37 1 unless ($blessed or ref $data)
129 0 2 if ($blessed and ref $data eq "Regexp")
132 0 2 if ($isvenus and $data->does("Venus::Role::Explainable"))
135 0 2 if ($isvenus and $data->does("Venus::Role::Valuable"))
138 0 2 if ($isvenus and $data->does("Venus::Role::Dumpable"))
141 0 2 if ($blessed and overload::Method($data, "\"\""))
144 0 2 if ($blessed and $data->can("as_string"))
147 0 2 if ($blessed and $data->can("to_string"))
150 0 2 if ($blessed and $data->isa('Venus::Kind')) { }