Branch Coverage

blib/lib/Params/Classify.pm
Criterion Covered Total %
branch 80 82 97.5


line true false branch
121 140 72 unless &is_string
130 72 12 unless &is_number
204 14 8 if ($type eq 'SCALAR') { }
4 4 elsif ($type eq 'REF') { }
205 12 2 defined $_[0] ? :
207 2 2 if defined &blessed($_[0])
230 40 2 unless &is_undef
251 3132 132 if defined $_[0]
254 30 12 unless &is_string
314 40 2 unless &is_glob
334 40 2 unless &is_regexp
396 10 14 unless defined $reftype and not defined &blessed($_[0])
398 0 14 unless defined $xlated_reftype
404 1728 130 if (@_ == 2)
405 72 1656 unless &is_string($_[1])
408 48 1608 unless exists $reftype_ok{$_[1]}
412 926 812 unless defined $reftype and not defined &blessed($_[0])
413 44 768 if @_ != 2
415 0 768 unless defined $xlated_reftype
422 504 42 unless (&is_ref)
423 476 28 @_ == 2 ? :
453 72 554 if @_ == 2 and not &is_string($_[1])
459 174 36 unless (&is_blessed)
460 78 96 @_ == 2 ? :
498 16 304 unless @_ == 2
499 72 232 unless &is_string($_[1])
505 42 120 unless @_ == 2
506 80 4 unless (&is_strictly_blessed)
533 164 312 if &is_string
534 72 240 unless &is_ref($_[0], 'ARRAY')
537 72 168 unless &is_string($_)
542 58 278 unless @_ == 2
544 146 60 unless defined &blessed($_[0])
545 40 20 ref $_[1] eq '' ? :
546 26 28 unless $_[0]->can($method)
552 42 198 unless @_ == 2
554 96 30 unless (defined &blessed($_[0]))
557 32 32 @{$_[1];} == 0 ? :
32 64 ref $_[1] eq '' ? :
563 10 20 ref $_[1] eq '' ? :
564 12 12 unless $_[0]->can($method)