Condition Coverage

blib/lib/JavaScript/DebugConsole.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
13 1 0 0 defined $$self{'debug'} and $$self{'debug'} =~ /^(0|1)$/
26 1 1 0 defined $args{'debug'} and $args{'debug'} =~ /^(0|1)$/

or 2 conditions

line l !l condition
21 2 0 $args{'title'} ||= 'POPUPConsole'
25 0 2 $args{'env'} ||= \%ENV
27 0 2 $args{'popup_options'} ||= 'height=250,width=500,scrollbars=1,resizable=1,dependent,screenX=250,screenY=200,top=200,left=250'

or 3 conditions

line l !l&&r !l&&!r condition
11 0 1 0 ref $proto || $proto
23 0 2 0 defined $args{'id'} || $$ . '_' . ++$$self{'popup_count'}
24 1 1 0 $args{'content'} ||= $$self{'content'}