Condition Coverage

blib/lib/WWW/Shorten/Yourls.pm
Criterion Covered Total %
condition 0 49 0.0


and 3 conditions

line !l l&&!r l&&r condition
52 0 0 0 $url and &blessed($url)
0 0 0 $url and &blessed($url) and $url->isa('URI')
62 0 0 0 $content_type and $content_type =~ m[application/json]
73 0 0 0 @_ == 1 and ref $_[0]
0 0 0 @_ == 1 and not ref $_[0]
102 0 0 0 $path and $path->is_file
110 0 0 0 $line and $line =~ /=/
115 0 0 0 $key and $val
129 0 0 0 defined $input and not ref $input
0 0 0 defined $input and not ref $input and length $input
138 0 0 0 @_ == 1 and ref $_[0]
187 0 0 0 $user and $pass
217 0 0 0 $user and $pass

or 2 conditions

line l !l condition
23 0 0 _trim(shift()) || ''
107 0 0 _trim($line) || ''
113 0 0 _trim($key) || ''
172 0 0 $args->{'shortUrl'} || $args->{'single_arg'} || $args->{'URL'} || $args->{'url'} || ''
202 0 0 $args->{'shortUrl'} || $args->{'single_arg'} || $args->{'URL'} || $args->{'url'} || ''