Condition Coverage

blib/lib/Data/Printer/Object.pm
Criterion Covered Total %
condition 54 101 53.4


and 3 conditions

line !l l&&!r l&&r condition
268 3 2 241 not $ref and exists $targets{lc $output}
2 1 2 $ref and $ref eq "GLOB"
1 1 1 not $ref and (\$output) =~ /GLOB\([^()]+\)$/
445 3 2 0 $colored eq "auto" and exists $ENV{'ANSI_COLORS_DISABLED'} || $self->output eq 'handle' || $self->output eq 'file'
459 5 0 0 $ENV{'COLORTERM'} and $ENV{'COLORTERM'} eq "truecolor"
5 0 0 $ENV{'TERM_PROGRAM'} and $ENV{'TERM_PROGRAM'} eq "iTerm.app"
5 0 0 $ENV{'TERM_PROGRAM'} and $ENV{'TERM_PROGRAM'} eq "Apple_Terminal"
0 5 0 $ENV{'TERM'} and $ENV{'TERM'} =~ /\-256(?:color)?\z/i
0 5 0 $ENV{'TERM'} and $ENV{'TERM'} =~ /\A(?:screen|xterm|vt100|rxvt)/i || $ENV{'TERM'} =~ /color|ansi|cygwin|linux/i
544 539 94 5 defined $class and $class eq "Regexp"
545 0 0 0 $] < "5.011" and $ref_kind eq "SCALAR"
610 0 0 20 ref $data and keys %{$$self{"_seen"};}
623 49 0 25 ref $data eq "REF" and ref $$data
656 29 4 0 ref $data eq 'SCALAR' && $self->resolve_scalar_refs
693 603 23 51 $self->show_refcount and ref $data ne "SCALAR"
626 31 20 $self->show_refcount and ref $data ne "SCALAR" and $seen->{'refcount'} > 1
710 677 0 0 $self->show_memsize and $self->show_memsize eq 'all' || $self->show_memsize >= $self->{'_position'}
717 0 0 0 $unit eq "AUTO" and $size > 1048576
0 0 0 $unit eq "AUTO" and $size > 1024
750 0 235 437 $realtype and $realtype eq 'REF' || $realtype eq 'SCALAR'
783 1828 1 3 $self->{'_output_color_level'} and defined $color_type
786 1 1 1 not defined $sgr_color and defined $default_color
803 68 602 7 $self->show_readonly and &Internals::SvREADONLY($_[1])

or 2 conditions

line l !l condition
463 0 0 $ENV{'TERM_PROGRAM_VERSION'} || '0'

or 3 conditions

line l !l&&r !l&&!r condition
268 2 0 3 $ref and $ref eq "GLOB" or not $ref and (\$output) =~ /GLOB\([^()]+\)$/
1 1 0 not $ref or $ref eq "SCALAR"
445 0 0 2 exists $ENV{'ANSI_COLORS_DISABLED'} || $self->output eq 'handle' || $self->output eq 'file'
241 0 5 not $colored or $colored eq "auto" and exists $ENV{'ANSI_COLORS_DISABLED'} || $self->output eq 'handle' || $self->output eq 'file'
459 5 0 0 $ENV{'TERM'} =~ /\A(?:screen|xterm|vt100|rxvt)/i || $ENV{'TERM'} =~ /color|ansi|cygwin|linux/i
545 5 0 0 $ref_kind eq "Regexp" or $] < "5.011" and $ref_kind eq "SCALAR"
710 0 0 0 $self->show_memsize eq 'all' || $self->show_memsize >= $self->{'_position'}
717 0 0 0 $unit eq "M" or $unit eq "AUTO" and $size > 1048576
0 0 0 $unit eq "K" or $unit eq "AUTO" and $size > 1024
750 68 369 235 $realtype eq 'REF' || $realtype eq 'SCALAR'