Branch Coverage

blib/lib/Power/Outlet/TuyaAPI.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
58 0 0 if @_
59 0 0 unless defined $self->{'client_id'}
60 0 0 unless defined $self->{'client_id'}
74 0 0 if @_
75 0 0 unless defined $self->{'client_secret'}
76 0 0 unless defined $self->{'client_secret'}
90 0 0 if @_
91 0 0 unless defined $self->{'deviceid'}
92 0 0 unless defined $self->{'deviceid'}
108 0 0 if @_
109 0 0 unless defined $self->{'relay'}
127 0 0 unless (exists $self->{'name'})
143 0 0 $value ? :
156 0 0 $response->{'success'} ? :
169 0 0 $response->{'success'} ? :
191 0 0 unless ($self->{'_WebService_Tuya_IoT_API'})
192 0 0 unless my $client_id = $self->client_id
193 0 0 unless my $client_secret = $self->client_secret