Branch Coverage

File:blib/lib/SVG/Sparkline.pm
Coverage:96.0%

line%coveragebranch
22100TFunless defined $type
25100TFif $@
26100TFunless defined $args
27100TFunless 'HASH' eq ref $args
46100TFunless exists $$self{$arg}
47100TFunless _is_color($$self{$arg})
65100TFunless $$self{'-allns'}
66100TFunless ($$self{'-sized'})
8750TFunless exists $valid_parms{$parm} or $class->valid_param($parm)
96100TFif exists $$self{$name} and $$self{$name} <= 0
98100TFif exists $$self{$name}
100100TFif defined $default
107100TFif exists $$self{$name} and $$self{$name} < 0
109100TFif exists $$self{$name}
11150TFif defined $default
119100TFunless exists $$self{'mark'}
121100TFunless 'ARRAY' eq ref $$self{'mark'}
124100TFunless 0 == @{$$self{'mark'};} % 2
130100TFunless $index =~ /^(?:first|last|high|low|\d+)$/
132100TFunless _is_color($color)
141100TFif $color =~ /^#[[:xdigit:]]{3}$/
142100TFif $color =~ /^#[[:xdigit:]]{6}$/
143100TFif $color =~ /^rgb\(\d+,\d+,\d+\)$/
144100TFif $color =~ /^rgb\(\d+%,\d+%,\d+%\)$/
145100TFif $color =~ /^[[:alpha:]]+$/