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
269 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\([^()]+\)$/
446 3 2 0 $colored eq "auto" and exists $ENV{'ANSI_COLORS_DISABLED'} || $self->output eq 'handle' || $self->output eq 'file'
460 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
545 543 94 5 defined $class and $class eq "Regexp"
546 0 0 0 $] < "5.011" and $ref_kind eq "SCALAR"
619 0 0 20 ref $data and keys %{$$self{"_seen"};}
632 49 0 25 ref $data eq "REF" and ref $$data
665 29 4 0 ref $data eq 'SCALAR' && $self->resolve_scalar_refs
702 607 23 51 $self->show_refcount and ref $data ne "SCALAR"
630 31 20 $self->show_refcount and ref $data ne "SCALAR" and $seen->{'refcount'} > 1
719 681 0 0 $self->show_memsize and $self->show_memsize eq 'all' || $self->show_memsize >= $self->{'_position'}
726 0 0 0 $unit eq "AUTO" and $size > 1048576
0 0 0 $unit eq "AUTO" and $size > 1024
759 0 236 440 $realtype and $realtype eq 'REF' || $realtype eq 'SCALAR'
792 1843 1 3 $self->{'_output_color_level'} and defined $color_type
795 1 1 1 not defined $sgr_color and defined $default_color
812 68 606 7 $self->show_readonly and &Internals::SvREADONLY($_[1])

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
269 2 0 3 $ref and $ref eq "GLOB" or not $ref and (\$output) =~ /GLOB\([^()]+\)$/
1 1 0 not $ref or $ref eq "SCALAR"
446 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'
460 5 0 0 $ENV{'TERM'} =~ /\A(?:screen|xterm|vt100|rxvt)/i || $ENV{'TERM'} =~ /color|ansi|cygwin|linux/i
546 5 0 0 $ref_kind eq "Regexp" or $] < "5.011" and $ref_kind eq "SCALAR"
719 0 0 0 $self->show_memsize eq 'all' || $self->show_memsize >= $self->{'_position'}
726 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
759 68 372 236 $realtype eq 'REF' || $realtype eq 'SCALAR'