Branch Coverage

File:lib/Util/Underscore.pm
Coverage:82.7%

line%coveragebranch
60100TFif (keys %main::_::)
160100TFif (@_ == 2)
16150TFif @_ == 2
16350TFif (@_ == 1) { }
194100TFunless defined $_[0]
195100TFif defined &Scalar::Util::reftype($_[0]) and not defined &Scalar::Util::blessed($_[0])
202100TFunless defined $_[0]
203100TFif 'SCALAR' eq ref $_[0] or overload::Method($_[0], '${}')
210100TFunless defined $_[0]
211100TFif 'ARRAY' eq ref $_[0] or overload::Method($_[0], '@{}')
218100TFunless defined $_[0]
219100TFif 'HASH' eq ref $_[0] or overload::Method($_[0], '%{}')
226100TFunless defined $_[0]
227100TFif 'CODE' eq ref $_[0] or overload::Method($_[0], '&{}')
234100TFunless defined $_[0]
235100TFif 'GLOB' eq ref $_[0] or overload::Method($_[0], '*{}')
242100TFunless defined &Scalar::Util::blessed($_[0])
24350TFif 'Regexp' eq ref $_[0] or overload::Method($_[0], 'qr')
301100TFif defined $_[0] and not defined &Scalar::Util::reftype($_[0]) and $_[0] =~ /\A [-]? [0-9]+ \z/x
309100TFif defined $_[0] and not defined &Scalar::Util::reftype($_[0]) and $_[0] =~ /\A [0-9]+ \z/x
317100TFif defined $_[0] and not defined &Scalar::Util::reftype($_[0])
324100TFif defined $_[0] and $_[0] =~ /\A [^\W\d]\w* \z/x
331100TFif defined $_[0] and $_[0] =~ /\A [^\W\d]\w* (?: [:][:]\w+ )* \z/x
3380TFif &_::is_package($_[0]) and $_[0]->isa($_[1])
3450TFif &_::is_package($_[0]) and $_[0]->DOES($_[1])
3520TFif &Scalar::Util::blessed($_[0]) and $_[0]->DOES($_[1])