Branch Coverage

blib/lib/MCE/Shared/Minidb.pm
Criterion Covered Total %
branch 0 378 0.0


line true false branch
51 0 0 ref $_[0] eq 'HASH' ? :
53 0 0 if (@_ == 2) { }
55 0 0 unless exists $self->[0][0]{$key}
74 0 0 ref $_[0] eq 'HASH' ? :
76 0 0 if (@_ == 2) { }
78 0 0 unless exists $self->[1][0]{$key}
135 0 0 if ($q =~ /^([\S ]*):where[ ]+(.+):order by[ ]+(.+)/i) { }
0 0 elsif ($q =~ /^([\S ]*):where[ ]+(.+)/i) { }
0 0 elsif ($q =~ /^([\S ]*):order by[ ]+(.+)/i) { }
0 0 elsif ($q =~ /^((?:key|\S+)[ ]+(?:=|!|<|>|e|n|l|g)\S?[ ]+\S.*)/) { }
0 0 elsif ($q =~ /^([\S ]*)/) { }
167 0 0 unless (@fields)
172 0 0 if (length $w) { }
174 0 0 !exists $match{$_} ? :
0 0 length $o ? :
182 0 0 length $o ? :
200 0 0 if (length $w) { }
202 0 0 if (@fields) { }
203 0 0 !exists $match{$_} ? :
0 0 length $o ? :
211 0 0 !exists $match{$_} ? :
0 0 length $o ? :
216 0 0 if (@fields) { }
217 0 0 length $o ? :
223 0 0 length $o ? :
240 0 0 if (length $w) { }
242 0 0 if (@fields) { }
243 0 0 !exists $match{$_} ? :
0 0 length $o ? :
251 0 0 !exists $match{$_} ? :
0 0 length $o ? :
256 0 0 if (@fields) { }
257 0 0 length $o ? :
263 0 0 length $o ? :
280 0 0 if (length $w) { }
282 0 0 if (@fields) { }
283 0 0 !exists $match{$_} ? :
0 0 length $o ? :
291 0 0 !exists $match{$_} ? :
0 0 length $o ? :
300 0 0 if (@fields) { }
301 0 0 length $o ? :
307 0 0 length $o ? :
323 0 0 unless length $request
326 0 0 if ($request =~ /^[ ]*(\S+)[ ]*(.*)/) { }
329 0 0 if $modifiers =~ /\balpha\b/i
330 0 0 if $modifiers =~ /\bdesc\b/i
334 0 0 if (defined wantarray) { }
0 0 elsif ($f eq 'key') { }
335 0 0 if ($f eq 'key') { }
336 0 0 if ($alpha) { }
338 0 0 $desc ? :
342 0 0 $desc ? :
347 0 0 if ($is_list) { }
348 0 0 if ($alpha) { }
350 0 0 $desc ? :
354 0 0 $desc ? :
358 0 0 if ($alpha) { }
360 0 0 $desc ? :
364 0 0 $desc ? :
373 0 0 if ($alpha) { }
375 0 0 $desc ? :
379 0 0 $desc ? :
384 0 0 if ($is_list) { }
385 0 0 if ($alpha) { }
387 0 0 $desc ? :
391 0 0 $desc ? :
395 0 0 if ($alpha) { }
397 0 0 $desc ? :
401 0 0 $desc ? :
422 0 0 if (length $file) { }
423 0 0 unless $INC{'Storable.pm'}
431 0 0 if $@
446 0 0 if (length $file) { }
447 0 0 unless $INC{'Storable.pm'}
451 0 0 if $@
453 0 0 if (ref $obj ne "MCE::Shared::Minidb")
475 0 0 if ($query[0] =~ /^:lists$/i) { }
480 0 0 if $query[0] =~ /^:hashes$/i
492 0 0 if ($query[0] =~ /^:lists$/i) { }
497 0 0 if $query[0] =~ /^:hashes$/i
512 0 0 unless length $key
513 0 0 if (@_) { }
514 0 0 unless exists $self->[0][0]{$key}
515 0 0 if (@_ == 2) { }
531 0 0 unless length $key
532 0 0 if (@_) { }
533 0 0 unless exists $self->[0][0]{$key}
534 0 0 if (@_ == 1) { }
550 0 0 unless length $key
551 0 0 if (@_) { }
552 0 0 unless exists $self->[0][0]{$key}
553 0 0 if (@_ == 1) { }
569 0 0 unless length $key
570 0 0 if (@_) { }
571 0 0 unless exists $self->[0][0]{$key}
572 0 0 if (@_ == 1) { }
588 0 0 if (@_ > 1) { }
589 0 0 unless exists $self->[0][0]{$key}
605 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|\S+)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (@_) { }
610 0 0 unless exists $self->[0][0]{$key}
626 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|\S+)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (@_) { }
631 0 0 unless exists $self->[0][0]{$key}
647 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|\S+)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (@_) { }
652 0 0 unless exists $self->[0][0]{$key}
671 0 0 unless @_ == 2
679 0 0 unless length $key
680 0 0 unless exists $self->[0][0]{$key}
688 0 0 unless length $key
689 0 0 unless exists $self->[0][0]{$key}
697 0 0 unless length $key
698 0 0 unless exists $self->[0][0]{$key}
706 0 0 unless length $key
707 0 0 unless exists $self->[0][0]{$key}
715 0 0 unless length $key
716 0 0 unless exists $self->[0][0]{$key}
724 0 0 unless length $key
725 0 0 unless exists $self->[0][0]{$key}
733 0 0 unless length $key
734 0 0 unless exists $self->[0][0]{$key}
742 0 0 unless length $key
743 0 0 unless exists $self->[0][0]{$key}
751 0 0 unless length $key
752 0 0 unless exists $self->[0][0]{$key}
760 0 0 unless length $key
761 0 0 unless exists $self->[0][0]{$key}
771 0 0 if (@_) { }
773 0 0 unless exists $self->[0][0]{$key}
791 0 0 unless length $key
792 0 0 if (@_) { }
793 0 0 unless exists $self->[1][0]{$key}
794 0 0 if (@_ == 2) { }
810 0 0 unless length $key
811 0 0 if (@_) { }
812 0 0 unless exists $self->[1][0]{$key}
813 0 0 if (@_ == 1) { }
829 0 0 unless length $key
830 0 0 if (@_) { }
831 0 0 unless exists $self->[1][0]{$key}
832 0 0 if (@_ == 1) { }
848 0 0 unless length $key
849 0 0 if (@_) { }
850 0 0 unless exists $self->[1][0]{$key}
851 0 0 if (@_ == 1) { }
867 0 0 if (@_ > 1) { }
868 0 0 unless exists $self->[1][0]{$key}
880 0 0 unless length $key and exists $self->[1][0]{$key}
888 0 0 unless length $key and scalar @_
889 0 0 unless exists $self->[1][0]{$key}
897 0 0 unless length $key and exists $self->[1][0]{$key}
905 0 0 unless length $key and scalar @_
906 0 0 unless exists $self->[1][0]{$key}
914 0 0 unless length $key and exists $self->[1][0]{$key}
922 0 0 unless length $key and scalar @_
923 0 0 unless exists $self->[1][0]{$key}
935 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|\S+)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (@_) { }
940 0 0 unless exists $self->[1][0]{$key}
956 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|\S+)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (@_) { }
961 0 0 unless exists $self->[1][0]{$key}
977 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|\S+)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (@_) { }
982 0 0 unless exists $self->[1][0]{$key}
1004 0 0 if (@_ == 2) { }
1008 0 0 unless @_ == 3 and exists $self->[1][0]{$arg1}
1017 0 0 unless length $key
1018 0 0 unless exists $self->[1][0]{$key}
1026 0 0 unless length $key
1027 0 0 unless exists $self->[1][0]{$key}
1035 0 0 unless length $key
1036 0 0 unless exists $self->[1][0]{$key}
1044 0 0 unless length $key
1045 0 0 unless exists $self->[1][0]{$key}
1053 0 0 unless length $key
1054 0 0 unless exists $self->[1][0]{$key}
1062 0 0 unless length $key
1063 0 0 unless exists $self->[1][0]{$key}
1071 0 0 unless length $key
1072 0 0 unless exists $self->[1][0]{$key}
1080 0 0 unless length $key
1081 0 0 unless exists $self->[1][0]{$key}
1089 0 0 unless length $key
1090 0 0 unless exists $self->[1][0]{$key}
1100 0 0 if (@_) { }
1102 0 0 unless exists $self->[1][0]{$key}