Condition Coverage

blib/lib/Data/Format/Pretty/JSON.pm
Criterion Covered Total %
condition 8 18 44.4


or 2 conditions

line l !l condition
18 2 0 $opts //= {}
22 1 1 $opts->{'pretty'} // 1
25 0 2 ($opts->{'linum'} // $ENV{'LINUM'}) // 0

or 3 conditions

line l !l&&r !l&&!r condition
24 0 0 2 $opts->{'color'} // $ENV{'COLOR'}
0 0 2 ($opts->{'color'} // $ENV{'COLOR'}) // $interactive
2 0 0 (($opts->{'color'} // $ENV{'COLOR'}) // $interactive) // $opts->{'pretty'}
25 0 0 2 $opts->{'linum'} // $ENV{'LINUM'}