Condition Coverage

blib/lib/Data/Show.pm
Criterion Covered Total %
condition 28 77 36.3


and 3 conditions

line !l l&&!r l&&r condition
81 4 7 0 @_ > 0 and $_[0] eq "base"
167 10 0 0 not $to_type and ref \$target ne "GLOB"
297 11 0 0 $warnings and $plugin ne $starting_plugin
316 1 0 0 $warnings and @missing_methods
353 0 0 0 exists $opt{'to'} and $opt{'to'} =~ / \A \* (.*) /x
380 84 0 0 defined $call_context and not $call_context
84 0 0 defined $call_context and not $call_context and @_ > 1
416 0 0 0 $style{'mode'} eq "auto" and not $CAN_ANSICOLOR
454 0 0 0 not defined $source_cache{$0} and open my $selfhandle, "<", $0
522 60 18 6 @{$data_ref;} % 2 == 0 && $context =~ /$SINGLE_HASH/
616 70 0 0 not $CAN_ANSICOLOR and $style->{'add_grid'} eq "off"

or 2 conditions

line l !l condition
19 0 11 $ENV{'COLORFGBG'} // ""
84 0 0 $_[1] // "Data::Show::Plugin"
119 1 10 $^H{'Data::Show/as'} // "(?!)"
225 11 0 $fallback_ref // []
344 0 0 readline $fh // (return)
508 84 0 $context //= ""
539 210 0 $_ //= ""

or 3 conditions

line l !l&&r !l&&!r condition
100 11 0 0 $opt{'to'} // $DEFAULT_TARGET
167 0 0 10 not $to_type and ref \$target ne "GLOB" or $to_type eq "SCALAR"
259 0 4 0 shift @fallbacks // $standard->{'fallback'}
270 0 0 0 eval { do { pp($_[1]) } } // '\n"
291 1 0 0 shift @fallbacks // $INITIAL_DEFAULT_PLUGIN
375 84 0 0 $hints_ref->{'Data::Show/with'} // $FINAL_CANDIDATE_PLUGIN
416 84 0 0 not -t $fh or $style{'mode'} eq "auto" and not $CAN_ANSICOLOR
468 78 6 0 $SHOW_PATTERN_FOR{$subname} //= qr/ (?
  [^\n]*?  )
                            (?>
                                (?  \b(?:$subname)\b (?&PerlOWS) (?&PerlParenthesesList) )
                                (?  [^\n]* )
                            |
                                (?  \b(?:$subname)\b (?&PerlOWS) (?&PerlCommaList)       )
                                (?> (?       (?&PerlOWS)  (?: ; | \Z )  )
                                |   (?)  (?= (?&PerlOWS) \}  )
                                )
                            )
                            $PPR::GRAMMAR
                        /msx 
512 78 6 0 $SINGLE_HASH_FOR{$subname} //= qr/ \b(?:$subname) (?&PerlOWS) (?: (?&PerlVariableHash) | \( (?&PerlOWS) (?&PerlVariableHash) (?&PerlOWS) \) ) (?&PerlOWS) \z $PPR::GRAMMAR /x
553 0 70 0 $style->{'mode'} eq 'context' || $style->{'mode'} eq 'off'