Branch Coverage

blib/lib/Net/API/Telegram/Generic.pm
Criterion Covered Total %
branch 0 110 0.0


line true false branch
38 0 0 if (builtin::blessed($init)) { }
40 0 0 if ($init->isa("Net::API::Telegram"))
66 0 0 if (builtin::blessed($this)) { }
0 0 elsif (ref $this eq 'ARRAY') { }
0 0 elsif (ref $this eq 'HASH') { }
70 0 0 if ($this->can('as_hash')) { }
0 0 elsif (overload::Overloaded($this)) { }
0 0 elsif ($this->can('as_string')) { }
73 0 0 if length $h
94 0 0 if length $v
100 0 0 if exists $this->{$anti_loop}
117 0 0 if exists $self->{$anti_loop}
119 0 0 if (defined &{"${class}::$k";})
121 0 0 if ($self->_is_boolean($k)) { }
123 0 0 $self->{$k} ? :
155 0 0 $self->can('as_string') ? :
163 0 0 if ref $_[0] eq "HASH"
175 0 0 if $opts->{'ext'}
180 0 0 unless ($self->is_success)
184 0 0 if ($len != -s $filepath)
189 0 0 if (not $opts->{'ext'} and length $mime)
191 0 0 if ($mime =~ m[/([^/]+)$])
239 0 0 if exists $self->{$name} and builtin::blessed($self->{$name})
249 0 0 if $self->{'_dbh'}
253 0 0 unless defined *{"${class}::";}
255 0 0 if $@
259 0 0 @_ ? :
261 0 0 if ($@)
266 0 0 unless defined $o
281 0 0 unless exists $ref->{$type}
302 0 0 if (@_)
314 0 0 if (@_)
316 0 0 if (ref $_[0] eq 'HASH' or builtin::blessed($_[0])) { }
333 0 0 if (@_)
336 0 0 if ref $this ne "ARRAY"
340 0 0 if ref $ref ne "ARRAY"
345 0 0 if (defined $ref->[$i]) { }
347 0 0 unless ref $ref->[$i]
348 0 0 if (builtin::blessed($ref->[$i])) { }
0 0 elsif (ref $ref->[$i] eq 'HASH') { }
351 0 0 if ($pack) { }
355 0 0 if $self->{'_dbh'}
376 0 0 unless defined $o
391 0 0 if (@_)
394 0 0 if ref $ref ne "ARRAY"
403 0 0 if (defined $ref->[$i]) { }
405 0 0 unless ref $ref->[$i]
406 0 0 if (builtin::blessed($ref->[$i])) { }
0 0 elsif (ref $ref->[$i] eq 'HASH') { }
409 0 0 if ($pack) { }
413 0 0 if $self->{'_dbh'}
435 0 0 unless defined $o
449 0 0 if (@_)
462 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (ref $_[0] eq 'ARRAY') { }