Condition Coverage

blib/lib/Devel/MAT.pm
Criterion Covered Total %
condition 54 83 65.0


and 3 conditions

line !l l&&!r l&&r condition
131 136 0 0 $tool_class->can("AUTOLOAD_TOOL") and $tool_class->AUTOLOAD_TOOL($self)
281 3370 5 10 $elide_sym and $name = $sv->symname
3375 0 10 $elide_sym and $name = $sv->symname and not $name =~ /^&.*::__ANON__$/u
5 9 1 $elide_sym and $name = $sv->symname and not $name =~ /^&.*::__ANON__$/u and $foundsv = eval { do { $self->find_symbol($sv->symname) } }
9 0 1 $elide_sym and $name = $sv->symname and not $name =~ /^&.*::__ANON__$/u and $foundsv = eval { do { $self->find_symbol($sv->symname) } } and $foundsv->addr == $sv->addr
290 3370 14 0 $elide_sym and $sv->type eq "GLOB"
3384 0 0 $elide_sym and $sv->type eq "GLOB" and $name = $sv->stashname
303 3382 1 1 not @inrefs and $opts{'strong'}
306 3382 1 1 not @inrefs and $opts{'direct'}
312 2 18 4 $_->sv and $_->sv->type eq "REF"
20 0 4 $_->sv and $_->sv->type eq "REF" and $_->name eq "the referrant"
333 2 21 1 $_->sv and $_->sv->type eq "PAD"
350 22 8439 1679 defined $opts{'depth'} and not $opts{'depth'}
397 19 11 0 $sigil eq "&" and $stashvalue->type eq "REF"
438 35 1 14 defined $parent and length $parent
517 11 0 6 $col == $cols - 1 and $leftalign[$col]
583 2213205 0 0 $opts{'stash'} and $strval =~ /^([\x00-\x1f])([a-zA-Z0-9_]*)$/u

or 2 conditions

line l !l condition
339 1 0 $cv->depth || 1
499 25 0 length $_->[$colidx] // 0
502 1 5 $opts{'align'} // ""
505 1 5 $opts{'sep'} // " "
508 15 2 $align->[$_] // ""
513 1 5 $opts{'indent'} // 0
597 0 0 $opts{'maxlen'} // 64

or 3 conditions

line l !l&&r !l&&!r condition
133 0 0 0 $self->{'tools'}{$name} ||= $tool_class->new($self)
157 3384 5 0 $self->{'tools'}{$name} ||= $tool_class->new($self, %args)
165 0 0 0 $self->{'tools_by_command'}{$cmd} ||= do { die "Unrecognised command '${cmd}'\n" unless my $name = &first(sub { my $class = "Devel::MAT::Tool::$_"; $class->CMD eq $cmd if $class->can("CMD"); } , $self->available_tools); $self->load_tool($name, %args) }
261 3383 2 0 $opts{'graph'} //= "Devel::MAT::Graph"->new($self->dumpfile)
468 15 0 0 $gv->hash || croak("$name has no hash")
651 0 0 0 $sv->nv // $sv->uv