Branch Coverage

blib/lib/HTML/Tooltip/Javascript.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
36 1 0 unless $$self{'javascript_dir'} =~ m[/$]
45 0 1 unless $tip or $$self{'options'}{'default_tip'}
47 1 1 unless $tip
64 2 16 if $o eq 'default_tip'
65 0 16 if $o eq 'function'
66 2 14 if ($can_be_zero{$o}) { }
67 1 1 unless defined $opts{$o}
69 7 7 unless $opts{$o}
74 8 0 unless ($o =~ /fix/i)
75 7 0 unless $val =~ /^\d+$/ or $val =~ /^true$/i or $val =~ /^false$/
82 0 2 if ($opts{'function'}) { }