Condition Coverage

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


or 2 conditions

line l !l condition
17 2 0 $opts //= {}
21 1 1 $$opts{'pretty'} // 1
24 0 2 ($$opts{'linum'} // $ENV{'LINUM'}) // 0

or 3 conditions

line l !l&&r !l&&!r condition
22 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'}
24 0 0 2 $$opts{'linum'} // $ENV{'LINUM'}