Condition Coverage

blib/lib/Venus/Assert.pm
Criterion Covered Total %
condition 44 69 63.7


and 3 conditions

line !l l&&!r l&&r condition
100 4 1 3 $value->can($key) and $self->new->do($match, @args)->check($value->$key)
347 4 0 32 defined $_->value and UNIVERSAL::isa($_->value, "HASH")
455 22 0 0 $blessed && $data->isa('Venus::Core') && $data->can('does')
460 9 0 0 $blessed and ref $data eq "Regexp"
463 9 0 0 $isvenus and $data->does("Venus::Role::Explainable")
466 9 0 0 $isvenus and $data->does("Venus::Role::Valuable")
469 9 0 0 $isvenus and $data->does("Venus::Role::Dumpable")
472 9 0 0 $blessed and overload::Method($data, "\"\"")
475 9 0 0 $blessed and $data->can("as_string")
478 9 0 0 $blessed and $data->can("to_string")
481 9 0 0 $blessed and $data->isa("Venus::Kind")
551 0 4 6 defined $_->value and ref $_->value eq "ARRAY"
622 2 6 20 defined $_->value and UNIVERSAL::isa($_->value, "HASH")
632 1 8 12 defined $_->value and UNIVERSAL::isa($_->value, "ARRAY")
715 24 129 330 wantarray && !$either

or 2 conditions

line l !l condition
437 219 1 $expr ||= ""
584 23 7 join(' OR ', @{$self->expects;}) || 'indescribable constraints'
677 23 8 join(' OR ', @{$self->expects;}) || 'indescribable constraints'

or 3 conditions

line l !l&&r !l&&!r condition
191 64 110 0 $self->{'coercions'} ||= $match
215 1012 329 0 $self->{'constraints'} ||= $match
457 0 9 13 $blessed or ref $data
619 1 2 3 lc $type eq "hash" or lc $type eq "hashref"
1 2 0 lc $type eq "array" or lc $type eq "arrayref"
675 9 22 0 $$legend{lc $identity} || lc $identity