Branch Coverage

blib/lib/DiaColloDB/Client.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
32 0 0 @_ % 2 == 0 ? :
38 0 0 if defined $cli->{'url'}
54 0 0 unless ref $cli
55 0 0 unless UNIVERSAL::isa($cli, $class)
65 0 0 if UNIVERSAL::can('threads', 'tid') and 'threads'->tid != 0
66 0 0 if $_[0]->opened
78 0 0 UNIVERSAL::isa($url, 'ARRAY') ? :
79 0 0 if ($scheme =~ /^rcfile|rc$/) { }
0 0 elsif ($scheme eq 'file') { }
0 0 elsif ($scheme =~ /^https?$/) { }
0 0 elsif ($scheme eq 'list') { }
91 0 0 $scheme ? :
107 0 0 unless ref $cli
108 0 0 if $cli->opened
115 0 0 unless my $hdr = $cli->readHeaderFile($rcpath)
117 0 0 if $hdr->{'class'}
124 0 0 if ($cli->{'url'} // '') eq $rcurl
125 0 0 $cli->opened || !$cli->{'url'} ? :
135 0 0 unless ref $cli
136 0 0 if $cli->opened
138 0 0 if $cli->can('open_file') eq \&DiaColloDB::Client::open_file
149 0 0 unless ref $cli
150 0 0 if $cli->opened
152 0 0 if $cli->can('open_http') eq \&DiaColloDB::Client::open_http
164 0 0 unless ref $cli
165 0 0 if $cli->opened
167 0 0 if $cli->can('open_list') eq \&DiaColloDB::Client::open_list
188 0 0 ref $cli ? :
211 0 0 if ($rel =~ s[^(?:d(?!dc)(?:iff)?|co?mp(?:are)?)[\-\/\.\:]?][]) { }
0 0 elsif ($rel =~ s[^ext(?:end)?[\-\/\.\:]?][]) { }