line |
true |
false |
branch |
34
|
122 |
14 |
@_ ? :
|
39
|
0 |
0 |
if exists $init->{'_dbh'} and $init->{'_dbh'}
|
42
|
0 |
136 |
unless $self->SUPER::init(@_)
|
53
|
0 |
0 |
$self->can('as_string') ? :
|
71
|
0 |
0 |
if ($self->_is_hash($addr)) { }
|
|
0 |
0 |
elsif ($self->_is_object($addr) and $addr->isa('Net::API::Stripe::Address')) { }
|
75
|
0 |
0 |
unless exists $addr->{$k} and length $addr->{$k}
|
84
|
0 |
0 |
unless exists $addr->{$k} and length $addr->{$k}
|
100
|
0 |
0 |
unless length $num
|
101
|
0 |
0 |
unless length $p->{'from'}
|
106
|
0 |
0 |
if (lc $p->{'from'} eq 'inch') { }
|
|
0 |
0 |
elsif (lc $p->{'from'} eq 'cm' or lc $p->{'from'} eq 'centimetre') { }
|
|
0 |
0 |
elsif (lc $p->{'from'} eq 'ounce') { }
|
|
0 |
0 |
elsif (lc $p->{'from'} eq 'gram') { }
|
142
|
0 |
0 |
if exists $self->{$field} and &Scalar::Util::blessed($self->{$field}) and not $self->_is_array($self->{$field})
|
151
|
0 |
0 |
if $self->{'_dbh'}
|
153
|
0 |
0 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
168
|
0 |
0 |
if $@
|
169
|
0 |
0 |
if ($class->isa('Module::Generic::Dynamic')) { }
|
171
|
0 |
0 |
@_ ? :
|
178
|
0 |
0 |
@_ ? :
|
180
|
0 |
0 |
if not defined $o
|
182
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::TRY ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if defined $Nice::Try::LAST_VAL
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
length $@ ? :
|
|
0 |
0 |
unless &Scalar::Util::blessed($@)
|
|
0 |
0 |
if ($Nice::Try::HAS_CATCH)
|
|
0 |
0 |
if ($Nice::Try::DIED)
|
185
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::CATCH ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
$Nice::Try::WANTARRAY ? :
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
unless (defined $Nice::Try::BREAK)
|
|
0 |
0 |
if (defined $Nice::Try::WANTARRAY and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL'))
|
|
0 |
0 |
if ($Nice::Try::BREAK eq 'next') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'last') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'redo') { }
|
|
0 |
0 |
if (defined $Nice::Try::BREAK)
|
|
0 |
0 |
scalar @Nice::Try::LAST_VAL > 1 ? :
|
195
|
0 |
0 |
unless exists $ref->{$type}
|
204
|
0 |
0 |
if (@_ or not $self->{$field})
|
217
|
0 |
0 |
if (want("OBJECT"))
|
230
|
0 |
0 |
if scalar @_ == 1 and not defined $_[0]
|
231
|
0 |
0 |
if (@_)
|
243
|
0 |
0 |
if scalar @_ == 1 and not defined $_[0]
|
244
|
0 |
0 |
if (@_)
|
247
|
0 |
0 |
unless $self->_is_array($ref)
|
251
|
0 |
0 |
defined $ref->[$i] ? :
|
252
|
0 |
0 |
unless defined $o
|
266
|
0 |
0 |
if (@_)
|
279
|
0 |
0 |
if (ref $_[0] eq 'HASH') { }
|
|
0 |
0 |
elsif (ref $_[0] eq 'ARRAY') { }
|
304
|
0 |
0 |
if scalar @_ == 1 and not defined $_[0]
|
305
|
0 |
0 |
if (@_)
|
308
|
0 |
0 |
unless $self->_is_array($ref)
|
314
|
0 |
0 |
if (ref $ref->[$i]) { }
|
321
|
0 |
0 |
defined $ref->[$i] ? :
|
323
|
0 |
0 |
unless defined $o
|
335
|
0 |
0 |
if (@_)
|
337
|
0 |
0 |
if (ref $_[0] eq 'HASH' or ref $_[0] eq 'ARRAY') { }
|
346
|
0 |
0 |
if (not $self->{$field} and want("OBJECT"))
|
358
|
0 |
0 |
if (@_)
|
361
|
0 |
0 |
if (defined $str and &Scalar::Util::blessed($str))
|