| line |
true |
false |
branch |
|
31
|
0 |
0 |
unless scalar(@_) % 2
|
|
37
|
0 |
0 |
if (ref $this eq 'SCALAR') { }
|
|
|
0 |
0 |
elsif (builtin::blessed($this)) { }
|
|
43
|
0 |
0 |
unless $this->isa("Net::API::Telegram::InputFile")
|
|
44
|
0 |
0 |
if $this->{'content'}
|
|
45
|
0 |
0 |
if $this->{'file'}
|
|
46
|
0 |
0 |
if $this->{'filename'}
|
|
47
|
0 |
0 |
unless $this->{'file'} or CORE::length $this->{'content'}
|
|
59
|
0 |
0 |
if (@_)
|
|
63
|
0 |
0 |
if CORE::length $self->{'content'}
|
|
64
|
0 |
0 |
if ($self->{'file'})
|
|
76
|
0 |
0 |
if (@_)
|
|
79
|
0 |
0 |
unless -e $file
|
|
80
|
0 |
0 |
unless -z $file
|
|
81
|
0 |
0 |
unless -f $file
|
|
82
|
0 |
0 |
unless -r $file
|
|
84
|
0 |
0 |
unless CORE::length $self->{'filename'}
|
|
95
|
0 |
0 |
if $self->{'content'}
|
|
96
|
0 |
0 |
if $self->{'file'}
|
|
105
|
0 |
0 |
unless $self->{'file'} or CORE::length $self->{'content'}
|
|
107
|
0 |
0 |
unless -e $dir
|
|
108
|
0 |
0 |
unless -d $dir
|
|
109
|
0 |
0 |
unless -x $dir
|
|
110
|
0 |
0 |
if ($self->{'content'}) { }
|
|
|
0 |
0 |
elsif ($self->{'file'}) { }
|
|
115
|
0 |
0 |
unless $fh->print($self->{'content'})
|
|
120
|
0 |
0 |
if $path eq $self->{'file'}
|
|
121
|
0 |
0 |
unless File::Copy::copy($self->{'file'}, $path)
|
|
130
|
0 |
0 |
if ($self->{'content'}) { }
|
|
|
0 |
0 |
elsif ($self->{'file'}) { }
|