Branch Coverage

blib/lib/Bio/MaxQuant/Evidence/Statistics.pm
Criterion Covered Total %
branch 108 132 81.8


line true false branch
193 22344 170373 exists $k{$_} && $k{$_} ? :
203 27 2766 unless exists $data{$expt}
204 11172 11172 exists $l{$_} && $l{$_} ? :
206 2793 0 unless exists $data{$expt}{$key}
213 11172 11172 if (exists $l{$_} and $l{$_}) { }
220 400 2393 if ($data{$expt}{$key}{'Protein group IDs'} =~ /;/) { }
256 3 2 if exists $$o{'cache'}{'replicated'}
284 7 2 if exists $$o{'cache'}{'orthogonals'}
290 18 144 if $c2 eq $c1
292 108 36 unless $p eq $q
294 72 252 if $c3 eq $c1 or $c3 eq $c2
296 180 72 unless $x eq $z
314 7 2 if exists $$o{'cache'}{'pairs'}
319 90 72 unless $r1 lt $r2
403 2601 5778 $options{'nodup'} ? :
404 0 8379 $options{'experiment'} ? :
408 8379 449469 if (ref $value eq '')
411 457848 0 $options{'split'} ? :
413 21632 437416 unless $_ ne '' or $options{'emptiesok'}
414 51727 385689 if ($options{'nodup'}) { }
425 2601 5778 $options{'nodup'} ? :
434 1 1 if exists $$o{'cache'}{'proteinCount'}
446 1 1 unless exists $$o{'cache'}{'proteinGroupIds'}
456 2 2 unless exists $$o{'cache'}{'proteinGroupIds'}
471 6 11 if $$o{'logged'}
481 29217 1507 $$ratios[$_] =~ /^\d+\.?\d*$/ ? :
523 9063 220734 if (not exists $opts{'experiment'} or $experiment =~ /$opts{'experiment'}/)
527 944201 0 if (not exists $opts{'proteinGroupId'} or $pgid =~ /$opts{'proteinGroupId'}/)
529 466181 478020 if (not exists $opts{'leadingProteins'} or $$pgdata{'Leading Proteins'} =~ /$opts{'leadingProteins'}/)
530 463434 2747 unless (exists $opts{'notLeadingProteins'} and $$pgdata{'Leading Proteins'} =~ /$opts{'notLeadingProteins'}/)
584 3 2823 unless exists $$o{'cache'}{'deviations'}
587 1 2825 if exists $$o{'cache'}{'deviations'}{$cachekey}
595 2825 0 $n > 1 ? :
597 2825 0 $n ? :
599 2825 0 $n ? :
600 2825 0 $n ? :
601 2825 0 $n ? :
615 0 2827 if (scalar @values < 1)
628 2827 0 $n ? :
630 2827 0 if ($n > 1) { }
665 0 2825 if (scalar @values < 1)
695 1723 3479 if ($opts{'experiment1'} gt $opts{'experiment2'})
698 2 5200 unless exists $$o{'cache'}{'ttests'}
700 3800 1402 if exists $$o{'cache'}{'ttests'}{$cachekey}
714 1402 0 $$d1{'n'} && $$d2{'n'} ? :
723 1402 0 $$d1{'n'} && $$d2{'n'} ? :
771 13280 685 if ($$p{'data'}{$replicate}{$pgid}{'Ratio H/L'}[$i] =~ /\d/)
791 3940 4894 if ($n % 2) { }
811 2598 20784 if ($rep =~ /^$opts{'experiment1'}/)
814 2598 20784 if ($rep =~ /^$opts{'experiment2'}/)
819 866 0 unless exists $opts{'minimum_observations'}
820 866 0 unless exists $opts{'minimum_replicates'}
826 1608 990 if scalar @values > $opts{'minimum_observations'}
831 1596 1002 if scalar @values > $opts{'minimum_observations'}
833 348 518 if $reps1 < $opts{'minimum_replicates'} or $reps2 < $opts{'minimum_replicates'}
841 1308 3354 if $$tt{'ttest'}{'p'} > $p_max
842 1335 3327 if $$tt{'ttest_mad'}{'p'} > $p_mad_max
847 5 513 if $$tt{'ttest'}{'p'} > $p_max
848 0 518 if $$tt{'ttest_mad'}{'p'} > $p_mad_max
875 120 168 if ($$r1{'p_max'} < 0 or $$r2{'p_max'} < 0) { }
54 114 elsif ($$r2{'p_max'} > $$r1{'p_max'}) { }
881 120 168 if ($$r1{'p_mad_max'} < 0 or $$r2{'p_mad_max'} < 0) { }
52 116 elsif ($$r2{'p_mad_max'} > $$r1{'p_mad_max'}) { }
917 0 0 $_[1] > $_[2] ? :
927 0 0 if $_[1] eq '-' and $_[2] eq '+'
928 0 0 if $_[1] eq '+' and $_[2] eq '-'