Branch Coverage

lib/Convert/Pheno.pm
Criterion Covered Total %
branch 43 68 63.2


line true false branch
288 1 2 exists $self->{'method_ori'} ? :
293 0 3 if (exists $self->{'data'}) { }
315 3 0 if ($ext =~ /\.sql/i) { }
322 2 1 if (not $self->{'stream'}) { }
328 0 2 if $self->{'sql2csv'}
354 0 0 unless &any(sub {
357 0 0 if (not $self->{'stream'}) { }
368 0 0 if (&any(sub {
385 0 3 unless exists $data->{'CONCEPT'}
394 3 0 if (exists $data->{'VISIT_OCCURRENCE'})
404 1 2 $self->{'stream'} ? :
410 1 2 if ($self->{'stream'}) { }
439 0 1 if (exists $self->{'data'}) { }
538 4 10 $self->{'in_textfile'} && !($self->{'method'} =~ /^redcap2|^omop2|^cdisc2/) ? :
550 9 4 if $self->{'method'} ne "bff2pxf"
554 2 0 if ($self->{'method'} eq "omop2bff" and $self->{'omop_cli'})
562 12 1 if (ref $in_data eq ref []) { }
565 0 12 if $self->{'debug'}
580 0 2228 if $self->{'debug'}
587 1288 940 if ($method_result)
589 0 1288 if $self->{'debug'}
592 1000 288 if (exists $self->{'omop_cli'} and $self->{'omop_cli'}) { }
597 998 2 unless $total == $elements or $total == $self->{'max_lines_sql'}
610 0 12 if $self->{'verbose'} and $self->{'method'} eq "omop2bff"
615 0 1 if $self->{'debug'}
620 9 4 unless $self->{'method'} eq "bff2pxf"
623 2 0 if (exists $self->{'omop_cli'} and $self->{'omop_cli'})
641 500 500 if ($self->{'method_ori'} ne 'omop2pxf') { }
663 1 0 if $self->{'method'} ne "bff2pxf"
672 0 1 if (@$filepaths) { }
674 0 0 if $self->{'verbose'}
693 2 1 if &any(sub {
694 0 1 if $self->{'verbose'}
702 1 0 unless $self->{'method'} eq "bff2pxf"