Branch Coverage

blib/lib/App/Kramerius/V4.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
31 0 0 if (defined $self->{'lwp_user_agent'}) { }
32 0 0 unless ($self->{'lwp_user_agent'}->isa("LWP::UserAgent"))
54 0 0 if (not &getopts("ho:q", $self->{'_opts'}) or @ARGV < 2 or $self->{'_opts'}{'h'})
71 0 0 if ($self->{'_kramerius_obj'}->version != 4)
76 0 0 unless ($self->{'_opts'}{'o'})
85 0 0 unless ($full_res->is_success)
89 0 0 $self->{'_opts'}{'o'} ? :
90 0 0 unless ($self->{'_opts'}{'o'})
110 0 0 unless ($stream_res->is_success)
114 0 0 unless (defined $struct_hr)
117 0 0 unless (exists $struct_hr->{'IMG_FULL'})
123 0 0 if ($struct_hr->{'IMG_FULL'}{'mimeType'} eq 'image/jp2') { }
0 0 elsif ($struct_hr->{'IMG_FULL'}{'mimeType'} eq 'image/jpeg') { }
0 0 elsif ($struct_hr->{'IMG_FULL'}{'mimeType'} eq 'application/pdf') { }
131 0 0 if (defined $mime_type) { }
144 0 0 unless ($self->{'_opts'}{'q'})