blib/lib/AnyEvent/WebService/ImKayac.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 20 | 45.0 |
line | true | false | branch |
---|---|---|---|
71 | 5 | 1 | $_[1] ? : |
73 | 0 | 5 | unless defined $args{'user'} |
74 | 0 | 5 | unless defined $args{'type'} |
76 | 0 | 5 | unless $args{'type'} =~ /^(none|password|secret)$/ |
78 | 1 | 4 | if ($args{'type'} eq 'password' and not defined $args{'password'}) |
82 | 1 | 3 | if ($args{'type'} eq 'secret' and not defined $args{'secret_key'}) |
99 | 0 | 0 | unless defined $args{'message'} |
102 | 0 | 0 | unless ref $cb eq 'CODE' |
119 | 0 | 0 | if ($$hdr{'Status'} =~ /^2/) { } |
120 | 0 | 0 | $@ ? : |