blib/lib/Venus/Assert.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 48 | 52.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
192 | 20 | 0 | 0 | $blessed && $data->isa('Venus::Core') && $data->can('does') |
197 | 8 | 0 | 0 | $blessed and ref $data eq "Regexp" |
200 | 8 | 0 | 0 | $isvenus and $data->does("Venus::Role::Explainable") |
203 | 8 | 0 | 0 | $isvenus and $data->does("Venus::Role::Valuable") |
206 | 8 | 0 | 0 | $isvenus and $data->does("Venus::Role::Dumpable") |
209 | 8 | 0 | 0 | $blessed and overload::Method($data, "\"\"") |
212 | 8 | 0 | 0 | $blessed and $data->can("as_string") |
215 | 8 | 0 | 0 | $blessed and $data->can("to_string") |
218 | 8 | 0 | 0 | $blessed and $data->isa("Venus::Kind") |
296 | 126 | 17 | 246 | wantarray && !$either |
line | l | !l | condition |
---|---|---|---|
166 | 360 | 175 | $self->{'matches'} ||= [] |
174 | 125 | 1 | $expr ||= "" |
255 | 29 | 0 | $self->name || 'Unknown' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
60 | 259 | 179 | 0 | $self->{'check'} ||= "Venus::Check"->new |
88 | 10 | 56 | 0 | $self->{'coercion'} ||= "Venus::Coercion"->new->do("check", $self->check) |
106 | 37 | 169 | 0 | $self->{'constraint'} ||= "Venus::Constraint"->new->do("check", $self->check) |
194 | 0 | 8 | 12 | $blessed or ref $data |