Condition Coverage

blib/lib/Hades/Realm/OO.pm
Criterion Covered Total %
condition 104 167 62.2


and 3 conditions

line !l l&&!r l&&r condition
167 0 0 0 $params[2] and $params[-2] =~ /^(with|extends)$/
209 0 0 0 exists $meta->{$key}{$_} and do {
296 0 0 0 $meta->{$name}{$_} and $mg->$_($self->build_code($mg, $name, $self->can("build_accessor_$_") ? $self->can("build_accessor_$_")->($self, $name, $meta->{$name}{$_}) : $meta->{$name}{$_}))
306 0 0 0 $meta->{$name}{$_} and $mg->$_($self->replace_pe_string($meta->{$name}{$_}, $name))
332 0 0 0 $meta->{$name}{$_} and $mg->$_($name)->code($self->build_code($mg, $name, delete $meta->{$name}{$_}))->test($self->build_tests($name, $meta->{$name}))
336 0 0 0 $meta->{$name}{$_} and $mg->$_($self->replace_pe_string(delete $meta->{$name}{$_}, $name))
353 0 0 0 $self->is_role && $self->clear_is_role
386 0 0 0 @matches and $match =~ /(Map|Tuple|ArrayRef|Dict)\[/

or 2 conditions

line l !l condition
41 26 2 ref $value || ''
51 20 4 ref $val || ''
56 12 6 ref $val->{'types'} || ''
62 6 4 ref $val->{'attributes'} || ''
80 4 11 $ref || 'SCALAR'
99 1 1 ref $mg || ''
186 5 1 ref $mg || ''
191 3 1 ref $meta || ''
197 1 1 ref $types || ''
246 5 1 ref $mg || ''
251 3 1 ref $token || ''
256 1 1 ref $meta || ''
270 5 1 ref $mg || ''
280 1 1 ref $meta || ''
312 5 1 ref $mg || ''
322 1 1 ref $meta || ''
342 3 1 ref $mg || ''
347 1 1 ref $meta || ''
370 1 1 ref $unique || ''
410 3 1 ref $mg || ''
415 1 1 ref $meta || ''
425 3 1 ref $mg || ''
430 1 1 ref $meta || ''
446 1 1 ref $keywords || ''
456 1 1 ref $meta || ''
481 1 1 ref $keywords || ''
491 1 1 ref $meta || ''
506 1 1 ref $keywords || ''
516 1 1 ref $meta || ''
530 1 1 ref $keywords || ''
540 1 1 ref $meta || ''
555 1 1 ref $keywords || ''
565 1 1 ref $meta || ''
579 1 1 ref $keywords || ''
589 1 1 ref $meta || ''
603 1 1 ref $keywords || ''
613 1 1 ref $meta || ''

or 3 conditions

line l !l&&r !l&&!r condition
20 129 0 0 not $accessors{$accessor}{'required'} or defined $value
80 4 0 11 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$value : $value) =~ /^(1|0)$/
251 0 2 2 not defined $token or (ref $token || '') ne 'ARRAY'
275 0 2 2 not defined $name or ref $name
317 0 2 2 not defined $name or ref $name
365 0 1 2 not defined $type or ref $type
376 0 0 0 $type =~ /^\s*\w+\s*\=\>\s*/ or $type =~ /^([^,]+),\s*(.*)$/
399 0 0 0 $v || $k
446 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
481 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
506 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
530 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
555 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
579 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
603 0 2 0 not defined $keywords or (ref $keywords || '') ne 'ARRAY'
626 0 2 2 not defined $name or ref $name
631 0 2 0 not defined $content or ref $content
651 0 2 2 not defined $name or ref $name
656 0 2 0 not defined $content or ref $content
673 0 2 2 not defined $name or ref $name
678 0 2 0 not defined $content or ref $content
695 0 2 2 not defined $name or ref $name
700 0 2 0 not defined $content or ref $content