Branch Coverage

lib/Kite/Profile.pm
Criterion Covered Total %
branch 20 94 21.2


line true false branch
56 0 3 if ($$params{'FILE'}) { }
0 3 elsif ($$params{'TEXT'}) { }
57 0 0 unless $self->parse_file($$params{'FILE'})
60 0 0 unless $self->parse($$params{'TEXT'})
66 0 3 unless $$self{'NAME'}
68 1 2 unless $$self{'X'}
70 0 2 unless ref $$self{'X'} eq 'ARRAY'
72 0 2 unless $$self{'Y'}
74 0 2 unless ref $$self{'Y'} eq 'ARRAY'
93 0 0 if $Kite::Profile::DEBUG
99 0 0 unless open FIN, $filename
121 0 0 if $Kite::Profile::DEBUG
129 0 0 if $line =~ /^[#%]/ or $line =~ /^\s*$/
150 0 2 if (@_) { }
208 4 16 unless defined $min
210 0 16 if $_ < $min
221 4 16 unless defined $max
223 8 8 if $_ > $max
286 0 1 if $Kite::Profile::DEBUG
293 0 0 if $Kite::Profile::DEBUG
318 0 0 if $Kite::Profile::DEBUG
325 0 1 if $Kite::Profile::DEBUG
332 0 0 if $Kite::Profile::DEBUG
361 0 0 if $Kite::Profile::DEBUG
368 0 0 if $Kite::Profile::DEBUG
376 0 0 if $Kite::Profile::DEBUG
391 0 0 if $Kite::Profile::DEBUG
398 0 0 if $Kite::Profile::DEBUG
404 0 0 if $Kite::Profile::DEBUG
421 0 0 if $n < 0 or $n > $size
424 0 0 if $Kite::Profile::DEBUG
446 0 0 if $n < 0 or $n >= $size
449 0 0 if $Kite::Profile::DEBUG
471 0 0 if ($from > $to)
477 0 0 if $from < 0
480 0 0 if $to >= scalar @{$$self{'X'};}
482 0 0 if $Kite::Profile::DEBUG
513 0 1 if $Kite::Profile::DEBUG
515 1 0 unless ($self->closed)
539 0 0 unless $self->closed
547 0 0 if ($b1 > $b2)
552 0 0 if ($b >= $b1 and $b < $b2)
557 0 0 if $Kite::Profile::DEBUG
567 0 0 if $Kite::Profile::DEBUG
573 0 0 if $Kite::Profile::DEBUG
647 0 0 unless defined $$vars{'border'}
652 0 0 unless $template->process(\$doc, $vars, \$out)