Branch Coverage

blib/lib/Hydrogen/Topic/Number.pm
Criterion Covered Total %
branch 32 110 29.0


line true false branch
61 0 1 unless @_ == 0
84 0 1 unless @_ == 1
91 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
95 1 0 if defined $_[0] and not ref $_[0]
111 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
115 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
141 0 0 unless @_ == 0
165 0 0 unless @_ == 1
172 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
176 0 0 if defined $_[0] and not ref $_[0]
206 0 1 unless @_ == 1
213 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
217 1 0 if defined $_[0] and not ref $_[0]
233 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
237 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
268 0 0 unless @_ == 1
275 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
279 0 0 if defined $_[0] and not ref $_[0]
304 0 0 unless @_ == 0
328 0 0 unless @_ == 1
335 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
339 0 0 if defined $_[0] and not ref $_[0]
364 0 1 unless @_ == 0
386 0 0 unless @_ == 1
393 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
397 0 0 if defined $_[0] and not ref $_[0]
427 0 0 unless @_ == 1
434 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
438 0 0 if defined $_[0] and not ref $_[0]
468 0 0 unless @_ == 1
475 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
479 0 0 if defined $_[0] and not ref $_[0]
509 0 1 unless @_ == 1
516 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
520 1 0 if defined $_[0] and not ref $_[0]
536 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
540 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
571 0 1 unless @_ == 1
578 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
582 1 0 if defined $_[0] and not ref $_[0]
598 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
602 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
633 0 0 unless @_ == 1
640 0 0 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
644 0 0 if defined $_[0] and not ref $_[0]
674 0 1 unless @_ == 1
681 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
685 1 0 if defined $_[0] and not ref $_[0]
701 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
705 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked
736 0 1 unless @_ == 1
743 0 1 unless do { &Scalar::Util::looks_like_number($_[0]) if defined $_[0] and not ref $_[0] }
747 1 0 if defined $_[0] and not ref $_[0]
763 0 1 unless do { &Scalar::Util::looks_like_number($shv_final_unchecked) if defined $shv_final_unchecked and not ref $shv_final_unchecked }
767 1 0 if defined $shv_final_unchecked and not ref $shv_final_unchecked