Branch Coverage

blib/lib/Hydrogen/Topic/Number.pm
Criterion Covered Total %
branch 32 106 30.1


line true false branch
59 0 1 unless @_ == 0
82 0 1 unless @_ == 1
89 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
93 1 0 if defined $_[0] and not ref $_[0]
109 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
113 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
144 0 0 unless @_ == 1
151 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
155 0 0 if defined $_[0] and not ref $_[0]
185 0 1 unless @_ == 1
192 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
196 1 0 if defined $_[0] and not ref $_[0]
212 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
216 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
247 0 0 unless @_ == 1
254 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
258 0 0 if defined $_[0] and not ref $_[0]
288 0 0 unless @_ == 1
295 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
299 0 0 if defined $_[0] and not ref $_[0]
324 0 1 unless @_ == 0
346 0 0 unless @_ == 1
353 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
357 0 0 if defined $_[0] and not ref $_[0]
387 0 0 unless @_ == 1
394 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
398 0 0 if defined $_[0] and not ref $_[0]
428 0 0 unless @_ == 1
435 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
439 0 0 if defined $_[0] and not ref $_[0]
469 0 1 unless @_ == 1
476 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
480 1 0 if defined $_[0] and not ref $_[0]
496 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
500 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
531 0 1 unless @_ == 1
538 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
542 1 0 if defined $_[0] and not ref $_[0]
558 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
562 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
593 0 0 unless @_ == 1
600 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
604 0 0 if defined $_[0] and not ref $_[0]
634 0 1 unless @_ == 1
641 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
645 1 0 if defined $_[0] and not ref $_[0]
661 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
665 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
696 0 1 unless @_ == 1
703 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
707 1 0 if defined $_[0] and not ref $_[0]
723 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
727 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked